Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting the selected value from SelectOneListbox  RSS feed

Ace McCloud
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a jsf page which has already two list boxes prepopulated.
1)SelectManyListbox (containing a list of applications(Strings such as Pizza App,Game Store App etall)
2)SelectOneListbox [selectOneListbox1](containing report type: which is either Daily ,Weekly or Monthly.)
Important thing about this listbox is that on change of this listbox's value
I repaint the jsf page with another selectOneListbox[selectOneListbox2] whose values depend on my first selectOneListbox.

For eg: If I select "Daily" in my selectOneListbox1 then my selectOneListbox2 gets populated with values today ,yesterday ,this week.
Similarly for Week and Month.

Problem is the value from my selectOneListbox2 is not available to my backing bean no matter what I do.

I have tried value change listener,submitting the form,etall stuff to get the selected value for my selectOneListbox2.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!