myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Smith (JIRA)" <myfaces-...@incubator.apache.org>
Subject [jira] Closed: (MYFACES-289) valueChangeListener doesn't work inside of x:dataList
Date Tue, 05 Jul 2005 23:09:10 GMT
     [ http://issues.apache.org/jira/browse/MYFACES-289?page=all ]
     
Grant Smith closed MYFACES-289:
-------------------------------

    Fix Version: Nightly Build
     Resolution: Fixed

Closed per request

> 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
>      Fix For: Nightly Build

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


Mime
View raw message