You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Zhong Li (JIRA)" <my...@incubator.apache.org> on 2005/06/23 15:50:09 UTC
[jira] Commented: (MYFACES-289) valueChangeListener doesn't work inside of x:dataList
[ 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