I've got an action with a bean-valued property:

     private Thing thing;
     public Thing getThing() { return thing; }
     public void setThing(final Thing thing) { this.thing = thing; }

On my form, I've got a couple of fields: say "thing.x" and "thing.y".

I notice that when I submit my form, the "setThing()" setter in my
action is called twice - once, presumably, for "thing.x" and once for
"thing.y".  That is of course disastrously wrong, as both form
properties should be set on the same Thing instance.

-- 
Turtle, turtle, on the ground,
Pink and shiny, turn around.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to