Re: text fields values insite ui:repeat or h:datatable are not posting to model

Splash Forums PrettyFaces Users text fields values insite ui:repeat or h:datatable are not posting to model Re: text fields values insite ui:repeat or h:datatable are not posting to model

#20812

vijayinder
Participant

Hi Lincoln,

Thanks for the immediate response.

We are using jsf2 and PrettyFaces ‘prettyfaces-jsf2’ version ‘3.0.1’.

Here is the code in jsf. Values in inputText are not available in bean after posting the form:

<ui:repeat value=”#{orderBean.laundryOrder.washingServices}” var=”services”>

<tr>

<td width=”70%” align=”left”>

<h:outputLabel value=”#{services.name}” style=”font-size: 25px;”/>

</td>

<td width=”30%” align=”center”>

<h:inputText id=”quantity” class=”inlineTarget” value=”#{services.quantity}” style=”font-size: 25px;” size=”3″/>

</td>

</tr>

<tr><td colspan=”2″><h:outputText value=” ” escape=”false”/></td></tr>

</ui:repeat>

Thanks,

Vijay