JSPTag

The tag element defines an action in this tag library. The tag element has one attribute, id.The tag element may have several subelements defining:name -- The unique action nametag-class -- The tag handler class implementing javax.servlet.jsp.tagext.Tagtei-class -- An optional subclass of javax.servlet.jsp.tagext.TagExtraInfobody-content -- The body content typedisplay-name -- A short name that is intended to be displayed by toolssmall-icon -- Optional small-icon that can be used by toolslarge-icon -- Optional large-icon that can be used by toolsdescription -- Optional tag-specific informationvariable -- Optional scripting variable informationattribute -- All attributes of this actionexample -- Optional informal description of an example of a use of this action.



Attributes Summary
bodyContent : BodyContentTypeProvides a hint as to the content of the body of this tag.
example : StringThe example element provides an informal description of an example of the use of a tag.
attributes : JSPTagAttribute *  
variables : JSPVariable * The variable element provides information on the scripting variables defined by this tag.
tagClass : JavaClass@ The tag-class element indicates the subclass of javax.
teiClass : JavaClass@ The tei-class element indicates the subclass of javax.

Attribute Details

bodyContent    -    Provides a hint as to the content of the body of this tag. Primarily intended for use by page composition tools.There are currently three values specified:tagdependent - The body of the tag is interpreted by the tag implementation itself, and is most likely in a different "langage", e.g embedded SQL statements.JSP - The body of the tag contains nested JSP syntaxempty - The body must be emptyThe default (if not defined) is JSP#PCDATA ::= tagdependent | JSP | empty
     data type: BodyContentType
     default Value:   unspecified
     Allowed Values:  empty   JSP   tagdependent  



example    -    The example element provides an informal description of an example of the use of a tag.
     data type:  String
     default Value:   unspecified



attributes    -     
     data type: JSPTagAttribute*



variables    -    The variable element provides information on the scripting variables defined by this tag.It is a (translation time) error for an action that has one or more variable subelements to have a TagExtraInfo class that returns a non-null object.The subelements of variable are of the form:name-given -- The variable name as a constantname-from-attribute -- The name of an attribute whose (translation time) value will give the name of the variable. One of name-given or namefrom-attribute is required.variable-class -- Name of the class of the variable. java.lang.String is default.declare -- Whether the variable is declared or not. True is the default.scope -- The scope of the scripting variable defined. NESTED is default.
     data type: JSPVariable*



tagClass    -    The tag-class element indicates the subclass of javax.serlvet.jsp.tagext.Tag that implements the request time semantics for this tag. This element is required.@regexp fully qualified Java class name
     data type: JavaClass@



teiClass    -    The tei-class element indicates the subclass of javax.servlet.jsp.tagext.TagExtraInfo for this tag. The class is instantiated at translation time. This element is optional.@regexp fully qualified Java class name
     data type: JavaClass@


Copyright IBM Corp. 1996-2002