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 Laurie said you would have to know in advance which properties to expose. Never mind, then. :)

You should probably ask on commons-user... I bet there's a simple way to do this. (The next thing that comes to mind is subclassing BeanUtilsBean and overriding the copyProperty method to make it ignore properties for which the incoming value is null. Would that work?)

--
Wendy Smoak


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

Reply via email to