Package 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$ $Date$
- Author:
- Thomas Spiegl (latest modification by $Author$)
-
-
Field Summary
-
Fields inherited from class javax.faces.webapp.UIComponentClassicTagBase
bodyContent, pageContext, UNIQUE_ID_PREFIX
-
Fields inherited from class javax.faces.webapp.UIComponentTagBase
log
-
-
Constructor Summary
Constructors Constructor Description SubviewTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected UIComponent
createVerbatimComponentFromBodyContent()
Creates a UIComponent from the BodyContent If a Subview is included via the <jsp:include> 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.String
getComponentType()
String
getRendererType()
-
Methods inherited from class javax.faces.webapp.UIComponentELTag
createComponent, getELContext, hasBinding, release, setBinding, setProperties, setRendered
-
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
-
-
-
-
Method Detail
-
getComponentType
public String getComponentType()
- Specified by:
getComponentType
in classUIComponentTagBase
-
getRendererType
public String getRendererType()
- Specified by:
getRendererType
in classUIComponentTagBase
-
createVerbatimComponentFromBodyContent
protected UIComponent createVerbatimComponentFromBodyContent()
Creates a UIComponent from the BodyContent If a Subview is included via the <jsp:include> 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 classUIComponentClassicTagBase
- Returns:
- UIComponent or null
-
-