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
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
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
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,
4 matches
Mail list logo