This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JSF and the fly likes how to pass selected value in rich:autocomplete Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "how to pass selected value in rich:autocomplete" Watch "how to pass selected value in rich:autocomplete" New topic
Author

how to pass selected value in rich:autocomplete

jyothi nalam
Greenhorn

Joined: Oct 25, 2006
Posts: 24
I have a datatable which displays the to email addresses and also I have a rich:autocomplete used to select the email address. I am able to display the address selected, but I am not able to send the selected address and update the datatable.




I tried different ways of calling a jsfunction and assign the variable . but I couldnt get it to working. Please help with some suggestions. when I kept an alert(this.value) inside onselectitem, it displayed the value of the email address, but when I sent the same to the backing bean, I have a null value.

Thanks,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to pass selected value in rich:autocomplete
 
Similar Threads
RichFaces with TabPanel and selectOneMenu not change the tab
Data from search not being dynamically added to rich:dataTable
display multiple rich:dataTables
issue with commandlink inside a popuppanel
richfaces:datascroller won't display page.