Hi, I have been trying this for a long time now,but unable to get the solution. My question is I have two selectManyListboxes,In one of the selectManyListbox I have some values on selecting multiple values and click a button then I should get the values that exists for the selected items in the second selectManyListbox. For example I have countries in one listbox and if I select multiple countries then I should get the capitals of that countries in second listbox Please could anybody explain me how to do this I have been trying this for a long time. Please help me..
In your backing bean then you would have attributes for value, value2, selectItems and selectItems2. (inc getters and setters). To get the first box to update the second you would use the value setter to update the selectItems2 attribute...i.e.
Hope this makes it more clear..?
catch it before it slithers away! Oh wait, it's a tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth