[Opensource] DefaultAutoElement question

Michael Rimov rimovm at centercomp.com
Fri Mar 14 10:42:51 PST 2003


At 01:29 PM 3/14/2003 +0100, you wrote:
>Hi all,
>I'm using the 
>com.jcorporate.expresso.services.controller.ui.DefaultAutoElement.renderDBObjectField() 
>method. In the source code, I found the following lines:
>
>if (dbobj.isVirtual(fieldName)) {
>    return null;
>}
>
>I've removed these lines, as I want to render my virtual fields as well. I 
>just wonder why it is implemented this way?

Hi Helga.... I think that originally DBMaint didn't provide any 
rendering.  [The entire DefaultAutoElement code base was the effort of 
merging rendering code from 5 different classes into one, so a lot of that 
carried with it identical behaviors.

I agree that rendering it as a read only input might be a great idea at the 
very least.

                                                 -Mike







More information about the Opensource mailing list