,NO_REAL_NAME,X_PRIORITY_HIGH
X-Spam-Check-By: apache.org
Content-Class: urn:content-classes:message
X-MimeOLE: Produced By Microsoft Exchange V6.0.6556.0
X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Help with logic tags,
and commas please.
Thread-Index: AcUKNtRyKaSd/IOzQlOYB86XjDx80AAF2vHQ
Priority
cooperation.
-Original Message-
From: Kishore Senji [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 19, 2005 6:49 PM
To: Struts Users Mailing List
Subject: Re: Help with logic tags, and commas please.
On Wed, 19 Jan 2005 18:25:55 -0800, Kishore Senji [EMAIL PROTECTED
c:out
value=${creditApplicationListDto.displayProducts[${key}]}/,
I would return a collection from teh DTO for only true values. The
reason is JSTL cannot invoke the keySet() method on the Map (Since the
method doesn't confine to JavaBean
tags, and commas please.
c:out
value=${creditApplicationListDto.displayProducts[${key}]}/,
I would return a collection from teh DTO for only true values. The
reason is JSTL cannot invoke the keySet() method on the Map (Since the
method
I need to know if this would be correct as well, where
creditApplicationListDto.businessLine is a Boolean:
No. Kishore already explained.
Note that you can do this in the DTO if you want to and expose
the collection through a getter
Not sure if it's the best way but this would be the way
this message. Thank you for
your cooperation.
-Original Message-
From: Kishore Senji [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 19, 2005 6:49 PM
To: Struts Users Mailing List
Subject: Re: Help with logic tags, and commas please.
On Wed, 19 Jan 2005 18:25:55 -0800
PROTECTED]
Sent: Friday, January 14, 2005 11:18 AM
To: Struts Users Mailing List
Subject: Re: Help with logic tags, and commas please.
Not exactly the same, since I have use of a list but here's how I handled
it in JSTL...
c:forEach items=${sessionScope.auditorList} var=auditor
with logic tags, and commas please.
Not exactly the same, since I have use of a list but here's how I handled
it in JSTL...
c:forEach items=${sessionScope.auditorList} var=auditor
varStatus=status
c:if test=${!status.last}
c:out value=${auditor.name}/,nbsp
Subject: Re: Help with logic tags, and commas please.
Not exactly the same, since I have use of a list but here's how I handled
it in JSTL...
c:forEach items=${sessionScope.auditorList} var=auditor
varStatus=status
c:if test=${!status.last}
c:out
I have the following code that prints something like this:
BLN, BCard, SecCard, EquipExp
There may be any combination of any of these 4 items, or non at all.
And what I want is the ability to properly add commas after each item, or not
print a comma if there is not an item:
logic:equal
On Fri, 14 Jan 2005 13:04:07 -0600, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I have the following code that prints something like this:
BLN, BCard, SecCard, EquipExp
There may be any combination of any of these 4 items, or non at all.
And what I want is the ability to properly add commas
Not exactly the same, since I have use of a list but here's how I handled
it in JSTL...
c:forEach items=${sessionScope.auditorList} var=auditor
varStatus=status
c:if test=${!status.last}
c:out value=${auditor.name}/,nbsp
/c:if
12 matches
Mail list logo