- 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:
Ariel Backenroth
2006-12-18 21:00:55 +00:00
parent 825307c188
commit 6266b8657d
5 changed files with 178 additions and 93 deletions

View File

@@ -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" +