On Tue, 20 Mar 2001, Maya Muchnik wrote:
> Hi,
>
> If I am using PropertyUtils.copyProperties(user, info) then original bean
> info must to have all properties that user bean has? If info has only 3
> properties, and user has 18, copy will not work? I need to use this way,
> because, for example, logon form needs only 3 properties, but user form (full
> user info) has 18 properties. And only user bean has a method (function) to
> check if a user is legal.
>
The copyProperties() method will only copy when the property names
match. It will ignore any unmatching properties in the origin or
destination beans.
> Thanks in advance.
>
> Maya
>
>
Craig