For Programmers: Free Programming Magazines  


Home > Archive > Java Beans > October 2006 > JavaBean default property editors









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author JavaBean default property editors
Edward Diener No Spam

2006-10-12, 7:04 pm

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 ?
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com