wood burning stoves*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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