As you can see from the responses, you have a variety of options.
Another option (I guess Niall forgot to mention) is to use your VO
directly. Declare your VO as the form bean type, and Struts will use
a BeanValidatorForm and wrap it with a WrapDynaBean. Really, though,
you don't need to be awar
On Tue, 9 Nov 2004 12:45:48 -0500, Robert Taylor <[EMAIL PROTECTED]> wrote:
> Yes. Wendy is absolutely correct.
> Although the I described will work technically,
> you will run into issues as Wendy already mentioned.
I use Robert's approach and make my VO as a JavaBean which only
accepts String an
> Sent: Tuesday, November 09, 2004 12:09 PM
> To: Struts Users Mailing List
> Subject: RE: VO usage
>
>
> Patrick, you could use DynaActionForms and just have your VO as a property.
> You could unit test your VO's and the ActionForm is just a wrapper.
> DynaActionFo
You could use lazy DynaBean - I added LazyValidatorForm to Struts a few days
ago - available in the nightly build:
http://svn.apache.org/builds/struts/nightly/
Info:
*
http://struts.apache.org/api/org/apache/struts/validator/LazyValidatorForm.html
* http://www.niallp.pwp.blueyonder.co.uk/#lazydy
Patrick, you could use DynaActionForms and just have your VO as a property.
You could unit test your VO's and the ActionForm is just a wrapper.
DynaActionForms
can be defined in your struts-config.xml file thus reducing the number of
physical
objects you have to maintain.
For updates, you will n
From: "Patrick Beagan" <[EMAIL PROTECTED]>
> Any suggestions to re-use these value objects? IE: It seems that I must
> define an ActionForm for my struts layer, and have a plain value object
> in my app server layer. I'd rather not duplicate.
While it might seem like a good idea to use the datab
6 matches
Mail list logo