I want to use the rowtag for the time being before I
move the rowtag to work with <c:foreach.



-----Original Message-----
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Friday, February 21, 2003 7:00 PM
To: [EMAIL PROTECTED]
Subject: Re: logic:iterate


That looks right to me.  I'm curious why you would want to translate
standard tags to Struts tags?

David



>From: "Ray Madigan" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Subject: logic:iterate
>Date: Fri, 21 Feb 2003 17:23:08 -0800
>
>I have a piece of code that works as follows:
>
><c:forEach var='controller' items='${controllers}' >
>
>     <tr>
>       <td align="left"> <c:out value='${controller.name}'/> </td>
>       <td align="left"> <c:out value='${controller.origin}'/> </td>
>       <td align="left"> <c:out value='${controller.state}'/> </td>
>     </tr>
>
></c:forEach>
>
>Is this the appropriate translation into struts logic:iterate? or do I need
>to use the logic-el tags.  The string controllers is a session level
>attribute.
>
><logic:iterate id="controller" collection="controllers">
>
>     <tr>
>       <td align="left"> <bean:write name="controller" property="name"/>
></td>
>       <td align="left"> <bean:write name="controller" property="origin"/>
></td>
>       <td align="left"> <bean:write name="controller" property="state"/>
></td>
>     </tr>
>
></logic:iterate>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


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


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

Reply via email to