3 Replies Latest reply on Mar 27, 2007 4:16 AM by damianharvey

    suggestionbox selected item's object value retrieval

      Hello there,

      I have successfully set up the ajax suggestion box - I provide a list of User objects and can successfully choose a user and have their name displayed in an inputText control.

      I would like to be able to retrieve the actual object that has been selected in my backing bean, rather than the string displayed in the text box, so that I can do further processing with it.

      Unfortunately it's not as simple as looping through my list until I match the text value, as there are some duplicate entries in the list - the user knows which to choose as it's a multiple column suggest with additional user info being displayed, however I do not want to display the additional information in the input text control.

      Please could somebody explain if this will be possible, and if so how I would go about it?

      Many thanks in advance, Carl