mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
- using percentage widths within the xforms gui - fixes several resize and sizing issues.
- extracting some style information from the xform into a stylesheet - fix the image locations for create/edit form git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4647 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -85,9 +85,16 @@ public class XFormsProcessor
|
||||
final Element div = result.createElement("div");
|
||||
div.setAttribute("id", "alfresco-xforms-ui");
|
||||
result.appendChild(div);
|
||||
|
||||
Element e = result.createElement("link");
|
||||
e.setAttribute("rel", "stylesheet");
|
||||
e.setAttribute("type", "text/css");
|
||||
e.setAttribute("src", cp + "/css/xforms.css");
|
||||
e.appendChild(result.createTextNode("\n"));
|
||||
div.appendChild(e);
|
||||
|
||||
// a script with config information and globals.
|
||||
Element e = result.createElement("script");
|
||||
e = result.createElement("script");
|
||||
e.setAttribute("type", "text/javascript");
|
||||
e.appendChild(result.createTextNode("\ndjConfig = { isDebug: " + LOGGER.isDebugEnabled() +
|
||||
" };\n" +
|
||||
|
Reference in New Issue
Block a user