|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIData
javax.faces.component.html.HtmlDataTable
org.apache.myfaces.component.html.ext.HtmlDataTableHack
org.apache.myfaces.custom.datalist.AbstractHtmlDataList
public abstract class AbstractHtmlDataList
Similar to dataTable, but does not render a table. Instead the layout attribute controls how each dataRow is rendered. Unless otherwise specified, all attributes accept static values or EL expressions.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.myfaces.component.html.ext.HtmlDataTableHack |
|---|
HtmlDataTableHack.PropertyKeys |
| Field Summary | |
|---|---|
static String |
COMPONENT_TYPE
|
| Fields inherited from class javax.faces.component.html.HtmlDataTable |
|---|
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 |
| Fields inherited from interface org.apache.myfaces.component.UserRoleAware |
|---|
ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR |
| Fields inherited from interface javax.faces.component.NamingContainer |
|---|
SEPARATOR_CHAR |
| Constructor Summary | |
|---|---|
AbstractHtmlDataList()
|
|
| Method Summary | |
|---|---|
protected javax.faces.context.FacesContext |
getFacesContext()
|
abstract String |
getItemOnClick()
OnClick handler to be applied to individual items in the list |
abstract String |
getItemStyleClass()
CSS class to be applied to individual items in the list |
abstract String |
getLayout()
simple|unorderedList|orderedList simple = for each dataRow all children are simply rendered unorderedList = the list is rendered as HTML unordered list (= bullet list) orderedList = the list is rendered as HTML ordered list Default: simple |
abstract String |
getRowCountVar()
A parameter name, under which the rowCount is set in request scope similar to the var parameter. |
abstract String |
getRowIndexVar()
A parameter name, under which the current rowIndex is set in request scope similar to the var parameter. |
boolean |
invokeOnComponent(javax.faces.context.FacesContext context,
String clientId,
javax.faces.component.ContextCallback callback)
|
void |
processChildren(javax.faces.context.FacesContext context,
int processAction)
Iterates over all children, processes each according to the specified process action if the child is rendered. |
void |
processDecodes(javax.faces.context.FacesContext context)
Throws NullPointerException if context is null. |
void |
processUpdates(javax.faces.context.FacesContext context)
|
void |
processValidators(javax.faces.context.FacesContext context)
|
protected void |
restoreDescendantComponentStates(Object state)
|
protected void |
restoreFullDescendantComponentDeltaStates(javax.faces.context.FacesContext facesContext,
Map<String,Object> rowState,
Object initialState)
|
protected void |
restoreFullDescendantComponentStates(javax.faces.context.FacesContext facesContext,
Object initialState)
|
protected Object |
saveDescendantComponentStates()
|
protected Collection<Object[]> |
saveDescendantInitialComponentStates(javax.faces.context.FacesContext facesContext)
|
protected Map<String,Object> |
saveFullDescendantComponentStates(javax.faces.context.FacesContext facesContext)
|
void |
setRowIndex(int rowIndex)
|
boolean |
visitTree(javax.faces.component.visit.VisitContext context,
javax.faces.component.visit.VisitCallback callback)
|
| Methods inherited from class javax.faces.component.html.HtmlDataTable |
|---|
addClientBehavior, getBgcolor, getBodyrows, getBorder, getCaptionClass, getCaptionStyle, getCellpadding, getCellspacing, getColumnClasses, getDir, getEventNames, getFamily, getFooterClass, getFrame, getHeaderClass, getLang, getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRowClasses, getRules, getStyle, getStyleClass, getSummary, getTitle, getWidth, setBgcolor, setBodyrows, setBorder, setCaptionClass, setCaptionStyle, setCellpadding, setCellspacing, setColumnClasses, setDir, setFooterClass, setFrame, setHeaderClass, setLang, setOnclick, setOndblclick, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setRowClasses, setRules, setStyle, setStyleClass, setSummary, setTitle, setWidth |
| Methods inherited from class javax.faces.component.UIData |
|---|
broadcast, createUniqueId, getFirst, getFooter, getHeader, getRows, getValue, getVar, queueEvent, setFirst, setFooter, setHeader, setRows, setVar |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, clearInitialState, decode, encodeAll, encodeChildren, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getDefaultEventName, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, subscribeToEvent, unsubscribeFromEvent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.myfaces.component.UserRoleAware |
|---|
getEnabledOnUserRole, getVisibleOnUserRole, setEnabledOnUserRole, setVisibleOnUserRole |
| Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder |
|---|
getClientBehaviors, getDefaultEventName |
| Field Detail |
|---|
public static final String COMPONENT_TYPE
| Constructor Detail |
|---|
public AbstractHtmlDataList()
| Method Detail |
|---|
public void processDecodes(javax.faces.context.FacesContext context)
processDecodes in class javax.faces.component.UIDatapublic void processUpdates(javax.faces.context.FacesContext context)
processUpdates in class HtmlDataTableHackUIData.processUpdates(javax.faces.context.FacesContext)public void processValidators(javax.faces.context.FacesContext context)
processValidators in class HtmlDataTableHackUIData.processValidators(javax.faces.context.FacesContext)
public void processChildren(javax.faces.context.FacesContext context,
int processAction)
public void setRowIndex(int rowIndex)
setRowIndex in class HtmlDataTableHackprotected void restoreDescendantComponentStates(Object state)
restoreDescendantComponentStates in class HtmlDataTableHackprotected Object saveDescendantComponentStates()
saveDescendantComponentStates in class HtmlDataTableHackprotected Map<String,Object> saveFullDescendantComponentStates(javax.faces.context.FacesContext facesContext)
saveFullDescendantComponentStates in class HtmlDataTableHack
protected void restoreFullDescendantComponentStates(javax.faces.context.FacesContext facesContext,
Object initialState)
restoreFullDescendantComponentStates in class HtmlDataTableHack
protected void restoreFullDescendantComponentDeltaStates(javax.faces.context.FacesContext facesContext,
Map<String,Object> rowState,
Object initialState)
restoreFullDescendantComponentDeltaStates in class HtmlDataTableHackprotected Collection<Object[]> saveDescendantInitialComponentStates(javax.faces.context.FacesContext facesContext)
saveDescendantInitialComponentStates in class HtmlDataTableHack
public boolean invokeOnComponent(javax.faces.context.FacesContext context,
String clientId,
javax.faces.component.ContextCallback callback)
throws javax.faces.FacesException
invokeOnComponent in class javax.faces.component.UIDatajavax.faces.FacesException
public boolean visitTree(javax.faces.component.visit.VisitContext context,
javax.faces.component.visit.VisitCallback callback)
visitTree in class javax.faces.component.UIDataprotected javax.faces.context.FacesContext getFacesContext()
getFacesContext in class javax.faces.component.UIComponentBasepublic abstract String getRowCountVar()
public abstract String getRowIndexVar()
public abstract String getLayout()
public abstract String getItemStyleClass()
public abstract String getItemOnClick()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||