This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Retreiving the selected value of the suggestion box

 
anitha meena
Ranch Hand
Posts: 40
  • 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
  • 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
  • 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 ...........
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic