You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Grant Smith (JIRA)" <my...@incubator.apache.org> on 2005/07/06 01:09:10 UTC

[jira] Closed: (MYFACES-289) valueChangeListener doesn't work inside of x:dataList

     [ 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