RE: Help with logic tags, and commas please.

2005-02-04 Thread Martin Gainty
,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

RE: Help with logic tags, and commas please.

2005-02-03 Thread Mick.Knutson
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

Re: Help with logic tags, and commas please.

2005-02-03 Thread Kishore Senji
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

RE: Help with logic tags, and commas please.

2005-02-03 Thread Mick.Knutson
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

Re: Help with logic tags, and commas please.

2005-01-20 Thread bmf5
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

RE: Help with logic tags, and commas please.

2005-01-20 Thread Mick.Knutson
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

RE: Help with logic tags, and commas please.

2005-01-19 Thread Mick.Knutson
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

Re: Help with logic tags, and commas please.

2005-01-19 Thread Kishore Senji
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

Re: Help with logic tags, and commas please.

2005-01-19 Thread Kishore Senji
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

Help with logic tags, and commas please.

2005-01-14 Thread Mick.Knutson
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

Re: Help with logic tags, and commas please.

2005-01-14 Thread Jim Barrows
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

Re: Help with logic tags, and commas please.

2005-01-14 Thread bmf5
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