Peter,

You can do something like this in the page specification ...

<bean name="evenOdd" class="org.apache.tapestry.bean.EvenOdd"/>

<component id="eachEntry" type="For">
   <binding name="source" value="entries"/>
   <binding name="class" value="beans.evenOdd.next"/>
</component>


~KEGan


On 6/28/06, Peter Dawn <[EMAIL PROTECTED]> wrote:
this question has probably been asked a few times, so my apologies for
being repetitive here.

i have been able to get alternate row colours within my contribtable
but am unable to get the same result using foreach. i remember reading
about this a while ago but i cant find the information now. so does
anybody know how to display alternate row colours using the foreach
component.

thanks.

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


Reply via email to