This post was updated on .
Hi,
I am using orbeon form 4.7 version and embedded to form to my java application. Also use with oracle database instead of the default one. I have followed to http://wiki.orbeon.com/forms/how-to/logic/load-initial-form-data and write the following code : request.setAttribute("my-user-data", myDataAsXML) <xf:insert ev:event="xforms-model-construct-done" nodeset="instance('user-data')" origin="xxf:get-request-attribute('my-user-data')"/> But it is still not work. What ways I should do or anything I missed ? |
Hi Eddie, Are you able to use the XForms Debugger and/or watch the server log? o The nodeset attribute could be "missing its target" o The myDataAsXML is improperly formed. And just to be sure, you are trying to integrate to your own Java class -- I've done this a while ago, ideally you never need to or you can put your code into something like a micro service and let JAXB or Spring handle the mapping to XML.. Oh, and did you enable the XForms filter in your web.xml? Cheers, Hank On Wed, Sep 23, 2015 at 12:57 AM, Eddie <[hidden email]> wrote: Hi, Hank Ratzesberger
XMLWerks.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 post to this group, send email to [hidden email]. |
In reply to this post by Eddie
Somebody should fix the broken links to "Run this example in the XForms Sandbox" on the wiki page referenced below.
|
Administrator
|
Daniel,
Wow, that is an old page. But I just updated the link; thank you for letting us know. Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |