Skip to content

Commit

Permalink
added see also to warnings
Browse files Browse the repository at this point in the history
added clear all errors example
move erorr titles to the correct place
  • Loading branch information
racke committed Mar 14, 2008
1 parent 795bbed commit 37bceae
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions refs/error.tag
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ $Vend::Session-gt;{errors};
-->
__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).
Expand All @@ -408,20 +408,24 @@ not show up on subsequent page accesses).
]]></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__

0 comments on commit 37bceae

Please sign in to comment.