0 Replies Latest reply on Jun 17, 2007 6:42 AM by tgeor

    How can i use suggestionbox to update more than one input el

      How can you update more than one inputText when you select something from a suggestionbox. I think richfaces team should add this feature because it is a very common case. Let's say that you have an inputHidden field with the ID of the item you selected from the populated list and you want to update it when user selects a value from the suggestion list. Another case is you have two, or more related fields (e.g city, area, postalcode, country) and have a suggestionbox for city and when you select the city the other values must be filled also with the related values.

      In suggestionbox you can display more than one value in suggestion list and use the fetchValue attribute to update only the correct text in the inputText but there is no way to use the java bean from var attribute when selection is made.