public class BindListitemRenderer extends AbstractRenderer implements ListitemRenderer<java.lang.Object>, java.io.Serializable
CURRENT_INDEX_RESOLVER_ATTR, EACH_ATTR, EACH_STATUS_VAR, EACH_VAR, IS_TEMPLATE_MODEL_ENABLED_ATTR, RENDERED_COMPONENTS, STATUS_ATTR, STATUS_POST_VAR
Constructor and Description |
---|
BindListitemRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
render(Listitem item,
java.lang.Object data,
int index)
Renders the data to the specified list item.
|
addItemReference, addTemplateTracking, filterOutShadows, getRenderedIndex, recordRenderedIndex, resolveTemplate, resolveTemplate, setAttributeName
public void render(Listitem item, java.lang.Object data, int index) throws java.lang.Exception
ListitemRenderer
render
in interface ListitemRenderer<java.lang.Object>
item
- the listitem to render the result.
Note: when this method is called, the listitem has no child
at all, unless you don't return
ListitemRendererExt.DETACH_ON_RENDER
when
ListitemRendererExt.getControls()
is called.
You can invoke Listitem.setLabel(java.lang.String)
to create
Listcell
implicitly, or create one or multiple
Listcell
explicitly.
data
- that is returned from ListModel.getElementAt(int)
index
- the index of the data that is currently being renderedjava.lang.Exception
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.