Hi,
i'm stuck again with a trivial task: how to pass the XML output of an action (XPL Pipeline) to a XHTML XForm Page?
If i open the XHTML page containing the XForm instance and controls directly using the default-submission attribute and an XInclude of href="input:instance", everything works fine:
page-flow.xml containing:
<page id="detail2" path-info="/dokdb/detail2" default-submission="example-instance.xml" view="detail/detail-view2.xhtml"/>
detail-view2.xhtml containing:
<xforms:model>
<xforms:instance id="main-instance">
<xi:include href="input:instance"/>
</xforms:instance>
</xforms:model>
Now, the submitted XML Instance should be result from a DB Query. So i modified the BizDoc example and get the queried XML File as output of the XPL Pipeline:
<page id="summary" path-info="/" model="summary/summary-model.xpl" view="summary/summary-view.xhtml">
<action when="/form/action = 'show-detail'" action="summary/find-document-action.xpl">
<result page="detail2" />
</action>
</page>
The find-document-action.xpl Pipeline delivers the queried File as its output (checked with debug statement). But the detail2 page (now defined without default-submission, of course) seems to recieve nothing (is there a way to trace the XForms Instances?).
In the Examples, the result contains some XInclude or XUpdate to pass XML data to the result page. But i don't need to modify the action output. I tried some xinclude an xslt to "forward" the action output, but nothing worked. How can i simply pass the action output to the result page?
Thank you in advance
Florian
--
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
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws