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 BeanUtils.copyProperties but they copy all
properties, whether they are null or not. Is there a way to tweak the
copying, so that only non-null values are overwritten?

TIA,
Mihai


-- 
The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it. 


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

Reply via email to