Spring has a BeanUtils class with a copyProperties method. It's
signature is the opposite of Commons BeanUtils (copyProperties(source,
dest) instead of copyProperties(dest, source)).

http://www.springframework.org/docs/api/org/springframework/beans/BeanUtils.html

Matt

On 9/11/06, Ted Husted <[EMAIL PROTECTED]> wrote:
I don't know about Spring. There is a similar functionality in Commons
BeanUtils.

Since a lot of Struts 1 applications use bulk property transfer, we
should decide on a preferred alternative.

Any thoughts on why OSCore, Commons BeanUtils, or something else would
be a better choice? Or, should we just add this well-worn method to
Struts Core?

I'm also reopening WW-1345 for 2.01, since the release notes and
migration guide lacks meaningful advice for S1 to S2 migrations.

-Ted.

On 9/11/06, Don Brown <[EMAIL PROTECTED]> wrote:
> Yes, it is.  Perhaps there is some similar functionality in Spring
> that you could use?
>
> Don
>
> On 9/10/06, Ted Husted <[EMAIL PROTECTED]> wrote:
> > Is com.opensymphony.util.Beanutil part of the oscore dependency.
> >
> > We were using it in the MailReader to bulk transfer properties.
> >
> > -Ted.
> >
> > On 9/10/06, Don Brown <[EMAIL PROTECTED]> wrote:
> > > Along the way, I also removed OSCore as a dependency from XWork and
> > > Struts.  We only used a few classes from it and from what I gather,
> > > the OpenSymphony folks are keen to eliminate it.
> >
> > ---------------------------------------------------------------------
> > 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]
>
>


--
HTH, Ted.
* http://www.husted.com/struts/

---------------------------------------------------------------------
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