This content has been marked as final.
Show 7 replies
-
1. Re: rich:comboBox's valueChangeListener does not work?
tmalatinszki Jan 4, 2010 8:45 PM (in response to schnulla)Have You tried this way?
valueChangeListener="#{mybean.onCountrySelected}"
Regards,
Tamas
-
2. Re: rich:comboBox's valueChangeListener does not work?
schnulla Jan 5, 2010 12:15 AM (in response to schnulla)Yes but unfortunately without success.
-
3. Re: rich:comboBox's valueChangeListener does not work?
schnulla Jan 7, 2010 9:21 PM (in response to schnulla)Please any other ideas?
I really need this and don't get why it does not work?
Every other component and fancy ajax stuff works here
but this one does not.PLEASE HELP!
-
4. Re: rich:comboBox's valueChangeListener does not work?
tmalatinszki Jan 8, 2010 6:25 PM (in response to schnulla)Here's the solution:
<rich:comboBox value="#{currentCountry}" suggestionValues="#{mybean.getCountries()}" valueChangeListener="#{mybean.onCountrySelected}" directInputSuggestions="true" defaultLabel="Select a country..." > <a4j:support event="onchange" ajaxSingle="true"/> </<rich:comboBox>
Please let me know if this one is working fine!
Regards,
Tamas
-
5. Re: rich:comboBox's valueChangeListener does not work?
schnulla Jan 9, 2010 2:31 PM (in response to schnulla)Thanks for trying to help.
But still not working :(
-
6. Re: rich:comboBox's valueChangeListener does not work?
tmalatinszki Jan 9, 2010 3:21 PM (in response to schnulla)Hmmm...strange, I just tested it, and it is working fine in my project.
A few questions: do You have some kind of form component (h:form or a4j:form) around this combobox? Which version of Richfaces are You using?
Regards,
Tamas
-
7. Re: rich:comboBox's valueChangeListener does not work?
schnulla Jan 9, 2010 8:01 PM (in response to schnulla)I tried it with and without h:form around.
But without success.My setup:
jboss-4.2.2.GA
jboss-seam-2.0.2.SP1
richfaces-ui-3.3.1.GA-bin