Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: [OT] Re: Struts session scoped forms

Christopher Schultz

2007-03-01

Replies:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dave,

Dave Newton wrote:
> --- Christopher Schultz wrote:
>> If you have a form that needs to be populated,
>> submitted, validated and possibly re-displayed, why
>> not use an ActionForm to populate the form in
>> the first place?
>
> If you're talking about only form data, sure. That's
> why I explicitly stated I was referring to plain old
> presentation data.

Oh, okay. Yeah, I never use ActionForms merely for display. Mostly
because it's not terribly convenient to copy data from a value object
into an ActionForm just for display.

Thanks for the clarification.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF5wII9CaO5/Lv0PARAncFAJ9/3V8DSpTVnWozxkgSYFbBYZ5wzACfZ1t6
QTQl3awL3aBcg8n7N8iG1Y4=
=3/Fh
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.