com.liferay.taglib.util
Class IncludeTag
java.lang.Object
com.liferay.portal.kernel.servlet.taglib.TagSupport
com.liferay.portal.kernel.servlet.taglib.BaseBodyTagSupport
com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl
com.liferay.taglib.util.AttributesTagSupport
com.liferay.taglib.util.IncludeTag
- All Implemented Interfaces:
- ParamAncestorTag, PropertyAncestorTag, javax.servlet.jsp.tagext.DynamicAttributes, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
- Direct Known Subclasses:
- AssetCategoriesErrorTag, AssetCategoriesNavigationTag, AssetCategoriesSelectorTag, AssetCategoriesSummaryTag, AssetLinksTag, AssetTagsErrorTag, AssetTagsNavigationTag, AssetTagsSelectorTag, AssetTagsSummaryTag, BaseATag, BaseButtonItemTag, BaseButtonRowTag, BaseButtonTag, BaseColumnTag, BaseComponentTag, BaseFieldsetTag, BaseFieldWrapperTag, BaseFormTag, BaseInputTag, BaseLayoutTag, BaseModelContextTag, BaseOptionTag, BasePanelTag, BaseSelectTag, BaseWorkflowStatusTag, BreadcrumbTag, CalendarTag, CaptchaTag, CategorizationFilterTag, CustomAttributeListTag, CustomAttributeTag, DiffHtmlTag, DiffTag, DiscussionTag, ErrorMarkerTag, FlagsTag, FlashTag, FormNavigatorTag, HeaderTag, IconTag, IncludeTag, InputCheckBoxTag, InputDateTag, InputEditorTag, InputFieldTag, InputLocalizedTag, InputMoveBoxesTag, InputPermissionsTag, InputRepeatTag, InputResourceTag, InputSchedulerTag, InputSelectTag, InputTextAreaTag, InputTimeTag, InputTimeZoneTag, JournalArticleTag, JournalContentSearchTag, LanguageTag, LayoutIconTag, LogoSelectorTag, MetaTagsTag, MySitesTag, NavigationTag, PageIteratorTag, PanelTag, PngImageTag, PreviewTag, RatingsScoreTag, RatingsTag, SearchFormTag, SearchTag, SearchToggleTag, SectionTag, SocialActivitiesTag, SocialBookmarksTag, SocialBookmarkTag, StagingTag, SuccessTag, TabsTag, ToggleAreaTag, ToggleTag, UploadProgressTag, UserSearchTag, WebDAVTag, WriteTag
public class IncludeTag
- extends AttributesTagSupport
- Author:
- Brian Wing Shun Chan, Shuyang Zhou, Eduardo Lundgren, Raymond Augé
| Fields inherited from class com.liferay.portal.kernel.servlet.taglib.BaseBodyTagSupport |
bodyContent |
| Fields inherited from class com.liferay.portal.kernel.servlet.taglib.TagSupport |
pageContext |
| 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.AttributesTagSupport |
clearDynamicAttributes, getAttributeNamespace, getCustomAttributes, getDynamicAttribute, getDynamicAttributes, getNamespacedAttribute, getScopedAttribute, getScopedAttributes, setAttributeNamespace, setCustomAttributes, setDynamicAttribute, setNamespacedAttribute, setScopedAttribute, writeDynamicAttributes |
| Methods inherited from class com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl |
addParam, addProperty, clearParams, clearProperties, getParams, getProperties, getRemovedParameterNames, getServletRequest, getServletResponse, isAllowEmptyParam, setAllowEmptyParam, setServletContext |
| Methods inherited from class com.liferay.portal.kernel.servlet.taglib.BaseBodyTagSupport |
doAfterBody, doInitBody, getBodyContent, getBodyContentAsStringBundler, release, setBodyContent, writeBodyContent |
| Methods inherited from class com.liferay.portal.kernel.servlet.taglib.TagSupport |
findAncestorWithClass, getParent, setPageContext, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IncludeTag
public IncludeTag()
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag- Overrides:
doEndTag in class com.liferay.portal.kernel.servlet.taglib.TagSupport
- Throws:
javax.servlet.jsp.JspException
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag- Overrides:
doStartTag in class com.liferay.portal.kernel.servlet.taglib.BaseBodyTagSupport
- Throws:
javax.servlet.jsp.JspException
getServletContext
public javax.servlet.ServletContext getServletContext()
- Overrides:
getServletContext in class ParamAndPropertyAncestorTagImpl
runEndTag
public void runEndTag()
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException
runStartTag
public void runStartTag()
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException
runTag
public void runTag()
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException
setPage
public void setPage(java.lang.String page)
setPortletId
public void setPortletId(java.lang.String portletId)
setStrict
public void setStrict(boolean strict)
setUseCustomPage
public void setUseCustomPage(boolean useCustomPage)
callSetAttributes
protected void callSetAttributes()
cleanUp
protected void cleanUp()
cleanUpSetAttributes
protected void cleanUpSetAttributes()
doInclude
protected void doInclude(java.lang.String page)
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException
doIncludeTheme
protected void doIncludeTheme(java.lang.String page)
throws java.lang.Exception
- Throws:
java.lang.Exception
getCustomPage
protected java.lang.String getCustomPage(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request)
getEndPage
protected java.lang.String getEndPage()
getPage
protected java.lang.String getPage()
getStartPage
protected java.lang.String getStartPage()
include
protected void include(java.lang.String page)
throws java.lang.Exception
- Throws:
java.lang.Exception
isCleanUpSetAttributes
protected boolean isCleanUpSetAttributes()
isTrimNewLines
protected boolean isTrimNewLines()
isUseCustomPage
protected boolean isUseCustomPage()
processEndTag
protected int processEndTag()
throws java.lang.Exception
- Throws:
java.lang.Exception
processStartTag
protected int processStartTag()
throws java.lang.Exception
- Throws:
java.lang.Exception
setAttributes
protected void setAttributes(javax.servlet.http.HttpServletRequest request)
setCalledSetAttributes
protected void setCalledSetAttributes(boolean calledSetAttributes)
themeResourceExists
protected boolean themeResourceExists(java.lang.String page)
throws java.lang.Exception
- Throws:
java.lang.Exception