That doesn't seem right. What version are you using?
I recently finished cactus tests on the logic tags, and I test exactly
what you've described without failures.
In fact, I just tried this in a test.jsp:
%@ page contentType=text/html;charset=UTF-8 language=java %
%@ taglib
the man who
cannot read them.
- Mark Twain (1835-1910)
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]] On Behalf
Of James Mitchell
Sent: Wednesday, February 19, 2003 10:56 AM
To: 'Struts Users Mailing List'
Subject: RE: logic:empty and logicnotEmpty
.
- Mark Twain (1835-1910)
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 11:02 AM
To: 'Struts Users Mailing List'
Subject: RE: logic:empty and logicnotEmpty with a Collection (again)
Oops, hold that thought. I didn't read
Ok. Scratch that, I was correct the first time.
You are right. I had been using 1.1b2 without knowing :-(. I changed to
1.1b3 and everything is fine.
Sorry, my fault. Thanks for the help.
Btw, is there an easy way to tell which particular minor version of Struts
is in use, maybe from the
Looking at the docs it seems like it is the *notEmpty* that works with both Strings
and Collections. The title for notEmpty at
http://jakarta.apache.org/struts/userGuide/printer/struts-logic.html#notEmpty reads
Evaluate the nested body content of this tag if the
requested variable is
5 matches
Mail list logo