Hi Allen,
Probably the easiest approach would be to use the utility provided by Struts
(now in the commons project):
org.apache.commons.beanutils.PropertyUtils.
Search the latest source of Struts and you will find several examples of its
use. Another useful tip is to reference your vo - via
I've used Jon's suggestion below and it works very nicely. In my applications,
I create a BaseFormBean that has an action property. Then in my FormBean's
that extend this class, I have a getter/setter for the VO. Works really slick.
In my Edit Action classes, I populate the VO from an EJB and
Here are two code generators that are out there if you
haven't seen them already (listed on
http://www.husted.com/struts/resources.htm). Ravi has
worked on his a lot more than I have.
Struts CodeMaker by Ravindran Ramaiah
Generate Struts application by reading configuration
file or JSP files.
/29/2001?
Allen
-Original Message-
Message-ID:
[EMAIL PROTECTED]
From: Jon.Ridgway [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Automation options between ActionForm and Value Object?
Date: Mon, 3 Dec 2001 15:01:50 -
MIME-Version: 1.0
Content-Type
4 matches
Mail list logo