I have a fairly simple scenario that is not working with the MyFaces library.
My JSF looks like the following:
<h:form>
<h:dataTable value="#{MyBean.list}" var="innerList">
<h:column>
<f:facet name="header"><h:outputText
value="List Item" /></f:facet>
<h:dataTable value="#{innerList}"
var="innerListItem">
<h:column>
<f:facet
name="header"><h:outputText value="Inner List Item"/></f:facet>
<h:inputText
value="#{innerListItem}" />
</h:column>
</h:dataTable>
</h:column>
</h:dataTable>
<h:commandButton action="#{ConverterBean.save}" value="Save" />
</h:form>
MyBean has a single property on it, which is a nested ArrayList
(meaning the list contains a list). When I update one of the inputs
in the nested context, the data model in the backing bean is not
updated. It seems to me that this might be a reference problem. Does
anyone have any ideas where to begin?
Dan
--
Open Source Advocacy
http://www.mojavelinux.com
Registered Linux User #231597