public class BindErrorsTag extends HtmlEscapingAwareTag
Errors
for the given bean.BindTag
,
Errors
,
Serialized FormModifier and Type | Field and Description |
---|---|
static String |
ERRORS_VARIABLE_NAME |
logger, REQUEST_CONTEXT_PAGE_ATTRIBUTE
Constructor and Description |
---|
BindErrorsTag() |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag() |
void |
doFinally() |
protected int |
doStartTagInternal()
Called by doStartTag to perform the actual work.
|
Errors |
getErrors()
Retrieve the Errors instance that this tag is currently bound to.
|
String |
getName()
Return the name of the bean that this tag checks.
|
void |
setName(String name)
Set the name of the bean that this tag should check.
|
isDefaultHtmlEscape, isHtmlEscape, setHtmlEscape
doCatch, doStartTag, getRequestContext
public static final String ERRORS_VARIABLE_NAME
public void setName(String name)
public String getName()
protected final int doStartTagInternal() throws javax.servlet.ServletException, javax.servlet.jsp.JspException
RequestContextAwareTag
doStartTagInternal
in class RequestContextAwareTag
javax.servlet.ServletException
javax.servlet.jsp.JspException
TagSupport.doStartTag()
public int doEndTag()
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
public final Errors getErrors()
Intended for cooperating nesting tags.
public void doFinally()
doFinally
in interface javax.servlet.jsp.tagext.TryCatchFinally
doFinally
in class RequestContextAwareTag
Copyright © 2015. All rights reserved.