3 Replies Latest reply on May 24, 2007 8:04 AM by Ilya Shaikovsky

    rich:suggestionbox - how to take data from listbox

    binya frank Newbie

      I'm using rich:suggestionbox component for an autocompletelist. the list(which comes from the backing bean). I need, when user clicks an entity from the list, to fill a form (on the same jsf) of 3 fields (name, address, city) according to the users choice.

      1. How do I get (in the backing bean) the users choice.
      2. How to fill all 3 fields as a result of users click on the list?

      this is my code:

      <h:inputText value="#{ajaxTest.input}" id="name"/>

      <rich:suggestionbox for="name"
      <h:outputText value="#{suggest.details}"/>

      thank you very much!!!!!!!!!!!!