RE: logic:empty inside logic:iterate

2003-07-10 Thread Joe Zendle
Hi this is a repost. Can anyone help? This looks like a bug to me. I'm about to try JSTL to compare. I'm using struts 1.1, java 1.4.2, tomcat 4.1.24 Cheers. -Original Message- From: Joe Zendle Sent: Wednesday, July 09, 2003 3:20 PM To: Struts Users Mailing List Subject: logic:empty insid

RE: logic:empty issue

2003-06-27 Thread Wendy Smoak
Mick wrote > I also can't seeem to get this to work: > I have an array of Location[] in a DynaForm. Then I want to see if there > are zero elements in that array then post a message but no message is > posting: >name="locationListForm"> ... http://jakarta.apache.org/struts/userGuide/struts-

RE: logic:empty and logicnotEmpty with a Collection (again)

2003-02-19 Thread Steffen . Uhlig
> 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 JAR'

RE: logic:empty and logicnotEmpty with a Collection (again)

2003-02-19 Thread James Mitchell
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&#

RE: logic:empty and logicnotEmpty with a Collection (again)

2003-02-19 Thread James Mitchell
as no advantage over 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&

RE: logic:empty and logicnotEmpty with a Collection (again)

2003-02-19 Thread James Mitchell
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 uri="/WEB-IN

RE: logic:empty and logicnotEmpty with a Collection

2003-02-13 Thread Sri Sankaran
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 neith

Re: logic:empty AND logic:notEmpty Both executing?

2003-01-30 Thread Michael P. Jones
Oh I feel silly now. 8-) Thanks alot! -Michael On Thu, 30 Jan 2003 [EMAIL PROTECTED] wrote: > You are closing your starting tag. > Remove the / at the end of your starting tag > ...pPage.currentImage"> instead of > ...pPage.currentImage"/> > On Thu, 30 Jan 2003 13:41:17 -0500 (EST) > "Mich

RE : logic:empty AND logic:notEmpty Both executing?

2003-01-30 Thread Roy . Stephan
You are closing your starting tag. Remove the / at the end of your starting tag ...pPage.currentImage"> instead of ...pPage.currentImage"/> -Message d'origine- De : Matthew Meyer [mailto:[EMAIL PROTECTED]] Envoyé : jeudi 30 janvier 2003 13:51 À : Struts Users Ma

Re: logic:empty AND logic:notEmpty Both executing?

2003-01-30 Thread Matthew Meyer
I saw this once and couldn't figure it out. Then I reaized that the taglibs weren't defined in the JSP and that they were being evaluated.. Do a view source from your browser, to verify this.. Hope This solves your problem, because it's nice when they are easy to fix. Matt, On Thu, 30 Jan 20

Re: Logic:empty

2001-11-19 Thread martin . cooper
The and tags are not part of Struts 1.0. They are currently available only in the nightly builds. To just check for null, you can use and . The difference is that the 'empty' tags check for an empty string value as well as null. -- Martin Cooper - Original Message - From: "Ines" <[E

RE: Logic:empty

2001-11-19 Thread MacKellar, Kimberly
This may be one of the tags that is in the nightly builds so if you are using the release build it won't be there... Kimberly MacKellar -Original Message- From: Ines [mailto:[EMAIL PROTECTED]] Sent: Monday, November 19, 2001 4:30 PM To: [EMAIL PROTECTED] Subject: Logic:empty I can´t fi

RE: Logic:empty

2001-11-19 Thread Siggelkow, Bill
Use the logic:notPresent tag -Original Message- From: Ines [mailto:[EMAIL PROTECTED]] Sent: Monday, November 19, 2001 5:30 PM To: [EMAIL PROTECTED] Subject: Logic:empty I can´t find the empty tag. The documentation presents it but I could not find the class. The problem i have is that