public class BindErrorsTag extends HtmlEscapingAwareTag
Errors for the given bean.BindTag,
Errors,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static String |
ERRORS_VARIABLE_NAME |
logger, REQUEST_CONTEXT_PAGE_ATTRIBUTEid, pageContextEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| 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.
|
org.springframework.validation.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, setHtmlEscapedoCatch, doStartTag, getRequestContextdoAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValuepublic static final String ERRORS_VARIABLE_NAME
public void setName(String name)
public String getName()
protected final int doStartTagInternal()
throws ServletException,
JspException
RequestContextAwareTagdoStartTagInternal in class RequestContextAwareTagServletExceptionJspExceptionTagSupport.doStartTag()public int doEndTag()
doEndTag in interface TagdoEndTag in class TagSupportpublic final org.springframework.validation.Errors getErrors()
Intended for cooperating nesting tags.
public void doFinally()
doFinally in interface TryCatchFinallydoFinally in class RequestContextAwareTag