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 which to ignore.

Is that true? I glanced briefly at the tutorial and it wasn't immediately clear to me exactly when the BeanInfo stuff was used: if in the getPropertyDescriptors method you checked the values for null and only returned those that weren't null would this work?

Dave



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

Reply via email to