com.liferay.faces.bridge.component.icefaces
Class DataPaginatorBridgeImpl

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIPanel
              extended by javax.faces.component.html.HtmlPanelGroup
                  extended by com.liferay.faces.bridge.component.icefaces.DataPaginator
                      extended by com.liferay.faces.bridge.component.icefaces.DataPaginatorWrapper
                          extended by com.liferay.faces.bridge.component.icefaces.DataPaginatorBridgeImpl
All Implemented Interfaces:
Serializable, EventListener, javax.faces.component.ActionSource, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, javax.faces.FacesWrapper<Object>

public class DataPaginatorBridgeImpl
extends DataPaginatorWrapper
implements Serializable

This class is part of a workaround for ICE-6398.

The basic approach is to make sure that the DataPaginator.setData(UIData) method is called ahead of time, so that ICEfaces will not bother to call it's internal CoreComponentUtils.findComponent(String, UIComponent) method.

Author:
Neil Griffin
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.faces.component.html.HtmlPanelGroup
javax.faces.component.html.HtmlPanelGroup.PropertyKeys
 
Field Summary
 
Fields inherited from class com.liferay.faces.bridge.component.icefaces.DataPaginator
COMPONENT_TYPE, RENDERER_TYPE
 
Fields inherited from class javax.faces.component.UIPanel
COMPONENT_FAMILY
 
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
 
Constructor Summary
DataPaginatorBridgeImpl(Object dataPaginator)
           
 
Method Summary
 void decode(javax.faces.context.FacesContext facesContext)
           
 javax.faces.component.UIData findUIData(javax.faces.context.FacesContext facesContext)
           
 Object getWrapped()
           
protected  javax.faces.component.UIComponent matchComponentInHierarchy(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent parent, String partialClientId)
           
 void processDecodes(javax.faces.context.FacesContext facesContext)
           
 
Methods inherited from class com.liferay.faces.bridge.component.icefaces.DataPaginatorWrapper
addActionListener, addClientBehavior, broadcast, clearInitialState, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAction, getActionListener, getActionListeners, getAttributes, getBaseStyleClass, getChildCount, getChildren, getClientBehaviors, getClientId, getClientId, getComponentType, getContainerClientId, getDefaultEventName, getDisplayedRowsCountVar, getEnabledOnUserRole, getEventNames, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getFamily, getFastForward, getFastRewind, getFastStep, getFirst, getFirstRow, getFirstRowIndexVar, getFor, getId, getLast, getLastRowIndexVar, getLayout, getListenersForEventClass, getNamingContainer, getNext, getPageCount, getPageCountVar, getPageIndex, getPageIndexVar, getPaginatorActiveColumnClass, getPaginatorColumnClass, getPaginatorMaxPages, getPaginatorTableClass, getParent, getPrevious, getRenderedOnUserRole, getRendererType, getRendersChildren, getResourceBundleMap, getRowCount, getRows, getRowsCountVar, getscrollButtonCellClass, getStyle, getStyleClass, getTabindex, getUIData, getValueBinding, getValueExpression, gotoFastForward, gotoFastRewind, gotoFirstPage, gotoLastPage, gotoNextPage, gotoPreviousPage, initialStateMarked, invokeOnComponent, isDisabled, isImmediate, isInView, isKeyboardNavigationEnabled, isLastPage, isModelResultSet, isPaginator, isRendered, isRenderFacetsIfSinglePage, isTransient, isVertical, markInitialState, processEvent, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeActionListener, restoreState, saveState, setAction, setActionListener, setDisabled, setDisplayedRowsCountVar, setEnabledOnUserRole, setFastForward, setFastRewind, setFastStep, setFirst, setFirstRowIndexVar, setFor, setId, setImmediate, setInView, setKeyboardNavigationEnabled, setLast, setLastRowIndexVar, setLayout, setNext, setPageCountVar, setPageIndexVar, setPaginator, setPaginatorMaxPages, setParent, setPrevious, setRendered, setRenderedOnUserRole, setRendererType, setRenderFacetsIfSinglePage, setRowsCountVar, setStyle, setStyleClass, setTabindex, setTransient, setUIData, setValueBinding, setValueExpression, setVertical, subscribeToEvent, unsubscribeFromEvent, visitTree
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, getFacesContext, getFacesListeners, getRenderer, removeFacesListener, restoreAttachedState, saveAttachedState
 
Methods inherited from class javax.faces.component.UIComponent
getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, isCompositeComponent, isVisitable, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataPaginatorBridgeImpl

public DataPaginatorBridgeImpl(Object dataPaginator)
Method Detail

decode

public void decode(javax.faces.context.FacesContext facesContext)
Overrides:
decode in class javax.faces.component.UIComponentBase

findUIData

public javax.faces.component.UIData findUIData(javax.faces.context.FacesContext facesContext)
Specified by:
findUIData in class DataPaginatorWrapper

processDecodes

public void processDecodes(javax.faces.context.FacesContext facesContext)
Overrides:
processDecodes in class DataPaginatorWrapper

matchComponentInHierarchy

protected javax.faces.component.UIComponent matchComponentInHierarchy(javax.faces.context.FacesContext facesContext,
                                                                      javax.faces.component.UIComponent parent,
                                                                      String partialClientId)

getWrapped

public Object getWrapped()
Specified by:
getWrapped in interface javax.faces.FacesWrapper<Object>
Specified by:
getWrapped in class DataPaginatorWrapper


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