Form builder forms loaded from disk

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Form builder forms loaded from disk

Jarosław Kowalewski
Hi,
Here I found info that 

but it is possible to run it from disk when form definition is places in the directory
\WEB-INF\resources\forms\appname\formname\form\form.xhtml and forms work. 

Is it any chance that the same can be possible to run from /apps/appname and view.xpl ?  I would like to run the form the same way as e.g. xforms-espresso example. 
Simple test case: replace the content of espresso-order.xhtml by the definition from FB. 
In FB I have
image.png
but when I run it via view.xpl
image.png
XBL components are not interpreted. Can I say to Orbeon - process such fila via form runner? Or maybe it is possible to reconfigure source directory?  

//Jarek

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/CAHFpwcVny2nfvHRFBwVM_SsPcaMhaMug8gD5AumHqNZtOWek9A%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Form builder forms loaded from disk

Alessandro  Vernet
Administrator
Hi Jarek,

You can put your form definition created with Form Builder in the resources
under `forms/$app/$form/form/form.xhtml`, and tell Form Runner to use the
`resource` persistence to load that form:

<property as="xs:string" name="oxf.fr.persistence.provider.$app.$form.form"
value="resource"/>

The thing is that the `resource` persistence is read-only (see RFE #2515),
so you can't edit the form in Form Builder.

https://github.com/orbeon/orbeon-forms/issues/2515

You'll let me know if this works for you, if I somehow misunderstood your
question.

-Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1612933924779-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet