[interchange-docs] xmldocs - racke modified refs/error.tag
docs at icdevgroup.org
docs at icdevgroup.org
Fri Mar 14 09:13:34 EST 2008
User: racke
Date: 2008-03-14 14:13:34 GMT
Modified: refs error.tag
Log:
added see also to warnings
added clear all errors example
move erorr titles to the correct place
Revision Changes Path
1.9 +10 -6 xmldocs/refs/error.tag
rev 1.9, prev_rev 1.8
Index: error.tag
===================================================================
RCS file: /var/cvs/xmldocs/refs/error.tag,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- error.tag 16 Nov 2007 14:38:41 -0000 1.8
+++ error.tag 14 Mar 2008 14:13:33 -0000 1.9
@@ -397,7 +397,7 @@
-->
__END__
-__NAME__ example: the most simple error display
+__NAME__ example: Automatic error display
The following will simply display all accumulated session errors.
(Note that after display, session errors will be cleared and will
not show up on subsequent page accesses).
@@ -408,20 +408,24 @@
]]></programlisting>
__END__
-__NAME__ example
-Trigger an error:
+__NAME__ example: Trigger an error
<programlisting>
[error name="email" set="Invalid email address"]
</programlisting>
__END__
-__NAME__ example
-Show all errors:
+__NAME__ example: Show all errors
<programlisting>
[error all=1 show_error=1]
</programlisting>
__END__
+__NAME__ example: Clear all errors
+<programlisting>
+[tmp clear_errors][error all=1 comment="Clear errors"][/tmp]
+</programlisting>
+__END__
+
__NAME__ see also
-CSS_CONTRAST, MV_ERROR_STD_LABEL
+warnings, CSS_CONTRAST, MV_ERROR_STD_LABEL
__END__
More information about the docs
mailing list