JavaBean default property editors  
Author Message
Edward Diener No Spam





PostPosted: 2006-10-12 0:37:00 Top

java-programmer, JavaBean default property editors I am looking for information on default property editors for JavaBean
properties. There are three cases in which I am hoping that a default
property editor exists for a given property:

1) The property is a collection class of references to other beans of a
particular base type which has already been been added to a bean
context. I am hoping that there is a default property editor which
allows the end-user programmer to add items to the collection, and then
connect each item to an appropriate bean already existing in the bean
context.

2) The property is a reference to another bean of a particular base type
which has already been added to a bean context. I am hoping that there
is a default property editor which allows the end-user programmer to
connect the property to an appropriate bean already existing in the bean
context.

3) A property editor which takes a reference to another bean as an
embedded bean ( one that is already initialized as a reference in the
parent bean ), and allows the embedded bean to expand its own properties.

Do such property editors exist, or do I actually need some sort of
custom property editor in any or all of these common cases ?