|
Hi All, I am processing an XML instance via xforms.
The XML instance does not know of the forms/admin process in which it is being
edited. The examples of processing a form that I have studied use an
<action when=”/form/element = ‘some value’”> to
test the current action being performed and then supply the appropriate result
pages. In this case the XML instance contains an element to signal processing
instructions. My example below:
<page id="self-serve/app-admin"
path-info="/self-serve/app-admin" xforms="oxf:/self-serve/app-admin/xform-model.xpl"
view="oxf:/self-serve/app-admin/xform-view.xsl"> <action
id="next" when="/wbconfig/message =
'preview'"> <result
id="valid" page="self-serve/preview"> <xu:update select="/" xmlns:xu="http://www.xmldb.org/xupdate"> <xu:copy-of
select="document('#instance')/*"/> </xu:update> </result>
</action> </page> In this example I test the value of “/wbconfig/message” in the action to determine the result.
Is their any other way to determine if I am processing the initial load of a
form or the form submit without altering the XML instance? Thanks,
|
<<image001.gif>>
_______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
