GeeCON Prague 2014*
The moose likes JSF and the fly likes Retreiving the selected value of the suggestion box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "Retreiving the selected value of the suggestion box" Watch "Retreiving the selected value of the suggestion box" New topic
Author

Retreiving the selected value of the suggestion box

anitha meena
Ranch Hand

Joined: Oct 22, 2007
Posts: 40
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

Joined: Jul 30, 2008
Posts: 43
try to fetch the selected value from the getter of statesinput .... as you specified for="statesinput"


The woods are lovely, dark and deep, But I have promises to keep; And miles to go before I sleep, And miles to go before I sleep. - Robert Frost
anitha meena
Ranch Hand

Joined: Oct 22, 2007
Posts: 40
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
 
subject: Retreiving the selected value of the suggestion box