Hi Sanjay,

You might want to look into
http://husted.com/struts/resources.htm
RowTag (ZIP file for download) by Amarda Business Systems Ltd - Source for a
Struts-compatible tag to generate alternating row colors in a table by Niall
Pemberton.

Hope this helps.

-MS.


-----Original Message-----
From: Sanjay Choudhary [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 6:23 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Nester iterate and style sheet


Hi guys,

I have the following code
<nested:iterate property="accountCode">
  <TR>
     <TD><nested:checkbox property="toDelete"/></TD>
     <TD width="186" colspan="3">
     <nested:text property="region"/></TD>
  </TR>
</nested:iterate>

To odd rows I wish to apply different style sheet and
to even a different. How can I do this? Didn't like
the idea of hard coding the style sheet values in the
Formbean and then retreive from there.

I tried following
   <TR class="<bean:message key='<bean:write
property='stylesheet' name='accountCode'/>'/>">

I thought I will configure the style sheet names in
application.properties file. But this didn't work.

Please advice.

Thanks,
Sanjay





__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards.
http://movies.yahoo.com/

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to