Hi Eric,
Eric van der Vlist wrote:
Great. Will its caching be gentle enough?
I'll add a unit test to make sure it is the case!
In the meantime, you can use an XPL file as the model:
<page id="..." path-info="..." model="oxf:/model.xpl"/>
The pipeline model.xpl is executed to generate a dynamic model. As a shortcut, you can also use an XSL file directly.
Yes, that's what I meant!
Well, I meant <page xforms="xforms.xpl">, not model as in my previous answer. I gather you were able to correct that ;)
I'm still not sure why you need to save the instance in a file. You have to be careful with the file serializer as there might be concurrency issues if used under high load (file corruption comes to mind). Are you using that a flat file as a poor's man database?
Julien
I am using:
<page path-info=".*/xform" matcher="oxf:perl5-matcher" model="instance.xpl" xforms="form.xpl" view="view-form.xsl"/>
where "instance.xpl" takes care of saving the instance and form.xpl copies the instance into the xforms:instance element.
And, following your idea, that's working fine if I use a XSLT transformation to create the form:
<page path-info=".*/xform" matcher="oxf:perl5-matcher" model="instance.xpl" xforms="form.xsl" view="view-form.xsl"/>
Thanks,
Eric
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user
