I have a simple problem...I display a list of phone numbers on a page,
each in its own text field, to be updated by the user. The bean
handling this functionality is request scoped. The bean's name is
"editPhone".
The JSF looks like this:
<t:dataList value="#{editPhone.skillGroupSites}" var="site"
layout="simple">
<tr>
<td>
<t:inputText value="#{site.device.value}" size="15"
id="Phone">
<f:validateLength minimum="10" maximum="15"/>
</t:inputText>
</td>
<td>
<t:inputText value="#{site.label}" size="25"
id="Label"/>
</td>
</tr>
</t:dataList>
The backing bean editPhone has the following members on it
private ArrayList skillGroupSites;
with the proper getter and setter...
When a user updates the phone numbers through the "site.device.value"
text field, the value is not being set properly...in fact it's NULL. I
tried using saveState, but that saved the old values before the update
that's coming from the web. Anyone know how to solve this??
Thanks,
Charbel