Hi, just wanted to provide some further info about using XUpdate in
controller files...it's quite elegant.
The following in the masterController works just fine:
<action id="PADL" when="/XFormsInstance/UserAction = 'PADL'">
<result page="PADLAdminID">
<xu:update select="/form/relyingAppID">
<xu:value-of
select="document('#instance')/XFormsInstance/DataModel/relyingAppName"/>
</xu:update>
</result>
</action>
The defined XForms instance of the page with id "PADLAdminID" is updated
with a value - that is, /form/relyingAppID in the destination instance
is updated with the value of the expression document('#instance')/...
from the current page's populated instance.
If the page id "PADLAdminID" referred to a page declaration with a model
that switches to another controller, that page declaration would also
need to include the xforms instance definition...
-bob
Center for Document Engineering, UC Berkeley
_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users