set method is not called for the datatable items

I have a strange problem. I have a page with a checkbox and a table.

In the table has two columns

<code>

<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>

<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>

<h:form id="ips-form">

<h:selectBooleanCheckbox value="#{myBean.enabled}"/>

<h:outputText value="Enable IPS"/>

<h:dataTable border="1" rowClasses="evenRows,oddRows"

headerClass="standardTableHeader" styleClass="standardTable" value="#{myBean.list}" var="signature">

<h:column>

<f:facet name="header">

<h:outputText value="Signature"/>

</f:facet>

<h:outputText value="#{signature.name}" />

</h:column>

<h:column>

<f:facet name="header">

<h:outputText value="Enabled"/>

</f:facet>

<h:selectBooleanCheckbox value="#{signature.enabled}"/>

</h:column>

</h:dataTable>

<h:commandButton value="Apply" action="#{iPSConfigBean.applyConfig}"/>

<h:outputText value=" "/>

<h:commandButton value="Cancel" action="Cancel" immediate="true"/>

</h:form>

</code>

When I click the "apply button" I see the checkBox (above the table) method is called but I don;t see the method setList(ArrayList<myData> l) not called

can somebody help me...

I have added "myBean" to the managed beans in the faces.xml. Do I need to add the properties in the xml as well?

thanks

pal

[1629 byte] By [vpalkondaa] at [2007-11-27 9:55:55]
# 1
This is not strange. Only the actual UIInput value (the latest property of the chain, which are the setters of the MyBean) will be set. JSF doesn't set/update the reference to the List. Only the getList() will be called.
BalusCa at 2007-7-13 0:25:58 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...