Re: Mapped back UI and #status.index driven names

2009-06-17 Thread stanlick
I agree, however, there is only a single object (Thing) in the map (Things) and only a single parameter being passed. newton.dave wrote: stanlick wrote: s:textfield name=things[%{#status.index}].name value=%{name} / I'd assume something like getThings().put(index, name). OGNL has to get

RE: Mapped back UI and #status.index driven names

2009-06-16 Thread Martin Gainty
code for addAll? code for Thing.getThings()? struts.xml action config for mapBackedUIsaveList? thanks, Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der

RE: Mapped back UI and #status.index driven names

2009-06-16 Thread stanlick
It's never enough FOR YOU PEOPLE!!! =^D public static Collection? extends Thing getThings() { ArrayListThing things = new ArrayListThing(); things.add(new Thing(1, foo, 1.95f)); return things; } action name=mapBackedUI* method={1} class=acme.action.ListAction

Re: Mapped back UI and #status.index driven names

2009-06-16 Thread Dave Newton
stanlick wrote: s:textfield name=things[%{#status.index}].name value=%{name} / I'd assume something like getThings().put(index, name). OGNL has to get the map in order to put something into it. Dave - To unsubscribe,