Posted by
Erik Bruchez-3 on
URL: https://discuss.orbeon.com/How-to-move-from-Building-in-Form-Builder-to-handcoding-with-Form-Runner-tp932144p932682.html
Michael,
Answers below:
> 1) Can Form Runner support elements that are not present in Form Builder,
> such as a table
Yes, Form Runner basically decorates the form created by Form Builder
with its own elements. After that, the form goes through the XForms
engine as usual, and everything supported by the XForms engine should
work.
> , or a grid with more than 4 elements horizontally?
You can do that, although there might be a bit of CSS to adjust as our
CSS only supports up to 4 columns.
> 2) If Form Runner can do this, how can I move from building my form in Form
> Builder to editing, testing and running it manually? What I need to do
> requires more work than I can do by clicking the Advanced->Edit Source
> button and tweaking details. I have read the
>
http://wiki.orbeon.com/forms/doc/contributor-guide/form-builder-integration-notes> Integration Notes and Persistence Layer page several times, but have not
> been able to work out what I need to do to test my form outside of the
> Builder context.
This is actually pretty easy:
* under your RESOURCES directory, create subdirectories
forms/APP_NAME/FORM_NAME/form
* store your form under RESOURCES/forms/APP_NAME/FORM_NAME/form/form.xhtml
* in your properties-local.xml file, add:
<property as="xs:anyURI"
name="oxf.fr.persistence.app.uri.APP_NAME.FORM_NAME.form"
value="/fr/service/resource"/>
Of course replace APP_NAME and FORM_NAME appropriately.
The form should then be read from that location on disk instead of
from the database.
-Erik
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws