Hi,
In my page flow, I have:
<page id="register" path-info="/publish/register" model="publish/register-model.xpl" xforms="publish/register-xforms-model.xml" view="publish/register-view.xsl">
<action when="/form/action = 'register' and not(/form/document//@*[local-name() = 'valid'] = 'false')" action="publish/register-user.xpl">
<result page="publish" when="/result/knownUID = 'false'">
<xu:update select="/form/user">
<xu:value-of select="document('oxf:instance')//uid"/>
</xu:update>
<xu:update select="/form/password">
<xu:value-of select="document('oxf:instance')//password"/>
</xu:update>
<xu:update select="/form/affiliation">
<xu:value-of select="document('oxf:action')//affiliation"/>
</xu:update>
</result>
*** <result when="/result/knownUID = 'true'"/>
</action>
<action when="/form/action = 'register' and /form/document//@*[local-name() = 'valid'] = 'false'">
<result>
<xu:update select="/form/show-errors">true</xu:update>
<xu:remove select="/form/organisation"/>
</result>
</action>
</page>
So the input for the form (from register-model.xpl) is:
<input> <message/> <organisation>... </input>
Now what I want to do is add a value to message in the asterisked section, i.e. something like:
<result when="/result/knownUID = 'true'"> <xu:update select="/input/message">Known UID</xu:update> </result>
However, when I try this it does nothing. I realise that this might actually change the field in the xml output by the form but it seems that when there is a model, xforms and view, <xsl:value-of select="> statements in the view only apply to things in the model.
Cheers,
Matthew
------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ orbeon-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/orbeon-user
