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

Retreiving the selected value of the suggestion box

 
anitha meena
Ranch Hand
Posts: 40
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I just want to implement the suggestion box in my jsf application i have made the following (off course after refering richfaces site and some other sites in the net)


I am able to get the data from db and display it in the suggestion box , but the problem is that i want to retreive the selected value once the form is submitted , I am getting null value for #{addUploadBean.selectedContentName}

any one can help me to fix this issue
 
Sumeet Singh Aryan
Ranch Hand
Posts: 43
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try to fetch the selected value from the getter of statesinput .... as you specified for="statesinput"
 
anitha meena
Ranch Hand
Posts: 40
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sumeet Singh Aryan,

Thanks alot for your reply , i will just follow your instruction and check that ...........
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic