• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Retreiving the selected value of the suggestion box

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sumeet Singh Aryan,

Thanks alot for your reply , i will just follow your instruction and check that ...........
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"for" attribute of suggestionbox should have same value as "id" attribute of inputText
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic