TED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Monday, February 10, 2003 11:36 PM
Subject: RE: Rendering alternate rows of a table in Struts
> Hi,
>
>I found this from the archives.
>
>
>
>
>
>
I think that there is a way to check the index value with logic compare
tags.
Mohan
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 8:30 PM
To: [EMAIL PROTECTED]
Subject: Re: Rendering alternate rows
I think that there is a way to check the index value with logic compare
tags.
Mohan
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 8:30 PM
To: [EMAIL PROTECTED]
Subject: Re: Rendering alternate rows of a tabl
I really need to move to the states and get me some of that blunt action!
- Original Message -
From: "Mark Galbreath" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, February 07, 2003 9:18 PM
Subject:
On Fri, 7 Feb 2003, Micael wrote:
>
> That is, as they say, "WAY COOL". Someone is thinking.
>
That's why we went to a new major version number (2.0) instead of an
incremental update (it was originally proposed to be 1.3). And these two
new features are only two of lots ...
The "Proposed Fin
On Fri, 7 Feb 2003, Sundar Narasimhan wrote:
> Date: Fri, 7 Feb 2003 16:02:32 -0500
> From: Sundar Narasimhan <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED], [EMAIL PROTECTED]
> Subject: RE: Rendering alternate rows of a table in Struts
>
> Hi, Craig:
>
> >JSTL i
IL PROTECTED]>
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> Subject: RE: Rendering alternate rows of a table in Struts
>
> Oh, and cutting and pasting tags is better? With scriptlets, you need to
> know one thing: Java. With taglibs you must expand and j
Indeed, JSP is starting to feel mature in many more ways. :)
Chris
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 3:54 PM
To: [EMAIL PROTECTED]
Subject: RE: Rendering alternate rows of a table in Struts
Cool! JSP is catching up to
Craig wrote:
> * Tag files, which allow a page author to point at a chunk of
> JSP code (which might itself have tag invocations insode) and
> say, in effect, "treat this chunk of stuff as a custom tag".
> Now, page authors can create and reuse presentation-ish stuff
> just as easily as Ja
Hi, Craig:
>JSTL in particular covers a huge amount of ground on the nitty gritty
>things, and (where it overlaps with things in the struts-bean and
>struts-logic libraries) does it much better, mostly thanks to the
>expression language's power.
I couldn't agree w/ this statement more after spen
Cool! JSP is catching up to ColdFusion's ease of use. I'm a big CF fan but
there's really no need for it when we have free Java.
David
You are correct that designing correct tags in JSP 1.1/1.2 isn't all that
easy. However, folks will *really* like what is coming up in JSP 2.0 in
this area --
> > -Original Message-
> > From: David Graham [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, February 07, 2003 3:13 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: Rendering alternate rows of a table in Struts
> >
> >
> > How is this:
>
> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 07, 2003 3:13 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Rendering alternate rows of a table in Struts
>
>
> How is this:
>
>
> " />
>
> easi
On Fri, 7 Feb 2003, Mark Galbreath wrote:
> Date: Fri, 7 Feb 2003 14:35:18 -0500
> From: Mark Galbreath <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> Subject:
Hey Ken! Would you please share the URL to this library? I read much about
it but I can only find the .NET version ( http://www.dotnetmagic.com/ ).
Where is the Java version?
TIA,
Mark
-Original Message-
From: Ken Anderson [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 2:45
And why aren't you sharing?
-Original Message-
From: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 2:52 PM
What kind of smoke break are you taking?
> -Original Message-
> From: Ken Anderson [mailto:[EMAIL PROTECTED]]
> Sent: Friday, Feb
FUD
> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 07, 2003 2:13 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Rendering alternate rows of a table in Struts
>
>
> How is this:
>
>
> "
ROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Subject: RE: Rendering alternate rows of a table in Struts
Date: Fri, 7 Feb 2003 15:01:10 -0500
I just created a RowToggler class with a getValue() method that returns
an alternating value each time you ca
I just created a RowToggler class with a getValue() method that returns
an alternating value each time you call it. Then, in JSP, I do:
and on each table row:
" />
which gives alternating rows different CSS class names. This especially
works better than scripting if the data in the rows of the
What kind of smoke break are you taking?
> -Original Message-
> From: Ken Anderson [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 07, 2003 1:45 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Rendering alternate rows of a table in Struts
>
>
> Personally I p
Personally I prefer the new Java Magic library. You just sprinkle the magic dust on
your keyboard and say the magic words and BAM you got table rows with alternating
colors. This way I don't have to argue with my fellow developers over scriplets vs.
custom tags. We just all rely on Java Magic an
> >Oh, and cutting and pasting tags is better?
>
> Yes. This allows changes to occur in one place rather than every jsp using
> the scriptlet.
Sounds like tomato = to-may-to = to-mah-to to me (i.e., personal preference). In one
case you have to maintain tags which are customized. In the othe
t there is afraid of taglibs because they seem too
difficult to understand, then don't be, they aren't.
-Dave
> -Original Message-
> From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 07, 2003 1:35 PM
> To: 'Struts Users Mailing List'
&g
Oh, and cutting and pasting tags is better?
Yes. This allows changes to occur in one place rather than every jsp using
the scriptlet.
David
_
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com
Oh, and cutting and pasting tags is better? With scriptlets, you need to
know one thing: Java. With taglibs you must expand and juggle knowledge by
an order of magnitude. Anybody who knows Java can understand a scriptlet;
the converse cannot be said of taglibs.
Mark
-Original Message-
> To: 'Struts Users Mailing List'
> Subject: RE: Rendering alternate rows of a table in Struts
>
>
> Well, let's be honest, dude. The great idea behind taglibs
> in the first
> place was to allow non-developers such as HTMLers and graphic
> artists
-
From: Rob Kischuk [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 11:13 AM
To: 'Struts Users Mailing List'
Subject: RE: Rendering alternate rows of a table in Struts
> That's all well and good but what happens when the author no longer
supports
> it, technology m
Okay, okay...enough already! :-) I've SEEN the light! (right, Simon?)
http://java.sun.com/products/jsp/taglibraries.html
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 1:05 PM
One of the nice things about custom tag libraries i
On Fri, 7 Feb 2003, Mark Galbreath wrote:
> Date: Fri, 7 Feb 2003 10:04:44 -0500
> From: Mark Galbreath <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> Subject:
The problem was defined by the original query, which specifically asked, "Is
there a struts tag...". My responses were restricted to the problem space.
If you want to introduce new parameters, then it's a whole new problem that
requires another response set. Although I advocated a particular solu
ng List" <[EMAIL PROTECTED]>
Sent: Friday, February 07, 2003 9:19 AM
Subject: Rendering alternate rows of a table in Struts
Hi All,
I am using logic iterate tag to iterate over a collection
and display the contents of the collection in the
form of a table.
I want to render the alternate r
At bottom...
<% int count = 0 %>
<% if( count % 2 == 0 ) { %>
<% } else { %>
<% } %>
<% count++ %>
What could be simpler and clearer?
Using a taglib.
Isn't this much better?
David
___
't know the URL.
Mike
>From: Justin Ashworth <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
>Subject: RE: Rendering alternate rows of a table in Struts
>Date
albreath [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 07, 2003 10:04 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Rendering alternate rows of a table in Struts
>
>
> That's all well and good but what happens when the author no
> longer supports
&g
. We did it. Sorry I can't be more help but I don't know the URL.
Mike
>From: Justin Ashworth <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
>Subject: RE: Re
gt;
To: [EMAIL PROTECTED]
Subject: Re: Rendering alternate rows of a table in Struts
Date: Fri, 07 Feb 2003 08:00:12 -0700
http://jakarta.apache.org/struts/resources/taglibs.html
At the bottom of the page is RowTag.
David
Hi All,
I am using logic iterate tag to iterate over a collection
and d
#x27;t know the URL.
Mike
From: Justin Ashworth <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
Subject: RE: Rendering alternate rows of a table in Struts
Date: Fri, 07 Feb 2003
Okay, you can call me by my American Native name.
Eating Crow
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 10:00 AM
http://jakarta.apache.org/struts/resources/taglibs.html
At the bottom of the page is RowTag.
-
http://jakarta.apache.org/struts/resources/taglibs.html
At the bottom of the page is RowTag.
David
Hi All,
I am using logic iterate tag to iterate over a collection
and display the contents of the collection in the
form of a table.
I want to render the alternate rows with different background
x27;Struts Users Mailing List'
Subject: RE: Rendering alternate rows of a table in Struts
You can do it quite easily with JSTL...
Data
> -Original Message-
> From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 07, 2003 9:35 AM
>
AIL PROTECTED]> on 02/07/2003 08:19:21 AM
Please respond to "Struts Users Mailing List"
<[EMAIL PROTECTED]>
To:"Struts Users Mailing List" <[EMAIL PROTECTED]>
cc:
Subject: Rendering alternate rows of a table in Struts
Hi All,
I am using logic iter
You can do it quite easily with JSTL...
Data
> -Original Message-
> From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 07, 2003 9:35 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Rendering alternate
-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 9:35 AM
To: 'Struts Users Mailing List'
Subject: RE: Rendering alternate rows of a table in Struts
No. You have to use a scriptlet. But remember - philosophical purity
should always yield
(untested):
-Original Message-
From: Ritesh Singhal [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 9:19 AM
To: Struts Users Mailing List
Subject: Rendering alternate rows of a table in Struts
Hi All,
I am using logic iterate tag to iterate over a collection
and display the conte
No. You have to use a scriptlet. But remember - philosophical purity
should always yield to pragmatism.
Mark
-Original Message-
From: Ritesh Singhal [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 9:19 AM
I am using logic iterate tag to iterate over a collection and display
Hi All,
I am using logic iterate tag to iterate over a collection
and display the contents of the collection in the
form of a table.
I want to render the alternate rows with different background colours.
I don't want to use scriptlet for finding the row number and set the
colour.
Is there any Strut
46 matches
Mail list logo