valueChangeListener doesn't work inside of x:dataList
-----------------------------------------------------

         Key: MYFACES-289
         URL: http://issues.apache.org/jira/browse/MYFACES-289
     Project: MyFaces
        Type: Bug
    Versions: 1.0.9 beta    
 Environment: Tomcat 5.0.29
    Reporter: Zhong Li


savedPricings are return a list , method handleMoveTo  process the event, but  
it doesn't work inside of dataList. when I move selectOneMenu outside of 
dataList, it works fine.


 <x:dataList id="testlist" value="#{dealerPricing.savedPricings}" 
  var="pricing" 
  rowIndexVar="index">
   <h:selectOneMenu 
    value="select#{index}" 
    valueChangeListener="#{dealerPricing.handleMoveTo}"
    onchange="this.form.submit()">
    <f:selectItem itemValue="select#{index}" itemLabel="Move To"/>    
    <f:selectItems value="#{dealerPricing.moveToMap}" />
   </h:selectOneMenu> 
 </x:dataList> 

--------------------
        public void handleMoveTo(ValueChangeEvent e){
                System.out.println("hopefully listener is working");
                ............
        }


-- 
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