org.apache.myfaces.commons.outputClientId
Class AbstractOutputClientId

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.apache.myfaces.commons.outputClientId.AbstractOutputClientId
All Implemented Interfaces:
javax.faces.component.StateHolder

@JSFComponent(name="mc:outputClientId",
              clazz="org.apache.myfaces.commons.outputClientId.OutputClientId",
              tagClass="org.apache.myfaces.commons.outputClientId.OutputClientIdTag")
public abstract class AbstractOutputClientId
extends javax.faces.component.UIComponentBase

Output the clientId of a component specified by for property.

Since:
1.0.1
Author:
Leonardo Uribe

Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
 
Constructor Summary
AbstractOutputClientId()
           
 
Method Summary
 void encodeBegin(javax.faces.context.FacesContext context)
           
abstract  String getFor()
          The ID of the component that should be rendered.
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
getFamily
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values
Constructor Detail

AbstractOutputClientId

public AbstractOutputClientId()
Method Detail

getFor

@JSFProperty
public abstract String getFor()
The ID of the component that should be rendered.

Returns:

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext context)
                 throws IOException
Overrides:
encodeBegin in class javax.faces.component.UIComponentBase
Throws:
IOException


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