File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting the selected value from SelectOneListbox

 
Ace McCloud
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic