I am trying to migrate an application from ops2.8 to ops3.6, in the old version i had the following case :
<page id="pageTest" path-info="/Test1/" xforms="oxf:/apps/application1/xforms-dynamique.xpl" model="oxf:/apps/application1/model.xpl" view="oxf:/apps/application1/view.xsl"> <action when="..." action="action.xpl"> ... </action> </page> with the new engine, we must put the Xforms in the view page, but i don't see how can I respect this in my case, i tried to replace xforms by model, and in the view under the <xforms:model ..> i put <xforms:instance src="input:data" /> ( data is the output of the dynamic xforms), it works, but the problem that i have another model (model.xpl) - Can i have two models in the same page ? if not how can i solve this problem ? -- ZENOUAKI Rachid Ingénieur d'Etat EHTP 2008 Archos-conseil (Groupe ONA) Tel : +21270518582 -- 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 |
Administrator
|
> I am trying to migrate an application from ops2.8 to ops3.6, in
In your old app, the unique XForms model was produced dynamically it
> the old version i had the following case : > > <page id="pageTest" > path-info="/Test1/" > xforms="oxf:/apps/application1/xforms-dynamique.xpl" > model="oxf:/apps/application1/model.xpl" > view="oxf:/apps/application1/view.xsl"> > <action when="..." action="action.xpl"> > ... > </action> > </page> > > with the new engine, we must put the Xforms in the view page, but i > don't see how can I respect this in my case, i tried > > to replace xforms by model, and in the view under the > <xforms:model ..> i put <xforms:instance src="input:data" /> ( data > is the output of the dynamic xforms), seems. In the new app, if you still need to produce this dynamically, you will have to do it either in the page model or page view. > > it works, but the problem that i have another model (model.xpl) > > - Can i have two models in the same page ? if not how can i solve > this problem ? Yes, as many models and instances as you want. -Erik -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- 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 |
Free forum by Nabble | Edit this page |