On May 30, 2013, at 5:42 AM, Miguel Almeida wrote:
> That's an alternative, yes. I do tend to prefer having the model objects
> in my actions though, to keep the number of objects to a minimum - it
> makes more sense to have a List objects than an Integer[]
> ids, but maybe that's personal prefere
Thanks for the feedback Dale.
A couple of thoughts below.
On Wed, 2013-05-29 at 08:18 -0400, Dale Newfield wrote:
> I would have a setter on my action class that takes an array of ids. Then
> the action does the appropriate lookups, and sets the hydrated objects on the
> appropriate models.
Th
I would have a setter on my action class that takes an array of ids. Then the
action does the appropriate lookups, and sets the hydrated objects on the
appropriate models.
You do recognize that the data you provided is ambiguous, though, right?
Nothing you stated is sufficient to know *which*
I've also posted this on
http://stackoverflow.com/questions/16812357/how-to-set-the-name-parameter-on-a-multiple-sselect
so the knowledge can be shared once the answer is known.
I also plan to add this to struts' documentation!
Miguel
On Wed, 2013-05-29 at 11:27 +0100, Miguel Almeida wrote:
> I
4 matches
Mail list logo