Thanks Dave and Michael. I've implemented the
UserContainer object as a means of just encapsulating
necessary info that would otherwise be in separate
sessions. I have also used the action forms
accordingly to display necessary info that would be
more natural. For pages that require the form to
Michael Jouravlev wrote:
It still is decoupled, only nested ;-) Nesting it in ActionForm you
keep its state and get it populated from request. You can do the same
for unit test: keep the state and populate.
Hmm, yeah, I suppose. I guess in this case I felt that the stuff in the
object in que
On 9/20/05, Dave Newton <[EMAIL PROTECTED]> wrote:
> Michael Jouravlev wrote:
>
> >Or... you can set Product object as nested property of an ActionForm,
> >and set ActionForm's scope to "session". The result is the same, but
> >seems more natural to me. You can render Product on JSP page, or
> >po
Michael Jouravlev wrote:
Or... you can set Product object as nested property of an ActionForm,
and set ActionForm's scope to "session". The result is the same, but
seems more natural to me. You can render Product on JSP page, or
populate it from input (Struts will do it for you).
True.
But
4 matches
Mail list logo