This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes selectOneMenu valueChangeListener never fires!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "selectOneMenu valueChangeListener never fires!!" Watch "selectOneMenu valueChangeListener never fires!!" New topic

selectOneMenu valueChangeListener never fires!!

Balpo Uhrynowski

Joined: Mar 30, 2012
Posts: 2


I have a selectOneMenu that on change should fire a backing bean method to populate two inputText components.

I have tried the onchange="submit()" and also this solution
but none work, as the HTML never fires the event.

Does anyone have a clue what this could be?

This form was originally inside a panelTabSet, and I thought that the order of the forms inside it was the problem, but now it is only inside a panelPopup and still no firing the event.

Here's that part of the file.

The bean is like this

Balpo Uhrynowski

Joined: Mar 30, 2012
Posts: 2

Actually, none of the js events are fired.
So, I suppose is a client issue.
I installed firebug to see if there was a submission to the server and when the combobox (selectOneMenu) changed value, an error appeard in the console: not found.

What I am able to do know is submit the value to the server pressing enter on the combobox, not the functionality I need, though.

Any thoughts?

Thank you in advance.
I agree. Here's the link:
subject: selectOneMenu valueChangeListener never fires!!
Similar Threads
How to use ValueChangeLister attribute in selectOnemenu
To map backing bean from a selected drop-down value
How to create an action listner?
Help - question on selectOneListbox and page reloads
Generating user details in form as ReadOnly