On Fri, Feb 07, 2003 at 09:49:20AM +0100, Rickard Öberg wrote:
> hm.. IIRC model() is also a property (both "getModel" and "model" is 
> tested if the "model" property is accessed.
> 
> *If* I recall correctly we might as well use getModel(), since it looks 
> cleaner.

According to the javabeans spec (1.0.1, section 8.3), you need the "get"
for it to be considered a property by the Introspector under normal
circumstances. "is" is allowed for boolean properties. You can customize
things through BeanInfo, of course.

-Chris



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to