bloritsch 01/07/20 08:22:58
Modified: xdocs logicsheet-forms.xml
Log:
update documentation to reflect new way of checking form validation.
Revision Changes Path
1.6 +12 -1 xml-cocoon2/xdocs/logicsheet-forms.xml
Index: logicsheet-forms.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/xdocs/logicsheet-forms.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- logicsheet-forms.xml 2001/07/19 14:20:23 1.5
+++ logicsheet-forms.xml 2001/07/20 15:22:58 1.6
@@ -100,8 +100,19 @@
usual.
</p>
<p>
- If only interested in validation results, just
+ If only interested in validation results, just:
</p>
+ <source>
+<![CDATA[
+ <xsp-formval:on-ok name="persons">
+ <myapp:error>(ERROR)</myapp:error>
+ </xsp-formval:on-ok>
+]]>
+ </source>
+ <p>
+ Alternatively, if you just want a boolean value from the logicsheet
+ if a test is successful, use this method:
+ </p>
<source>
<![CDATA[
<xsp:logic>
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]