Matthew J. Graham wrote:
When the result of result/knownUID is true then I want to stay on the current page (register) but have input/message (the output from register-mode.xpl) updated to "knownUID" so that the register-view.xsl can act accordingly.
Ok, I think I understand :). You would like to be able to update the output of the model (/input/message) based on the output of the action (/result/knownUID).
You cannot do this with XUpdate in the page flow. The XUpdate you have in the page flow updates the instance, and is executed before the model (register-model.xpl). So you should:
1) Update the instance with XUpdate in the page flow:
a) Add an element /form/message
b) Add in your page flow:
<result when="/result/knownUIS = 'true'">
<xu:update select="/form/message">Known UIS</xu:update>
</result>
2) Either:
i) In register-model.xpl use the content of /form/message from
the instance to populate /input/message.
Or:
ii) Directly in the view reference /form/message with an
<xforms:output> or in XSLT with
doc('oxf:instance')/form/message, instead of using
/input/message from the model output.Alex
------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ orbeon-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/orbeon-user
