myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Bohmann <>
Subject Re: [TOBAGO] valueChangeListener in selectOneChoice doesn't work
Date Wed, 03 Oct 2007 11:19:38 GMT
Hello Gianluca,

this should work. Can you send the complete page, please.

If you are using facelets a note:
The facelet-extensions didn't support valueChangeListener. The 
facelet-extensions are only compositions.


The current snapshot of the tobago-facelet.jar supports the 
tobago/extension for jsp, now.

This kind of question should asked on the user list.



Gianluca Correndo wrote:
> Hello everyone,
>   I'm trying to use selectOneChoice component using an event listener for
> updating the new values setted on the component.
>   It does not work.
>   The method is not called.
>   I tried even to add a facet "change" to the component:
> <tx:selectOneChoice label="mapper"
>  valueChangeListener="#{OntologyManager.mapperNameChanged}"
>  value="#{OntologyManager.mapperName}">
>  <f:selectItems	value="#{OntologyManager.availableOntologyMapper}" />
>  <f:facet name="change">
>   <tc:command />
>  </f:facet>
> </tx:selectOneChoice>
>  The method "mapperNameChanged" is still NOT called and the form that embed the
> choice component (a popup) disappear as I submit an action.
>  Am I misunderstanding the actual behaviour of the "valueChangeListener" of the
> component? From the javadoc and from the tutorials seems not so.
>  Gianluca
> ____________________________________________________________________________________
> Building a website is a piece of cake. Yahoo! Small Business gives you all the tools
to get online.

View raw message