com.liferay.taglib.util
Class IncludeTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.liferay.portal.kernel.servlet.taglib.BaseBodyTagSupport
com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl
com.liferay.taglib.util.IncludeTag
- All Implemented Interfaces:
- ParamAncestorTag, PropertyAncestorTag, Serializable, 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
- Direct Known Subclasses:
- AssetCategoriesNavigationTag, AssetCategoriesSelectorTag, AssetCategoriesSummaryTag, AssetTagsErrorTag, AssetTagsNavigationTag, AssetTagsSelectorTag, AssetTagsSummaryTag, ATag, BreadcrumbTag, ButtonRowTag, ButtonTag, CalendarTag, CaptchaTag, ColumnTag, CustomAttributeListTag, CustomAttributeTag, DiffHtmlTag, DiffTag, DiscussionTag, ErrorMarkerTag, FieldsetTag, FieldWrapperTag, FlagsTag, FlashTag, FormTag, HeaderTag, IconTag, IncludeTag, InputCheckBoxTag, InputDateTag, InputEditorTag, InputFieldTag, InputLocalizedTag, InputMoveBoxesTag, InputPermissionsTag, InputRepeatTag, InputResourceTag, InputSchedulerTag, InputSelectTag, InputTag, InputTextAreaTag, InputTimeTag, InputTimeZoneTag, JournalArticleTag, JournalContentSearchTag, LanguageTag, LayoutIconTag, LayoutTag, LegendTag, MetaTagsTag, ModelContextTag, MyPlacesTag, NavigationTag, OptionTag, PageIteratorTag, PanelTag, PngImageTag, PreviewTag, RatingsScoreTag, RatingsTag, SearchFormTag, SearchTag, SearchToggleTag, SectionTag, SelectTag, SocialActivitiesTag, SocialBookmarksTag, SocialBookmarkTag, StagingTag, SuccessTag, TabsTag, ToggleAreaTag, ToggleTag, UploadProgressTag, UserSearchTag, WebDAVTag, WorkflowStatusTag, WriteTag
public class IncludeTag
- extends ParamAndPropertyAncestorTagImpl
- implements javax.servlet.jsp.tagext.DynamicAttributes
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
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 javax.servlet.jsp.tagext.BodyTagSupport |
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent |
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 |
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 javax.servlet.jsp.tagext.BodyTagSupport
- 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 javax.servlet.jsp.tagext.BodyTagSupport
- Throws:
javax.servlet.jsp.JspException
setDynamicAttribute
public void setDynamicAttribute(String uri,
String localName,
Object value)
- Specified by:
setDynamicAttribute
in interface javax.servlet.jsp.tagext.DynamicAttributes
setPage
public void setPage(String page)
setPortletId
public void setPortletId(String portletId)
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
cleanUp
protected void cleanUp()
getDynamicAttributes
protected Map<String,Object> getDynamicAttributes()
getEndPage
protected String getEndPage()
getPage
protected String getPage()
getServletContext
protected javax.servlet.ServletContext getServletContext(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request)
throws SystemException
- Throws:
SystemException
getStartPage
protected String getStartPage()
include
protected void include(String page)
throws Exception
- Throws:
Exception
isCleanUpSetAttributes
protected boolean isCleanUpSetAttributes()
isTrimNewLines
protected boolean isTrimNewLines()
setAttributes
protected void setAttributes(javax.servlet.http.HttpServletRequest request)