|
||||||||||
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.
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 |
---|
bindings |
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 Object |
saveDescendantComponentStates()
|
void |
setRowIndex(int rowIndex)
|
Methods inherited from class org.apache.myfaces.component.html.ext.HtmlDataTableHack |
---|
checkUpdateModelError, clearRowStates, createDataModel, deleteRowStateForRow, encodeBegin, encodeEnd, getClientId, getDataModel, getDerivedRowKeyPrefix, getDerivedSubClientId, getRowCount, getRowData, getRowIndex, getRowKey, hasErrorMessages, isForceId, isForceIdIndex, isPreserveRowStates, isRowAvailable, restoreDescendantComponentStates, restoreState, saveDescendantComponentStates, saveState, setDataModel, setDerivedRowKeyPrefix, setForceId, setForceIdIndex, setPreserveRowStates, setRowKey, setValue, setValueBinding |
Methods inherited from class javax.faces.component.html.HtmlDataTable |
---|
getBgcolor, getBorder, getCaptionClass, getCaptionStyle, getCellpadding, getCellspacing, getColumnClasses, getDir, getFamily, getFooterClass, getFrame, getHeaderClass, getLang, getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRowClasses, getRules, getStyle, getStyleClass, getSummary, getTitle, getWidth, setBgcolor, 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, getFirst, getFooter, getHeader, getRows, getValue, getVar, queueEvent, setFirst, setFooter, setHeader, setRows, setValueExpression, setVar |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, decode, encodeChildren, findComponent, getAttributes, getChildCount, getChildren, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getContainerClientId, getValueExpression |
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 |
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.UIData
public void processUpdates(javax.faces.context.FacesContext context)
processUpdates
in class org.apache.myfaces.component.html.ext.HtmlDataTableHack
public void processValidators(javax.faces.context.FacesContext context)
processValidators
in class org.apache.myfaces.component.html.ext.HtmlDataTableHack
public void processChildren(javax.faces.context.FacesContext context, int processAction)
public void setRowIndex(int rowIndex)
setRowIndex
in class org.apache.myfaces.component.html.ext.HtmlDataTableHack
protected void restoreDescendantComponentStates(Object state)
restoreDescendantComponentStates
in class org.apache.myfaces.component.html.ext.HtmlDataTableHack
protected Object saveDescendantComponentStates()
saveDescendantComponentStates
in class org.apache.myfaces.component.html.ext.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.UIData
javax.faces.FacesException
protected javax.faces.context.FacesContext getFacesContext()
getFacesContext
in class javax.faces.component.UIComponentBase
public 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 |