Hi
in FormBuilder, in custom code, in xh:head I add <xh:script src="/forms/orbeon/builder/resources/cell/leaflet.js" type="text/javascript"/> and everything is fine. But when I add <xh:link rel="stylesheet" src="/forms/orbeon/builder/resources/cell/blabla.css" type="text/css" media="all"/> it is ignored (i cant even find it nor any substring from it in firebug). I tried putting .css files in /config, tried editing properties-local.xml.template and nothing. Orbeon just ignores my .css files. Also Orbeon removes every DIV in xh:body that was not created by him, so I had to put DIVs I wanted with functions called onload... |
Regarding custom styles, I had some success using the information found on these pages:
http://wiki.orbeon.com/forms/doc/developer-guide/form-runner/styling#TOC-Writing-your-own-CSS http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-form-runner#TOC-Adding-your-own-CSS-files-Orbeon-Forms-4- It took me a few tries to figure out what was expected of the URI in the properties file. But I was able to test various URIs in the browser until I figured out how the paths are translated. Regarding additional xhtml content, my experiments showed that I needed to add the content as a decendent of <fr:body /> for it to be preserved. Aaron Spike On Thursday, October 16, 2014 11:30:34 AM UTC-5, kzor wrote: Hi This electronic communication, including any attached documents, may contain confidential and/or legally privileged information that is intended only for use by the recipient(s) named above. If you have received this communication in error, please notify the sender immediately and delete the communication and any attachments. Views expressed by the author do not necessarily represent those of Martin Luther College. -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Free forum by Nabble | Edit this page |