Hi there,
I am wondering if there is a missing case of xforms use in the WAC..
What I want to do is:
instance
model (modify instance)
instance
view (use instance in xsl to generate xforms:elements)
epilogue
The counters example is close..
However I would like the view in the counters example to be xsl and recieve
the
instance as input..
<page path-info="/" xforms="xforms.xml" model="model.xpl"
view="view.xsl" />
Possibly I can make the view an xpl and export the modified instance on both
the 'data' and 'instance' outputs in the model.xpl. But I would prefer the
view to be xsl and be able to drop <output name="data"/> from the model.xpl
and have the WAC pass the 'instance' to the view input instead of 'data'??
ie. if ('data' output is available on model) then
pass 'data' to view
else
pass 'instance' to view
<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline">
<p:param type="input" name="instance"/>
<!--p:param type="output" name="data"/-->
<p:param type="output" name="instance"/>
In effect this use case would be a combination of:
6.3 View Only with XForms
and
6.7 View and Model with XForms, Case 2
What do you think?? Or maybe I can already do this and I should have tried
it first? ;-)
Regards,
Damon.
_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users