myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhong Li (JIRA)" <myfaces-...@incubator.apache.org>
Subject [jira] Commented: (MYFACES-289) valueChangeListener doesn't work inside of x:dataList
Date Thu, 23 Jun 2005 13:50:09 GMT
    [ http://issues.apache.org/jira/browse/MYFACES-289?page=comments#action_12314324 ] 

Zhong Li commented on MYFACES-289:
----------------------------------

I downloaded night build version. It works, you can close it.

> 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


Mime
View raw message