java.lang.Object | ||||
↳ | TagSupport | |||
↳ | org.springframework.web.servlet.tags.RequestContextAwareTag | |||
↳ | org.springframework.web.servlet.tags.HtmlEscapingAwareTag | |||
↳ | org.springframework.web.servlet.tags.form.AbstractFormTag |
Known Direct Subclasses |
Base class for all JSP form tags. Provides utility methods for
null-safe EL evaluation and for accessing and working with a TagWriter
.
Subclasses should implement the writeTagContent(TagWriter)
to perform
actual tag rendering.
Subclasses (or test classes) can override the createTagWriter()
method to
redirect output to a Writer
other than the javax.servlet.jsp.JspWriter
associated with the current javax.servlet.jsp.PageContext.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class org.springframework.web.servlet.tags.RequestContextAwareTag |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class org.springframework.web.servlet.tags.RequestContextAwareTag |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create the
TagWriter which all output will be written to. | |||||||||||
Provide a simple template method that calls
createTagWriter() and passes
the created TagWriter to the writeTagContent(TagWriter) method. | |||||||||||
Evaluate the supplied value for the supplied attribute name.
| |||||||||||
Evaluate the supplied value for the supplied attribute name.
| |||||||||||
Get the display value of the supplied
Object , HTML escaped
as required. | |||||||||||
Get the display value of the supplied
Object , HTML escaped
as required. | |||||||||||
Overridden to default to
true in case of no explicit default given. | |||||||||||
Optionally writes the supplied value under the supplied attribute name into the supplied
TagWriter . | |||||||||||
Subclasses should implement this method to perform tag content rendering.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class org.springframework.web.servlet.tags.HtmlEscapingAwareTag | |||||||||||
From class org.springframework.web.servlet.tags.RequestContextAwareTag | |||||||||||
From class
java.lang.Object
|
Provide a simple template method that calls createTagWriter()
and passes
the created TagWriter
to the writeTagContent(TagWriter)
method.
writeTagContent(TagWriter)
Exception |
---|
Evaluate the supplied value for the supplied attribute name. If the supplied value
is null
then null
is returned, otherwise evaluation is
handled using ExpressionEvaluationUtils#evaluate(String, String, javax.servlet.jsp.PageContext).
JspException |
---|
Evaluate the supplied value for the supplied attribute name. If the supplied value
is null
then false
is returned, otherwise evaluation is
handled using ExpressionEvaluationUtils#evaluate(String, String, javax.servlet.jsp.PageContext),
with subsequent matching against Boolean.TRUE
and Boolean.valueOf
.
JspException |
---|
Get the display value of the supplied Object
, HTML escaped
as required. If the supplied value is not a String
and the supplied
PropertyEditor
is not null then the PropertyEditor
is used
to obtain the display value.
Get the display value of the supplied Object
, HTML escaped
as required. This version is not PropertyEditor
-aware.
Overridden to default to true
in case of no explicit default given.
Optionally writes the supplied value under the supplied attribute name into the supplied
TagWriter
. In this case, the supplied value is evaluated
first
and then the String representation
is written as the
attribute value. If the resultant String
representation is null
or empty, no attribute is written.
JspException |
---|
Subclasses should implement this method to perform tag content rendering.
JspException |
---|