Hello all,

I have a dataTable and have developped a method that dynamically adds rows
to the dataTable. Each row is made up of two form controls. The problem I
have now is that I don't know how to retrieve the values from the mutiple
rows. Ideally I would need the values to be stored into a list.

Can anyone help?

Thanks in advance,

Julien.

Here is my code:
[code]
<h:dataTable var="line" binding="#{
TradeClientsAndQuantitiesBean.clientsAndQuantities}"  value="#{
TradeClientsAndQuantitiesBean.listOfMiddleFormHelpers}">
           <h:column>
               <f:facet name="header">
                   <h:outputText value="Sélectionnez un client"/>
               </f:facet>
               <h:selectOneMenu value="#{
TradeClientsAndQuantitiesHelperBean.selectedClientTemp}">
                   <f:selectItems value="#{
TradeClientsAndQuantitiesHelperBean.concatenatedLabelMap}"/>
               </h:selectOneMenu>
           </h:column>
           <h:column>
               <f:facet name="header">
                   <h:outputText value="Renseignez une quantité"/>
               </f:facet>
               <h:inputText value=""/>
           </h:column>
       </h:dataTable>
[/code]

Reply via email to