Bye
Cosma
2006/5/17, Mike Kienenberger <[EMAIL PROTECTED]>:
On 5/17/06, Cosma Colanicchia <[EMAIL PROTECTED]> wrote:
> <t:dataTable id="peopleList" var="person" value="#{peopleListBacker.list}"
> rows="8" preserveDataModel="true">
> > Having just writed a custom DataModel for paging on a large table, I
> > understood that the setRowIndex and getRowData methods are repeatedly
> > invoked as needed before the rendering of the table output. Anyone can
> > explain me how can a call to getRowData() in the action handler for
> > the "Edit" commandLink find the clicked row in the current DataModel
> > rowIndex? Who is going to set it?
I've always done this by using <t:dataTable
binding="#{bean.myUIDataComponent}" and calling
myUIDataComponent.getRowData(). The UIData component will set the
rowIndex.

