com.liferay.faces.bridge.component
Class UIViewRootBridgeImpl

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIViewRoot
              extended by javax.portlet.faces.component.PortletNamingContainerUIViewRoot
                  extended by com.liferay.faces.bridge.component.UIViewRootBridgeImpl
All Implemented Interfaces:
Serializable, EventListener, javax.faces.component.NamingContainer, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.component.UniqueIdVendor, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder

public class UIViewRootBridgeImpl
extends PortletNamingContainerUIViewRoot

This class overrides the behavior of the PortletNamingContainerUIViewRoot standard class.

Author:
Neil Griffin
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.faces.component.UIViewRoot
COMPONENT_FAMILY, COMPONENT_TYPE, METADATA_FACET_NAME, UNIQUE_ID_PREFIX, VIEW_PARAMETERS_KEY
 
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
 
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Constructor Summary
UIViewRootBridgeImpl()
           
 
Method Summary
 void setId(String id)
          This method fixes a problem with UIComponent.findComponent(String) where sometimes it is unable to find components due to incorrect clientId values.
 
Methods inherited from class javax.portlet.faces.component.PortletNamingContainerUIViewRoot
getContainerClientId
 
Methods inherited from class javax.faces.component.UIViewRoot
addComponentResource, addComponentResource, addPhaseListener, broadcastEvents, createUniqueId, createUniqueId, encodeBegin, encodeChildren, encodeEnd, getAfterPhaseListener, getBeforePhaseListener, getComponentResources, getFamily, getLocale, getPhaseListeners, getRenderKitId, getRendersChildren, getViewId, getViewListenersForEventClass, getViewMap, getViewMap, isInView, processApplication, processDecodes, processRestoreState, processUpdates, processValidators, queueEvent, removeComponentResource, removeComponentResource, removePhaseListener, restoreState, saveState, setAfterPhaseListener, setBeforePhaseListener, setInView, setLocale, setRenderKitId, setViewId, subscribeToViewEvent, unsubscribeFromViewEvent
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setValueExpression, visitTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIViewRootBridgeImpl

public UIViewRootBridgeImpl()
Method Detail

setId

public void setId(String id)

This method fixes a problem with UIComponent.findComponent(String) where sometimes it is unable to find components due to incorrect clientId values. For more info, see the following issues:

Overrides:
setId in class javax.faces.component.UIComponentBase


Copyright © 2014 Liferay, Inc.. All Rights Reserved.