tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject RE: Problem with "empty" key word on a collection.
Date Thu, 13 Feb 2003 21:01:12 GMT


On Thu, 13 Feb 2003, Schnitzer, Jeff wrote:

> > From: Shawn Bayern [mailto:bayern@essentially.net]
> >
> > > Why not implement the empty keyword on all collections?  The method
> > > isEmpty is available in the Collection interface.  Was there some
> sort
> > > of argument against that when the spec was defined?
> >
> > I believe so; I don't remember the details of the debate, but I think
> the
> > justification is that the EL doesn't deal with Collections in general
> in
> > any other situation.
>
> ??  I'm pretty sure I can do a forEach across a Collection.
>
> This seems entirely inane.  Would someone patch the Jakarta
> implementation to allow the empty operator on Collection?  We don't use
> specifications, we use software.

For Tomcat, I imagine the answer would be a flat no, but Jeff has a point
here. Standard Taglib isn't the RI anymore is it? Doesn't that come from
Sun?

So can't Standard Taglib add patches like this that are natural and
right?

Hen


---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message