SourceForge Logo Jargus

About Jsp Tag Library Examples Misc

Tag Library Reference

All JSP tag names where choosen according to HTML tags and serve the same or an extended purpose.

form

Form suites the same purpose as HTML tag form. It represents a validated html form. If validation fails it redirects to itself, if validation passes it redirects to the given target of the action attribute. Handler attribute is a valid class name of a class implementing JspValidationHandler interface.

attribute: method
required: true
desc: HTTP method equal to HTML-form attribute
example: POST, GET

attribute: action
required: true
desc: equivalent to HTML-form attribute
example: www.go-somewhere.com

attribute: handler
required: true
desc: JspValidationListener class name
example: com.someone.validation.MyJspValidationHandler

input

An input tag.

attribute: name required: true

attribute: value
required: false

attribute: type
required: true

check

Validation constraint.

attribute: validation
required: true
example: equal (-> EqualValidator)

message

Messing given from JspValidationHandler

font

Font tag is used to mark labels of failed parameters.

attribute: name
required: true
desc: Parameter name

attribute: color
required: false
desc: Color to mark validated parameters.
example: #000000

attribute: fcolor
required: false
desc: Color to mark failed parameters.

argument

A validation argument

attribute: value
required: true


(c) 2001 Thomas Foertsch - last update Fri Apr 27 16:01:59 CEST 2001