Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to pass selected value in rich:autocomplete

 
jyothi nalam
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic