This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

To call a method from the value changed in the drop-down

N Deepu
Posts: 28
Eclipse IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I've been trying with the SelectOneMenu item to retrieve the value of the selected item and map it to the Value Change Event. But I read in one of the posts here that the ValueChangeListener should not be used to call a method. Is there any other way to call a Method?

My requirement is a drop-down with Objects like person,Adress.
If Person is selected, I should go to backing bean- and call the method written in that class for its corresponding functionality.

Thanks in advance
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic