[EMAIL PROTECTED] wrote:

When a pipeline has both instance and data output the instance does not get passed over to the view xsl. Can somebody give me some clues ?


<p:param name="instance" type="input"/>
<p:param name="data" type="output"/> <p:param name="instance" type="output"/>


If I take the data output out my modified instance gets passed over correctly.

How are you accessing the instance from the view XSLT? You should use doc('oxf:instance') or document('oxf:instance') or with post-2.6, doc('input:instance') or document('input:instance').


Your issue is probably due to the fact that if the "data" output is missing from the model, we connect the "instance" output to the main input of the view XSLT. This is confusing and we are currently discussing a solution. But the good news is that if you use doc('oxf:instance') or document('oxf:instance') in the view XSLT, you always explicitly access the instance document, so this is the recommended way of accessing it.

-Erik


-------------------------------------------------------
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

Reply via email to