Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

selectOneMenu valueChangeListener never fires!!

 
Balpo Uhrynowski
Greenhorn
Posts: 2
IntelliJ IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
IntelliJ IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic