org.apache.myfaces.trinidadinternal.taglib
Class ComponentRefTag

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.trinidad.webapp.UIXComponentELTag
                  extended by org.apache.myfaces.trinidadinternal.taglib.UIXComponentRefTag
                      extended by org.apache.myfaces.trinidadinternal.taglib.ComponentRefTag
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 ComponentRefTag
extends org.apache.myfaces.trinidadinternal.taglib.UIXComponentRefTag

This tag inserts a region (defined by <tr:regionDef>) into the current page. The "id" attribute is required on this tag.


Field Summary
 
Fields inherited from class org.apache.myfaces.trinidad.webapp.UIXComponentELTag
DOCUMENT_CREATED_KEY
 
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
ComponentRefTag()
           
 
Method Summary
static void addRelocatedFacet(javax.faces.component.UIComponent region, java.lang.String facet, javax.faces.component.UIComponent component)
          Indicate that a facet was moved.
 int doEndTag()
           
 int doStartTag()
           
 java.lang.String getComponentType()
           
 java.lang.String getRendererType()
           
 
Methods inherited from class org.apache.myfaces.trinidadinternal.taglib.UIXComponentRefTag
release, setComponentType, setProperties, setValue
 
Methods inherited from class org.apache.myfaces.trinidad.webapp.UIXComponentELTag
setAttributeChangeListener, setDateProperty, setIntArrayProperty, setMaxDateProperty, setNumberProperty, setProperties, setProperty, setStringArrayProperty, setStringListProperty, setStringSetProperty, setValidationError
 
Methods inherited from class javax.faces.webapp.UIComponentELTag
createComponent, getELContext, hasBinding, setBinding, setRendered
 
Methods inherited from class javax.faces.webapp.UIComponentClassicTagBase
addChild, addFacet, addVerbatimAfterComponent, addVerbatimBeforeComponent, createVerbatimComponent, createVerbatimComponentFromBodyContent, doAfterBody, doInitBody, 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
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

ComponentRefTag

public ComponentRefTag()
Method Detail

getComponentType

public java.lang.String getComponentType()
Specified by:
getComponentType in class javax.faces.webapp.UIComponentTagBase

getRendererType

public java.lang.String getRendererType()
Specified by:
getRendererType in class javax.faces.webapp.UIComponentTagBase

addRelocatedFacet

public static void addRelocatedFacet(javax.faces.component.UIComponent region,
                                     java.lang.String facet,
                                     javax.faces.component.UIComponent component)
Indicate that a facet was moved. The region component must keep track of all facets that were moved so that they may be restored before the jsf jsp tag framework notices. If the jsf jsp tag framework notices that the facets are missing, it will recreate them, and that is undesireable as that will break the "binding" attribute support (on the facet) and will have performance consequences.

Parameters:
region - the component that the facet was moved from.
facet - the facet that was moved.
component - the component that the facet was moved to.

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class org.apache.myfaces.trinidad.webapp.UIXComponentELTag
Throws:
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.faces.webapp.UIComponentClassicTagBase
Throws:
javax.servlet.jsp.JspException


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.