aspose file tools*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "selectOneMenu valueChangeListener never fires!!" Watch "selectOneMenu valueChangeListener never fires!!" New topic
Author

selectOneMenu valueChangeListener never fires!!

Balpo Uhrynowski
Greenhorn

Joined: Mar 30, 2012
Posts: 2

Hello,

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 http://java-server-faces.blogspot.mx/2006/04/valuechangelisteners-what-you-need-to.html
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
Greenhorn

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: callee.caller.call 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: http://aspose.com/file-tools
 
subject: selectOneMenu valueChangeListener never fires!!
 
Similar Threads
Generating user details in form as ReadOnly
How to create an action listner?
How to use ValueChangeLister attribute in selectOnemenu
To map backing bean from a selected drop-down value
Help - question on selectOneListbox and page reloads