When you are using a UIData descendant (such as dataTable), only one instance of each child component is created. When rendering or decoding, the JSF implementation iterates through the data rows in the UIData datamodel and calls setRowIndex(). Within each component, you can then call uidata.getRowData() and get the data for the current row.
What that means though, is that there is not a separate instance of the form (or the inputText) created for each row.

Cheers,
Max

On 11/13/05, "Hansjörg Meuschel" <[EMAIL PROTECTED]> wrote:
Hi, both components seem to have a problem with the IDs for their children
(here: id of the form is the same for each iteration!)

I just wonder if the problem could be that I'm currently using jsf 1.0 with
the myfaces components?

<t:datalist...>
<h:form>
<h:inputText.../>
</h:form>
</t:datalist>

<t:dataTable...>
<h:column>
<h:form>
<h:inputText.../>
</h:form>
</h:column>
</t:dataTable>




--
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie

Reply via email to