Save yourself all the trouble and use c:if test=!empty
collection/c:if
Affan
- Original Message -
From: Varun Garg [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 3:24 AM
Subject: RE: Checking for a null property
I think you can use
Affan,
Where does this C: tag come from???
...AJ
-Original Message-
From: Affan Qureshi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 4:18 AM
To: Struts Users Mailing List
Subject: Re: Checking for a null property
Save yourself all the trouble and use c:if test=!empty
Subject: Re: Checking for a null property
Save yourself all the trouble and use c:if test=!empty
collection/c:if
Affan
- Original Message -
From: Varun Garg [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 3:24 AM
Subject: RE
: Yansheng Lin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2003 4:12 PM
To: 'Struts Users Mailing List'
Subject: RE: Checking for a null property
logic:notEmpty name=history property=agent
Evaluate if not null;
/logic:notEmpty
From struts api ref:
Evaluate the nested body content
The logic:emplty is suppose to check for this.
---
Thanks...
Mick Knutson
---
From: Jindal, Ashwini [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Checking for a null property
Date: Tue, 24 Jun 2003 15:57:14 -0600
Anyone,
Can anyone
logic:present name=history property=agent
bean:write name=history property=agent.fullName /
/logic:present
-Original Message-
From: Jindal, Ashwini [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2003 4:57 PM
To: [EMAIL PROTECTED]
Subject: Checking for a null property
Mailing List' [EMAIL PROTECTED]
Subject: RE: Checking for a null property
Date: Tue, 24 Jun 2003 17:00:28 -0500
logic:present name=history property=agent
bean:write name=history property=agent.fullName /
/logic:present
-Original Message-
From: Jindal, Ashwini [mailto:[EMAIL PROTECTED
on the java.util.Collection interface).
-Original Message-
From: Mick Knutson [mailto:[EMAIL PROTECTED]
Sent: June 24, 2003 4:04 PM
To: [EMAIL PROTECTED]
Subject: RE: Checking for a null property
But doesn't the present tag just check whether the property is present
Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Checking for a null property
Date: Tue, 24 Jun 2003 17:00:28 -0500
logic:present name=history property=agent
bean:write name=history property=agent.fullName /
/logic:present
-Original Message-
From: Jindal, Ashwini [mailto:[EMAIL
9 matches
Mail list logo