Hi guys

I have this ActionForm

public class InterestsForm extends ActionForm {
        private String[] selectedItems = {}; 
        private String[] items = {"business","htech""};
      private String[] userPreviousSelectedItems= {"business"};
public String[] getSelectedItems() { 
          return this.selectedItems; 
        } 
        public void setSelectedItems(String[] selectedItems) { 
          this.selectedItems = selectedItems; 
        }

}

And this form:
<logic:iterate indexId="counter" name="interestFrom" id="item"
property="items">
<html:multibox property="selectedItems" >
<bean:write name="item" />
</html:multibox>
<bean:message key="interests.<bean:write name="item" />" />
</logic:iterate>


I would like to check the items that the user checked previously and I
stored them in userPreviousSelectedItems (I can also create a collection
instead).

How can I do it?

Thanks

Odelya



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to