org.apache.myfaces.taglib.core
Class SubviewTag
java.lang.Object
javax.faces.webapp.UIComponentTagBase
javax.faces.webapp.UIComponentClassicTagBase
javax.faces.webapp.UIComponentELTag
org.apache.myfaces.taglib.core.SubviewTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspIdConsumer, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class SubviewTag
- extends UIComponentELTag
- Version:
- $Revision: 1187700 $ $Date: 2011-10-22 07:19:37 -0500 (Sat, 22 Oct 2011) $
- Author:
- Thomas Spiegl (latest modification by $Author: bommel $)
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.faces.webapp.UIComponentClassicTagBase |
addChild, addFacet, addVerbatimAfterComponent, addVerbatimBeforeComponent, createVerbatimComponent, doAfterBody, doEndTag, doInitBody, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getBodyContent, getComponentInstance, getCreated, getCreatedComponents, getDoAfterBodyValue, getDoEndValue, getDoStartValue, getFacesContext, getFacesJspId, getFacetName, getId, getIndexOfNextChildTag, getJspId, getParent, getParentUIComponentClassicTagBase, getPreviousOut, setBodyContent, setId, setJspId, setPageContext, setParent, setupResponseWriter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubviewTag
public SubviewTag()
getComponentType
public String getComponentType()
- Specified by:
getComponentType
in class UIComponentTagBase
getRendererType
public String getRendererType()
- Specified by:
getRendererType
in class UIComponentTagBase
createVerbatimComponentFromBodyContent
protected UIComponent createVerbatimComponentFromBodyContent()
- Creates a UIComponent from the BodyContent If a Subview is included via the tag the corresponding
jsp is rendered with getServletContext().getRequestDispatcher("includedSite").include(request,response) and it is
possible that something was written to the Response direct. So is is necessary that the content of the wrapped
response is added to the componenttree.
- Overrides:
createVerbatimComponentFromBodyContent
in class UIComponentClassicTagBase
- Returns:
- UIComponent or null
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.