On Mon, 2003-11-24 at 12:51, Michal Maczka wrote:
> Maybe this will help:
> http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html#isEmpty()
>
> > -----Original Message-----
> > From: Vincent Massol [mailto:[EMAIL PROTECTED]
> > Sent: Monday, November 24, 2003 5:55 PM
> > To: 'Maven Users List'
> > Subject: New dashboard feature request (was RE: [ANN] Dashboard
> > plugin 1.1 released)
> >
> >
> > dIon,
> >
> > I've almost implemented it. If you can help me resolve the following
> > problem, it's done:
> >
> > <x:set var="notEmptyElems" select="aggregator[not(text() = '-')]"/>
> > <j:if test="${notEmptyElems.size() == '0'}">
> >
> > The call to notEmptyElems.size() is failing. Not sure why? Maybe because
> > it returns a number?
> >
> Maybe this will help:
> http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html#isEmpty()
You need to use the special size() operator:
${size(notEmptyElems) == 0}
>
> Michal
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
jvz.
Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org
In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
-- Jacques Ellul, The Technological Society
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]