s.
M>
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: 29 July 2005 03:59
To: user@struts.apache.org
Subject: Re: Merging form properties
Wendy Smoak wrote:
> From: "Dave Newton" <[EMAIL PROTECTED]>
>
>> if in the getProper
Wendy Smoak wrote:
From: "Dave Newton" <[EMAIL PROTECTED]>
if in the getPropertyDescriptors method you checked the values for
null and only returned those that weren't null would this work?
That's what I was thinking... but looking at the BeanInfo interface, you
don't have access to the be
From: "Dave Newton" <[EMAIL PROTECTED]>
if in the getPropertyDescriptors method you checked the values for null
and only returned those that weren't null would this work?
That's what I was thinking... but looking at the BeanInfo interface, you
don't have access to the bean itself, so as Lauri
Laurie Harper wrote:
Wendy Smoak wrote:
I haven't done it, but you can use a BeanInfo class to control what
properties are exposed:
http://java.sun.com/docs/books/tutorial/javabeans/beaninfo/
That wont work, though, if you don't know at design time which
properties you need to copy and w
Wendy Smoak wrote:
From: "Cadariu, Mihai" <[EMAIL PROTECTED]>
I have two instances of the same form bean class, both containing some
properties filled, the rest being null. I would like to copy the non-null
properties from one form bean to the other. I tried using the
PropertyUtils.copyPropertie
From: "Cadariu, Mihai" <[EMAIL PROTECTED]>
> I have two instances of the same form bean class, both containing some
> properties filled, the rest being null. I would like to copy the non-null
> properties from one form bean to the other. I tried using the
> PropertyUtils.copyProperties or BeanUtil
Hi,
Is there a way to merge properties of two formbeans?
I have two instances of the same form bean class, both containing some
properties filled, the rest being null. I would like to copy the non-null
properties from one form bean to the other. I tried using the
PropertyUtils.copyProperties or B
7 matches
Mail list logo