struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Galbreath" <mark_galbre...@qat.com>
Subject RE: [OT] Scriptlets vs. tags
Date Fri, 07 Feb 2003 20:59:18 GMT
It's a common humorous way of making exclusive statements about a class of
things.  The implication is often that of the X is a mystery accessible only
to the enlightened.  Thus my light-hearted association of X = tags_fascists.

-----Original Message-----
From: Durham David Cntr 805CSS/SCBE [mailto:David.Durham1@scott.af.mil] 
Sent: Friday, February 07, 2003 3:51 PM

Doesn't seem relevant.

> -----Original Message-----
> From: Mark Galbreath [mailto:mark_galbreath@qat.com]
> Sent: Friday, February 07, 2003 2:47 PM
> 
> Could be...it's a hacker derivative of the Tao te Ching, "The
> Tao which can be spoken of is not the true Tao."
> 
> -----Original Message-----
> From: Durham David Cntr 805CSS/SCBE
> Sent: Friday, February 07, 2003 3:41 PM
> 
> What is this metaphysical truth?
> 
> > -----Original Message-----
> > From: Mark Galbreath [mailto:mark_galbreath@qat.com]
> > Sent: Friday, February 07, 2003 2:26 PM
> > 
> > Yeah, well just remember that the X that can be Y is not the true X.
> > 
> > > -----Original Message-----
> > > From: David Graham [mailto:dgraham1980@hotmail.com]
> > > Sent: Friday, February 07, 2003 2:13 PM
> > > 
> > > How is this:
> > > 
> > > <jsp:useBean id="rowToggler"class="com.mycompany.RowToggler"/>
> > > <tr class="<bean:write name="rowToggler" property="value"/>" />
> > > 
> > > easier to understand than this:
> > > 
> > > <tag:tr>
> > >   <td></td>
> > > </tag:tr>
> > > 
> > > It's truly amazing that people are still advocating confusing
> > > scripting over easy tags.
> > > 
> > > David
> > > 
> > > 
> > > >From: "Dennis Doubleday" <dennis@righthandmanager.com>
> > > >Reply-To: "Struts Users Mailing List"
> > > <struts-user@jakarta.apache.org>
> > > >To: "'Struts Users Mailing List'"
> <struts-user@jakarta.apache.org>
> > > >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 call it. Then, in JSP, I do:
> > > >
> > > ><jsp:useBean id="rowToggler"class="com.mycompany.RowToggler"/>
> > > >
> > > >and on each table row:
> > > >
> > > ><tr class="<bean:write name="rowToggler" property="value"/>" />
> > > >
> > > >which gives alternating rows different CSS class names. This
> > > especially
> > > >works better than scripting if the data in the rows of the
> > > table aren't
> > > >things that you can iterate through. Put 10 different
> > things in the
> > > >table, reorder them, it doesn't matter.
> > > >
> > > >And MUCH easier than a custom tag.
> > > >
> > > >
> > > 
> > 
> >---------------------------------------------------------------------
> > > >To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> > > >For additional commands, e-mail:
> > struts-user-help@jakarta.apache.org
> > > 
> > > 
> > > _________________________________________________________________
> > > MSN 8 with e-mail virus protection service: 2 months FREE*
> > > http://join.msn.com/?page=features/virus
> > > 
> > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
> > > 
> > > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > 
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message