dbforms
Tag errors


Custom tag that renders error messages if an appropriate request attributehas been created.

Example:
renders errors stored in request


Tag Information
Tag Classorg.dbforms.taglib.ErrorsTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
captionfalsetruejava.lang.String caption of the error-list default = "Error:"
namefalsetruejava.lang.String the name that should be used for retrieving the error-data from the session default = "errors"
messagePrefixfalsetruejava.lang.String Note: DbForms v1.0 no longer appends Exception messages together. Therefore the exception message you input is the only text contained in the message. Hence, no need for message Prefix anymore. The user may define a messagePrefix attribute to specify a delimiter. If defined, only the exception message after the delimeter iswritten out. This can be used to produce a user interface with nice, clean output. If the error tag does not contain a value formessagePrefix, the tag works as normal (prints out the exception information)

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.