org.apache.myfaces.tobago.component
Class UIDataFixTobago931

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIData
              extended by org.apache.myfaces.tobago.component.UIData
                  extended by org.apache.myfaces.tobago.component.UIDataFixTobago931
All Implemented Interfaces:
NamingContainer, StateHolder, AjaxComponent, SheetStateChangeSource, SortActionSource

public class UIDataFixTobago931
extends UIData

This component is an alternative to its parent. It was written as an workaround for problems with Sun RI 1.1_02. See bug TOBAGO-931 in the bug tracker. To use it, define it in you faces-config.xml.


Field Summary
 
Fields inherited from class org.apache.myfaces.tobago.component.UIData
ATTR_SCROLL_POSITION, COMPONENT_TYPE, DEFAULT_DIRECT_LINK_COUNT, DEFAULT_ROW_COUNT, FACET_SORTER, MULTI, NONE, SINGLE, SINGLE_OR_NONE, SORTER_ID
 
Fields inherited from class javax.faces.component.UIData
COMPONENT_FAMILY
 
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Constructor Summary
UIDataFixTobago931()
           
 
Method Summary
 void encodeBegin(FacesContext context)
          Perform necessary actions when rendering of this component starts, before delegating to the inherited implementation which calls the associated renderer's encodeBegin method.
 java.lang.String getClientId(FacesContext facesContext)
           
 int getRowCount()
           
 java.lang.Object getRowData()
           
 int getRowIndex()
           
 boolean isRowAvailable()
           
 void processUpdates(FacesContext context)
           
 void processValidators(FacesContext context)
           
 void setRowIndex(int rowIndex)
           
 void setValue(java.lang.Object value)
           
 void setValueBinding(java.lang.String name, ValueBinding binding)
           
 
Methods inherited from class org.apache.myfaces.tobago.component.UIData
addStateChangeListener, broadcast, encodeAjax, encodeEnd, findComponent, getAllColumns, getColumnLayout, getColumns, getDirectLinkCount, getLast, getLastPageIndex, getPage, getPages, getRenderedChildrenOf, getRenderedColumns, getRows, getScrollPosition, getSelectable, getSheetState, getShowDirectLinks, getShowPageRange, getShowRowRange, getSortActionListener, getStateChangeListener, getStateChangeListeners, getWidthList, hasRowCount, isAtBeginning, isAtEnd, isShowHeader, processAjax, processDecodes, queueEvent, removeStateChangeListener, resetColumnWidths, restoreState, saveState, setColumns, setDirectLinkCount, setRows, setSelectable, setShowDirectLinks, setShowHeader, setShowPageRange, setShowRowRange, setSortActionListener, setState, setStateChangeListener
 
Methods inherited from class javax.faces.component.UIData
getFamily, getFirst, getFooter, getHeader, getValue, getVar, setFirst, setFooter, setHeader, setVar
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, decode, encodeChildren, getAttributes, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIDataFixTobago931

public UIDataFixTobago931()
Method Detail

getClientId

public java.lang.String getClientId(FacesContext facesContext)
Overrides:
getClientId in class UIData

processValidators

public void processValidators(FacesContext context)
Overrides:
processValidators in class UIData

processUpdates

public void processUpdates(FacesContext context)
Overrides:
processUpdates in class UIData

setValue

public void setValue(java.lang.Object value)
Overrides:
setValue in class UIData

setValueBinding

public void setValueBinding(java.lang.String name,
                            ValueBinding binding)
Overrides:
setValueBinding in class UIData

encodeBegin

public void encodeBegin(FacesContext context)
                 throws java.io.IOException
Perform necessary actions when rendering of this component starts, before delegating to the inherited implementation which calls the associated renderer's encodeBegin method.

Overrides:
encodeBegin in class UIData
Throws:
java.io.IOException

isRowAvailable

public boolean isRowAvailable()
Overrides:
isRowAvailable in class UIData

getRowCount

public int getRowCount()
Overrides:
getRowCount in class UIData

getRowData

public java.lang.Object getRowData()
Overrides:
getRowData in class UIData

getRowIndex

public int getRowIndex()
Overrides:
getRowIndex in class UIData

setRowIndex

public void setRowIndex(int rowIndex)
Overrides:
setRowIndex in class UIData


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.