[ 
http://issues.apache.org/jira/browse/MYFACES-627?page=comments#action_12330567 
] 

Keith Lynch commented on MYFACES-627:
-------------------------------------

I failed to mention that when using the JSF RI <h:dataTable> component all 
valueChangeLIsteners are called correctly.


> valueChangeListener not called for elements in HtmlDataTable
> ------------------------------------------------------------
>
>          Key: MYFACES-627
>          URL: http://issues.apache.org/jira/browse/MYFACES-627
>      Project: MyFaces
>         Type: Bug
>   Components: Tomahawk
>     Versions: Nightly Build
>  Environment: JSF RI 1.1.01
>     Reporter: Keith Lynch
>     Priority: Critical

>
> The processValueChange method is never called in some cases and called only 
> for the first element in the list for others.
> If the value of the first row inside the inputText component is changed then 
> the valueChangeListener is called. If the inputText component in any other 
> row is changed the valueChangeListener is not called. 
> The valueChangeListener is never called for the selectBooleanCheckbox.
> I have not tested with any other sub-components.
> This is possibly an RI compatibility issue however I cannot test with the 
> myfaces impl as I am using components which are not compatible with it.
> x:dataTable   value="#{ilrTestsMgr.details.currentPageContent}" 
>                         var="test"
>                         rendered="true"
>                         rowClasses="even-row,odd-row" 
>                         styleClass="bluelist" 
>                         width="100%">
>   <h:column> 
>      <f:facet name="header">
>         <h:outputText value="#{bundle.generic_enabled}"/>
>      </f:facet>
>    <h:selectBooleanCheckbox value="#{test.enabled}"  
> valueChangeListener="#{ilrTestsMgr.details.processValueChange}"/>
>   </h:column>
>   <h:column>
>     <f:facet name="header">  
>       <h:outputText value="#{bundle.testcase_value}"/>
>     </f:facet>            
>     <h:inputText value="#{test.expected}" 
> valueChangeListener="#{ilrTestsMgr.details.processValueChange}"/>
>   </h:column>
>   
> </x:dataTable>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to