> -----Ursprüngliche Nachricht-----
> Von: Rick Reumann [mailto:[EMAIL PROTECTED] 
> Gesendet: Mittwoch, 13. Juli 2005 19:24
> An: Struts Users Mailing List
> Betreff: Re: Alternate color in html:iterate
> 
...

> You mentioned you were using logic:iterate, which in that 
> case replace ${status.index} with whatever your current count 
> var is (forgot the logic:iterate syntax).
<logic:iterate name="..." id="..." type="..."
indexId="nameOfTheIndexVarOfTypeInteger">
So in this case it would be:

        <tags:AltRowColor status="<%=nameOfTheIndexVarOfTypeInteger%>"/>

Rick is it possible to extend your tag with attr. statusName to give the
name of the attribute in a scope which holds 
the value instead of the value itself? :-) It would save = <% %>

Regards
Leon


 



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

Reply via email to