xforms:revalidateAdded by IBM on October 10, 2012 | Version 1 (Original)
|Causes the forms viewing application to validate all instance data in a particular model, ensuring that all validation checks have been performed.
In general, the XForms processor automatically runs this action when required. As such, this action is included simply for completeness.
Table 1. revalidate parameters
<xforms:revalidate event model="model"/>
|event||string||The XForms event that triggers the action.|
|model||string||The ID of the model to re-validate. If the model attribute is omitted, then the default model is used.|
Example The following button re-validates model X when clicked:
<xforms:revalidate ev:event="DOMActivate" model="X"/>
- This feature is most likely to be used on scaled-down XForms processors, in which the implicit rebuild-recalculate-revalidate-refresh sequence is not implemented because of limited resources. In this case, explicit requests for these actions may force an exchange with a server.