Re: Map instead of List in action

2008-02-20 Thread Laurie Harper
Change your property/method signatures from List<...> persons = new SomeList<...>(); public List getMap(); public void setMap(List value); to Map persons = new HashMap(); public Map getMap(); public void setMap(Map value); L. Sessizlik wrote: Hi Musachy, Thank you for your res

Re: Map instead of List in action

2008-02-19 Thread Sessizlik
Hi Musachy, Thank you for your response, I am sorry but I can understand how to change getter and setter. How should be signatures of getter and setter? Just changing return type should not be enough ? Best Regards Sessizlik Musachy Barroso wrote: > > Change the setter and getter and acce

Re: Map instead of List in action

2008-02-19 Thread Musachy Barroso
Change the setter and getter and access the map like: musachy On Feb 19, 2008 10:12 AM, Sessizlik <[EMAIL PROTECTED]> wrote: > > Hi all, > > I am completely new to Struts. I am studying about show-case examples. I > noticed that such a example: > > > The goal is updating multiple records at one