3 Replies Latest reply on Jul 11, 2012 2:09 PM by healeyb

    pickList: How to save the target list


      Hi guys!


      Could you guys tell me please, how to get the target list after adding some items from the source list?


      What I need is to be able to manipulate or get the items stored in the target list after adding those items from the source list in the pickList component. But, all this in the backing bean. I mean, suppose that I want to save the items in the target list to a database, I suppose I only have to take the list (selectedItems can be the name) and iterate it in order to get each item on it and save them, right?


      Right now after adding some items to the target list I print the size of the list (selectedItems) in the bean, but I'm getting a "0" zero, meaning that it doesn't contain any item previously added.


      If anyboThanks for your help!