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
er and access the map like: > > > > musachy > > -- View this message in context: http://www.nabble.com/Map-instead-of-List-in-action-tp15561406p15572476.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: Map instead of List in action

2008-02-19 Thread Musachy Barroso
P. > > That is to say, > > in EditPersonAction.java > > Map persons = new HashMap(); > > > ---- > > What Should I do to implement that? Do Getter and setter of this property > should be changed? And in JSP side what should I do to provide that? > > > T

Map instead of List in action

2008-02-19 Thread Sessizlik
what should I do to provide that? Thanks -- View this message in context: http://www.nabble.com/Map-instead-of-List-in-action-tp15561406p15561406.html Sent from the Struts - User mailing list archive at Nabble.com. - To