Maybe I have not clearly stated my case.
Let me give you an example, hope that will help.

A Bean defines a method called findWhere which
calls a ejb bean and return a Collection of 
objects.  In current implementation, There is no way
to use taglib to get hold of the collection of object
in a jsp page other than usng ugly scriptlet.  Does
that go against what taglib is all about?

ct

--- [EMAIL PROTECTED] wrote:
> -1.
> 
> If someone wants to code their *beans* this way,
> they should code/generate 
> a BeanInfo to go with it, IMHO.
> 
> --
> dIon Gillard, Multitask Consulting
> Work:      http://www.multitask.com.au
> JavaNews: http://www.multitask.com.au/JavaNews
> ----- Forwarded by dIon Gillard/Multitask
> Consulting/AU on 11/10/2001 02:44 PM -----Re: new
> feature
> 
> -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!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

Reply via email to