com.acsinet_solutions.cetia4.tags.support
Class LogLoopTagSupport
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.jstl.core.LoopTagSupport
com.acsinet_solutions.cetia4.tags.support.LogLoopTagSupport
- 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
- Direct Known Subclasses:
- AbstractBlockIteratorTag, ForEachIssueTag
public abstract class LogLoopTagSupport
- extends javax.servlet.jsp.jstl.core.LoopTagSupport
Extension of ConditionalTagSupport that includes exception handling, log
handling, and special convenience methods.
- Author:
- Santiago Arriaga
- See Also:
- 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 |
void |
doCatch(java.lang.Throwable throwable)
|
protected Configuration |
getConfiguration()
Shortcut for the application-wide configuration object. |
protected java.util.Locale |
getLocale()
Get the locale configured for the current application. |
protected org.apache.commons.logging.Log |
getLogger()
Return the internal logger |
protected java.lang.String |
getPortalPath()
Get the portal path if configured, or the context path if not. |
protected javax.servlet.http.HttpServletRequest |
getRequest()
Convenience method |
protected javax.servlet.ServletContext |
getServletContext()
Convenience method |
protected javax.servlet.http.HttpSession |
getSession()
Convenience method |
| Methods inherited from class javax.servlet.jsp.jstl.core.LoopTagSupport |
doAfterBody, doFinally, doStartTag, getCurrent, getLoopStatus, hasNext, next, prepare, release, setVar, setVarStatus, validateBegin, validateEnd, validateStep |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doEndTag, 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 |
doEndTag, getParent, setPageContext, setParent |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
doEndTag, getParent, setPageContext, setParent |
LogLoopTagSupport
public LogLoopTagSupport()
doCatch
public void doCatch(java.lang.Throwable throwable)
throws java.lang.Throwable
- Specified by:
doCatch in interface javax.servlet.jsp.tagext.TryCatchFinally- Overrides:
doCatch in class javax.servlet.jsp.jstl.core.LoopTagSupport
- Throws:
java.lang.Throwable
getLocale
protected final java.util.Locale getLocale()
- Get the locale configured for the current application. JSTL locale
configuration is used for this method.
getServletContext
protected final javax.servlet.ServletContext getServletContext()
- Convenience method
getRequest
protected final javax.servlet.http.HttpServletRequest getRequest()
- Convenience method
getSession
protected final javax.servlet.http.HttpSession getSession()
- Convenience method
getLogger
protected final org.apache.commons.logging.Log getLogger()
- Return the internal logger
getPortalPath
protected final java.lang.String getPortalPath()
- Get the portal path if configured, or the context path if not.
- See Also:
ControllerTools.getPortalPath(ServletContext,HttpServletRequest)
getConfiguration
protected final Configuration getConfiguration()
- Shortcut for the application-wide configuration object.