Re: Need Dynamic Form Beans feature for Struts1.0.2

2003-01-15 Thread ashokd
Hi,

By using 1.0.2 also we can use Dynamic Form.
For this we need to add some .zar files.
I expermented with 1.0.2

Thnaks  Regards,
Ashok.D
- Original Message -
From: Yuan, Saul (TOR-ML) [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, January 09, 2003 3:03 AM
Subject: RE: Need Dynamic Form Beans feature for Struts1.0.2




 Thanks, Craig, I got to trust you :-)

 Saul

 -Original Message-
 From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 08, 2003 4:13 PM
 To: Struts Users Mailing List
 Subject: Re: Need Dynamic Form Beans feature for Struts1.0.2







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

  Date: Wed, 8 Jan 2003 15:55:29 -0500
  From: Yuan, Saul (TOR-ML) [EMAIL PROTECTED]
  Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Need Dynamic Form Beans feature for Struts1.0.2
 
  Hi,
 
 
 
  We really need the Dynamic Form Beans feature in Struts1.1, but we're
  stuck with Struts1.0.2, just wondering what's the best way to add that
  feature to Struts1.0.2? Or any existing samples out there?
 

 (1) Upgrade to 1.1 -- the easy way :-)
 (2) Go make about 1000 lines worth of code changes
 to the o.a.s.u.BeanUtils and o.a.s.u.PropertyUtils
 classes, along with changes to most of the tags,
 to implement it yourself.

 In short, it is not really very practical.

 
 
  Thanks in advance,
 
 
 
  Saul

 Craig


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



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



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




RE: Need Dynamic Form Beans feature for Struts1.0.2

2003-01-15 Thread Yuan, Saul (TOR-ML)
Can you give me more details, like what jar files, where to get them and
how to use them etc...

Thanks a lot,
Saul


-Original Message-
From: ashokd [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 15, 2003 12:55 AM
To: Struts Users Mailing List
Subject: Re: Need Dynamic Form Beans feature for Struts1.0.2





Hi,

By using 1.0.2 also we can use Dynamic Form.
For this we need to add some .zar files.
I expermented with 1.0.2

Thnaks  Regards,
Ashok.D
- Original Message -
From: Yuan, Saul (TOR-ML) [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, January 09, 2003 3:03 AM
Subject: RE: Need Dynamic Form Beans feature for Struts1.0.2




 Thanks, Craig, I got to trust you :-)

 Saul

 -Original Message-
 From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 08, 2003 4:13 PM
 To: Struts Users Mailing List
 Subject: Re: Need Dynamic Form Beans feature for Struts1.0.2







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

  Date: Wed, 8 Jan 2003 15:55:29 -0500
  From: Yuan, Saul (TOR-ML) [EMAIL PROTECTED]
  Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Need Dynamic Form Beans feature for Struts1.0.2
 
  Hi,
 
 
 
  We really need the Dynamic Form Beans feature in Struts1.1, but
we're
  stuck with Struts1.0.2, just wondering what's the best way to add
that
  feature to Struts1.0.2? Or any existing samples out there?
 

 (1) Upgrade to 1.1 -- the easy way :-)
 (2) Go make about 1000 lines worth of code changes
 to the o.a.s.u.BeanUtils and o.a.s.u.PropertyUtils
 classes, along with changes to most of the tags,
 to implement it yourself.

 In short, it is not really very practical.

 
 
  Thanks in advance,
 
 
 
  Saul

 Craig


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



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



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



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




RE: Need Dynamic Form Beans feature for Struts1.0.2

2003-01-15 Thread Craig R. McClanahan


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

 Date: Wed, 15 Jan 2003 10:24:16 -0500
 From: Yuan, Saul (TOR-ML) [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 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-beanutils/

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:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Need Dynamic Form Beans feature for Struts1.0.2

2003-01-15 Thread Yuan, Saul (TOR-ML)
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:[EMAIL PROTECTED]] 
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) [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 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:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



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




Need Dynamic Form Beans feature for Struts1.0.2

2003-01-08 Thread Yuan, Saul (TOR-ML)
Hi,

 

We really need the Dynamic Form Beans feature in Struts1.1, but we're
stuck with Struts1.0.2, just wondering what's the best way to add that
feature to Struts1.0.2? Or any existing samples out there?

 

Thanks in advance,

 

Saul

 




Re: Need Dynamic Form Beans feature for Struts1.0.2

2003-01-08 Thread Craig R. McClanahan


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

 Date: Wed, 8 Jan 2003 15:55:29 -0500
 From: Yuan, Saul (TOR-ML) [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Need Dynamic Form Beans feature for Struts1.0.2

 Hi,



 We really need the Dynamic Form Beans feature in Struts1.1, but we're
 stuck with Struts1.0.2, just wondering what's the best way to add that
 feature to Struts1.0.2? Or any existing samples out there?


(1) Upgrade to 1.1 -- the easy way :-)
(2) Go make about 1000 lines worth of code changes
to the o.a.s.u.BeanUtils and o.a.s.u.PropertyUtils
classes, along with changes to most of the tags,
to implement it yourself.

In short, it is not really very practical.



 Thanks in advance,



 Saul

Craig


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




RE: Need Dynamic Form Beans feature for Struts1.0.2

2003-01-08 Thread Yuan, Saul (TOR-ML)


Thanks, Craig, I got to trust you :-)

Saul

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 08, 2003 4:13 PM
To: Struts Users Mailing List
Subject: Re: Need Dynamic Form Beans feature for Struts1.0.2







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

 Date: Wed, 8 Jan 2003 15:55:29 -0500
 From: Yuan, Saul (TOR-ML) [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Need Dynamic Form Beans feature for Struts1.0.2

 Hi,



 We really need the Dynamic Form Beans feature in Struts1.1, but we're
 stuck with Struts1.0.2, just wondering what's the best way to add that
 feature to Struts1.0.2? Or any existing samples out there?


(1) Upgrade to 1.1 -- the easy way :-)
(2) Go make about 1000 lines worth of code changes
to the o.a.s.u.BeanUtils and o.a.s.u.PropertyUtils
classes, along with changes to most of the tags,
to implement it yourself.

In short, it is not really very practical.



 Thanks in advance,



 Saul

Craig


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



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