flow is the same).
Works like a champ so far. We're in development but it is nice.
Mike
- Original Message -
From: Donald Ball [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 11, 2002 6:06 PM
Subject: Re: Additional logic:iterate helper tags wanted
On 9/11/2002 at 2
On 9/6/2002 at 4:46 PM Martin Cooper wrote:
If you're using a JSP 1.2 container (e.g. Tomcat 4.x, Resin 2.x), you can
do
this (and many other cool things) using the JSTL c:forEach tag:
c:forEach items=items var=item varStatus=status
c:out value=${item}/
c:if test=${!status.last}
wrote:
Date: Wed, 11 Sep 2002 11:17:27 -0400
From: Donald Ball [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: Additional logic:iterate helper tags wanted
On 9/6/2002 at 4:46 PM Martin Cooper
On 9/11/2002 at 9:17 AM Craig R. McClanahan wrote:
At the high level: The JSTL tags are nice. The JSTL expression language
(now adopted by JSP 2.0) is powerful enough to completely eliminate the
need for scriptlets and runtime expressions in JSP pages. JSP 2.0 page
compilers will also let you
: Additional logic:iterate helper tags wanted
On 9/11/2002 at 9:17 AM Craig R. McClanahan wrote:
At the high level: The JSTL tags are nice. The JSTL expression language
(now adopted by JSP 2.0) is powerful enough to completely eliminate the
need for scriptlets and runtime expressions in JSP pages
logic:iterate helper tags wanted
09/11/2002 09:36
AM
today though, so I can't speculate on that one. :)
peace,
Joe Barefoot
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 10:15 AM
To: Struts Users Mailing List
Subject: RE: Additional logic:iterate helper tags wanted
Wow
to create the reusable
aspects of the view).
My 5 c
Mike
- Original Message -
From: [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, September 11, 2002 1:14 PM
Subject: RE: Additional logic:iterate helper tags wanted
Wow, good rhubarb here hiding under
On 9/11/2002 at 10:14 AM [EMAIL PROTECTED] wrote:
Wow, good rhubarb here hiding under a misleading subject title ;-).
rhubarb? do you mean rhetoric? :)
To me, the big strength of the XSLT approach would be the ability to
transform the model into a variety of views (not just one html view). I
On 9/11/2002 at 2:02 PM Michael Lee wrote:
Basically how we got the data dictated the view. I've found XSLT to be
'wordy'. I think its just as easy to write another damned JSP and parse
the
Java Objects up there as it is to create another XSL page and use the same
JSP.
I consider views to be
on.
peace,
Joe
-Original Message-
From: Donald Ball [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 3:04 PM
To: [EMAIL PROTECTED]
Subject: RE: Additional logic:iterate helper tags wanted
On 9/11/2002 at 10:14 AM [EMAIL PROTECTED] wrote:
Wow, good rhubarb here hiding
If you're using a JSP 1.2 container (e.g. Tomcat 4.x, Resin 2.x),
you can do
this (and many other cool things) using the JSTL c:forEach tag:
c:forEach items=items var=item varStatus=status
c:out value=${item}/
c:if test=${!status.last}
...is followed by...
/c:if
On Sat, 2002-09-07 at 16:53, Michaël wrote:
If you're using a JSP 1.2 container (e.g. Tomcat 4.x, Resin 2.x),
you can do
this (and many other cool things) using the JSTL c:forEach tag:
c:forEach items=items var=item varStatus=status
c:out value=${item}/
c:if
Martin == Martin Cooper [EMAIL PROTECTED] writes:
Martin Over time, you'll see Struts tags being deprecated in favour of their JSTL
Martin equivalents, and eventually being dropped. That won't happen any time soon,
Martin though, because we're still committed to supporting Servlets
That's a cool tag. Another that I would be interested in is
logic:doesNothaveSuccesor or logic:isLast name=item, which will evaluate the
tag body only if you've reached the last item in the Collection being processed by
logic:iterate
-Original Message-
From: Christian Tschenett
Hi,
I would suggest naming it logic:hasNext so that it follows the iterator
structure.
Kenny Smith
logic:hasSuccessor name=item %-- is item followed
for (Iterator i = items.iterator(); i.hasNext(); ) {
String item = (String)i.next;
out.print(item);
if (i.hasNext())
If you're using a JSP 1.2 container (e.g. Tomcat 4.x, Resin 2.x), you can do
this (and many other cool things) using the JSTL c:forEach tag:
c:forEach items=items var=item varStatus=status
c:out value=${item}/
c:if test=${!status.last}
...is followed by...
/c:if
/c:forEach
Hi,
logic:iterate id=item name=collection
...
logic:hasNext name=collection...
...or...
logic:hasSuccessor name=item...
...both variants are fine. But what about...
logic:iterate id=item name=aBean property=collection
...makes logic:hasNext name=aBean sense?
Chris
Am Samstag, 7. September
Will the logic-taglib be deprecated in future? Which other struts tags can
be considered as out of date?
Chris
Am Samstag, 7. September 2002 01:46 schrieb Martin Cooper:
If you're using a JSP 1.2 container (e.g. Tomcat 4.x, Resin 2.x), you can
do this (and many other cool things) using the
Subject: Re: Additional logic:iterate helper tags wanted
Will the logic-taglib be deprecated in future? Which other
struts tags can
be considered as out of date?
Chris
Am Samstag, 7. September 2002 01:46 schrieb Martin Cooper:
If you're using a JSP 1.2 container (e.g. Tomcat 4.x
20 matches
Mail list logo