com.acsinet_solutions.cetia4.tags
Class ForEachIssueTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.jstl.core.LoopTagSupport
com.acsinet_solutions.cetia4.tags.support.LogLoopTagSupport
com.acsinet_solutions.cetia4.tags.ForEachIssueTag
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.jstl.core.LoopTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally
public final class ForEachIssueTag
- extends LogLoopTagSupport
Iteration of issues for validation exception objects. Message interpretation
is done using validation bundle configured at WEB-XML using the key
- Author:
- Santiago Arriaga
- See Also:
ValidationException,
ValidationIssue,
ValidationIssueHolder,
AttributeKeys._VALIDATION_EXCEPTION_KEY,
Configuration.VALIDATION_BUNDLE_PARAM,
Serialized Form
| Fields inherited from class javax.servlet.jsp.jstl.core.LoopTagSupport |
begin, beginSpecified, end, endSpecified, itemId, statusId, step, stepSpecified |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
|
Method Summary |
int |
doEndTag()
Free resources |
protected boolean |
hasNext()
|
protected java.lang.Object |
next()
|
protected void |
prepare()
|
void |
setException(java.lang.String name)
Set the exception attribute to iterate. |
| Methods inherited from class javax.servlet.jsp.jstl.core.LoopTagSupport |
doAfterBody, doFinally, doStartTag, getCurrent, getLoopStatus, release, setVar, setVarStatus, validateBegin, validateEnd, validateStep |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
ForEachIssueTag
public ForEachIssueTag()
setException
public void setException(java.lang.String name)
throws javax.servlet.jsp.JspException
- Set the exception attribute to iterate. If this method is not called
the _VALIDATION_EXCEPTION_KEY is used.
- Throws:
javax.servlet.jsp.JspException
prepare
protected final void prepare()
throws javax.servlet.jsp.JspTagException
- Specified by:
prepare in class javax.servlet.jsp.jstl.core.LoopTagSupport
- Throws:
javax.servlet.jsp.JspTagException
next
protected final java.lang.Object next()
throws javax.servlet.jsp.JspTagException
- Specified by:
next in class javax.servlet.jsp.jstl.core.LoopTagSupport
- Throws:
javax.servlet.jsp.JspTagException
hasNext
protected final boolean hasNext()
throws javax.servlet.jsp.JspTagException
- Specified by:
hasNext in class javax.servlet.jsp.jstl.core.LoopTagSupport
- Throws:
javax.servlet.jsp.JspTagException
doEndTag
public final int doEndTag()
throws javax.servlet.jsp.JspException
- Free resources
- Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag- Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException