Yes. Wendy is absolutely correct. 
Although the I described will work technically,
you will run into issues as Wendy already mentioned.

Sorry, I will think more indepth before responding next time.

robert

> -----Original Message-----
> From: Robert Taylor [mailto:[EMAIL PROTECTED]
> 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. 
> 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 need some type of ActionForm to enable Struts to bind 
> user input
> to your VO and to leverage the validation framework.
> For reads, you can simply place the VO in the appropriate scope and use JSTL 
> or other
> tags to render its content.
> 
> robert
> 
> > -----Original Message-----
> > From: Patrick Beagan [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, November 09, 2004 11:49 AM
> > To: [EMAIL PROTECTED]
> > Subject: VO usage
> > 
> > 
> > I have an application that uses struts - ejbs - hibernate.  My value
> > objects used for hibernate have the exact members as my  html forms.
> > Does anyone have
> > 
> > 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.
> > 
> >  
> > 
> > Thanks.
> > 
> > Patrick 
> > 
> >  
> > 
> >  
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to