org.apache.myfaces.trinidadinternal.taglib
Class ComponentRefTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTag
      extended by org.apache.myfaces.trinidad.webapp.UIXComponentTag
          extended by org.apache.myfaces.trinidadinternal.taglib.UIXComponentRefTag
              extended by org.apache.myfaces.trinidadinternal.taglib.ComponentRefTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class ComponentRefTag
extends UIXComponentRefTag

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

Author:
The Oracle ADF Faces Team

Field Summary
 
Fields inherited from class javax.faces.webapp.UIComponentTag
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
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.UIXComponentTag
createMethodBinding, createValueBinding, encodeBegin, setAttributeChangeListener, setBooleanProperty, setCharacterProperty, setDateProperty, setDoubleProperty, setFloatProperty, setId, setIntArrayProperty, setIntegerProperty, setLongProperty, setNumberProperty, setProperties, setProperty, setRendered, setStringArrayProperty, setValidationError
 
Methods inherited from class javax.faces.webapp.UIComponentTag
encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getDoStartValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, setBinding, setPageContext, setParent, setupResponseWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentRefTag

public ComponentRefTag()
Method Detail

getComponentType

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

getRendererType

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

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.UIXComponentTag
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 org.apache.myfaces.trinidad.webapp.UIXComponentTag
Throws:
javax.servlet.jsp.JspException


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.