-1 

Looking to call a method besides get*() runs contrary to the JavaBean
specification. Struts should stick to the book. 

-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3463
-- http://www.husted.com/about/struts/


c tang wrote:
> 
> Hi there,
> 
> I'd like a new feature being added to Nested
> References of bean tag.  Currently it can read from
> property with getter method.  It would be nice if it
> can read from a pure method too.
> 
> For example,
> currently
> property="foo.bar"
> is translated into the equivalent the Java expression:
>     getFoo().getBar()
> 
> I propose that if getBar() is not available,
> property="foo.bar"
> is translated into the equivalent the Java expression:
>     getFoo().bar()
> 
> This is a feature in webobject, which allows access to
> an object without have to define an attribute.
> 
> ct
> 
> __________________________________________________
> Do You Yahoo!?
> NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
> http://geocities.yahoo.com/ps/info1

Reply via email to