com.liferay.taglib.ui
Class ErrorTag
java.lang.Object
com.liferay.taglib.TagSupport
com.liferay.taglib.BaseBodyTagSupport
com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl
com.liferay.taglib.util.AttributesTagSupport
com.liferay.taglib.util.IncludeTag
com.liferay.taglib.ui.ErrorTag
- All Implemented Interfaces:
- ParamAncestorTag, PropertyAncestorTag, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.DynamicAttributes, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class ErrorTag
- extends IncludeTag
- implements javax.servlet.jsp.tagext.BodyTag
| Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
| 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 |
| Methods inherited from class com.liferay.taglib.util.IncludeTag |
callSetAttributes, cleanUpSetAttributes, doClearTag, doEndTag, doInclude, doIncludeTheme, getBodyContentWrapper, getCustomPage, getEndPage, getOriginalServletRequest, getStartPage, include, includePage, isCleanUpSetAttributes, isPortalPage, isUseCustomPage, logUnavailablePage, processEndTag, runTag, setPage, setPortletId, setStrict, setUseCustomPage, themeResourceExists |
| Methods inherited from class com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl |
addParam, addProperty, clearParams, clearProperties, getParams, getProperties, getRemovedParameterNames, isAllowEmptyParam, setAllowEmptyParam, setCopyCurrentRenderParameters, setPageContext, setServletContext |
| 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.BodyTag |
doInitBody, setBodyContent |
| Methods inherited from interface javax.servlet.jsp.tagext.IterationTag |
doAfterBody |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
doEndTag, getParent, release, setPageContext, setParent |
ErrorTag
public ErrorTag()
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag- Overrides:
doStartTag in class IncludeTag
- Throws:
javax.servlet.jsp.JspException
setException
public void setException(Class<?> exception)
setFocusField
public void setFocusField(String focusField)
setKey
public void setKey(String key)
setMessage
public void setMessage(String message)
setRowBreak
public void setRowBreak(String rowBreak)
setTranslateMessage
public void setTranslateMessage(boolean translateMessage)
cleanUp
protected void cleanUp()
- Overrides:
cleanUp in class IncludeTag
getException
protected Object getException(PortletRequest portletRequest)
getPage
protected String getPage()
- Overrides:
getPage in class IncludeTag
processStartTag
protected int processStartTag()
throws Exception
- Overrides:
processStartTag in class IncludeTag
- Throws:
Exception
setAttributes
protected void setAttributes(javax.servlet.http.HttpServletRequest request)
- Overrides:
setAttributes in class IncludeTag