File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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!!
jQuery in Action, 3rd edition