org.apache.myfaces.taglib.core
Class SubviewTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTagBase
      extended by javax.faces.webapp.UIComponentClassicTagBase
          extended by javax.faces.webapp.UIComponentELTag
              extended by 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: 693358 $ $Date: 2008-09-08 22:54:29 -0500 (Mon, 08 Sep 2008) $
Author:
Thomas Spiegl (latest modification by $Author: lu4242 $)

Field Summary
 
Fields inherited from class javax.faces.webapp.UIComponentClassicTagBase
bodyContent, pageContext, UNIQUE_ID_PREFIX
 
Fields inherited from class javax.faces.webapp.UIComponentTagBase
log
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
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
 
Constructor Summary
SubviewTag()
           
 
Method Summary
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.
 String getComponentType()
           
 String getRendererType()
           
 
Methods inherited from class javax.faces.webapp.UIComponentELTag
createComponent, 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
 
Methods inherited from class javax.faces.webapp.UIComponentTagBase
getELContext
 
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
doEndTag, doStartTag, getParent, setPageContext, setParent
 

Constructor Detail

SubviewTag

public SubviewTag()
Method Detail

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 © 2012 The Apache Software Foundation. All Rights Reserved.