• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

selectItems does not fire ajax listener

Miguel Cubias
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello. im kind of new in JSF's world. but it doesnt mean i didnt search for a solution before posting my question.
the thing is that i want to add lister to some selectOneMenu component just like is done in this post http://www.primefaces.org/showcase-labs/ui/pprSelect.jsf.
it works great for me, but if I want to add a listener to a second selectOneMenu the listener method doesnt get fire if i select an item from an updated List.
My View looks as:

if I Select the item "ItemTest" the listener is fired properly, but if a choose an item generated by the f:selectItems it doesnt work.
And my BackingBean looks as:

I also tried to add an <ui:repeat> inside the <h:selectOneMenu> but neither worked. so im stuck here, maybe its something very simple, but im truly confused about this behavior.
I would really appreciate if you enlighten me about how to solve it.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic