struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuan, Saul (TOR-ML)" <Saul.Y...@MacLaren.com>
Subject RE: Need Dynamic Form Beans feature for Struts1.0.2
Date Wed, 15 Jan 2003 21:20:02 GMT
Yes, I agree. I probably won't do a full DynamicActionForm
re-implementation, but part of its functions. Basically we need to
define all form fields in a XML file and create a dynamic form bean
that'll work in Struts1.0.2 and better yet, with the Validator. I found
the following link:

http://husted.com/struts/resources/DynamicProperties.htm 

which is listed under the Contributor's extension in the Struts site, I
am wondering if this is something I can base on to build the dynamic
forms?

Thanks,
Saul

-----Original Message-----
From: Craig R. McClanahan [mailto:craigmcc@apache.org] 
Sent: Wednesday, January 15, 2003 3:27 PM
To: Struts Users Mailing List
Subject: RE: Need Dynamic Form Beans feature for Struts1.0.2







On Wed, 15 Jan 2003, Yuan, Saul (TOR-ML) wrote:

> Date: Wed, 15 Jan 2003 10:24:16 -0500
> From: "Yuan, Saul (TOR-ML)" <Saul.Yuan@MacLaren.com>
> Reply-To: Struts Users Mailing List <struts-user@jakarta.apache.org>
> To: Struts Users Mailing List <struts-user@jakarta.apache.org>
> Subject: RE: Need Dynamic Form Beans feature for Struts1.0.2
>
> Can you give me more details, like what jar files, where to get them
and
> how to use them etc...
>

I suspect that Ashok.D is talking about the commons-beanutils.jar
library,
which is what Struts 1.1 uses.  You can get it from a nightly Struts 1.1
release, or separately at:

 
http://jakarta.apache.org/builds/jakarta-commons/nightly/commons-beanuti
ls/

You can certainly use this library (and it's embedded support for
WrapDynaBean and things like that in a Struts 1.0.2 environment).
Howver,
you won't be able to use DynaActionForm unless you modify all the Struts
code that uses org.apache.struts.util.BeanUtils and
org.apache.struts.util.PropertyUtils to use the commons equivalents
instead.  That is a *lot* of work, and is technically more risky than
just
migrating to 1.1 (because you'll need to support it all yourself).

> Thanks a lot,
> Saul
>

Craig



--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message