|
||||||||||
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 java.lang.String |
COMPONENT_TYPE
|
Fields inherited from class javax.faces.component.UIData |
---|
COMPONENT_FAMILY |
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 | |
---|---|
abstract java.lang.String |
getItemOnClick()
OnClick handler to be applied to individual items in the list |
abstract java.lang.String |
getItemStyleClass()
CSS class to be applied to individual items in the list |
abstract java.lang.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 java.lang.String |
getRowCountVar()
A parameter name, under which the rowCount is set in request scope similar to the var parameter. |
abstract java.lang.String |
getRowIndexVar()
A parameter name, under which the current rowIndex is set in request scope similar to the var parameter. |
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)
|
void |
setRowIndex(int rowIndex)
|
Methods inherited from class org.apache.myfaces.component.html.ext.HtmlDataTableHack |
---|
checkUpdateModelError, clearRowStates, createDataModel, deleteRowStateForRow, encodeBegin, encodeEnd, getClientId, getDataModel, getRowCount, getRowData, getRowIndex, hasErrorMessages, isForceId, isForceIdIndex, isPreserveRowStates, isRowAvailable, restoreDescendantComponentStates, restoreDescendantComponentStates, restoreState, saveDescendantComponentStates, saveDescendantComponentStates, saveState, setDataModel, setForceId, setForceIdIndex, setPreserveRowStates, setValue, setValueBinding |
Methods inherited from class javax.faces.component.html.HtmlDataTable |
---|
getBgcolor, getBorder, getCellpadding, getCellspacing, getColumnClasses, getDir, getFooterClass, getFrame, getHeaderClass, getLang, getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRowClasses, getRules, getStyle, getStyleClass, getSummary, getTitle, getWidth, setBgcolor, setBorder, 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, getFamily, getFirst, getFooter, getHeader, getRows, getValue, getVar, queueEvent, setFirst, setFooter, setHeader, setRows, setVar |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, decode, encodeChildren, findComponent, 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 |
Methods inherited from interface org.apache.myfaces.component.UserRoleAware |
---|
getEnabledOnUserRole, getVisibleOnUserRole, setEnabledOnUserRole, setVisibleOnUserRole |
Field Detail |
---|
public static final java.lang.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 HtmlDataTableHack
UIData.processUpdates(javax.faces.context.FacesContext)
public void processValidators(javax.faces.context.FacesContext context)
processValidators
in class HtmlDataTableHack
UIData.processValidators(javax.faces.context.FacesContext)
public void processChildren(javax.faces.context.FacesContext context, int processAction)
public void setRowIndex(int rowIndex)
setRowIndex
in class HtmlDataTableHack
public abstract java.lang.String getRowCountVar()
public abstract java.lang.String getRowIndexVar()
public abstract java.lang.String getLayout()
public abstract java.lang.String getItemStyleClass()
public abstract java.lang.String getItemOnClick()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |