tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Mishra" <amis...@webifyservices.com>
Subject Converting Code from Struts to Tapestry...
Date Wed, 20 Aug 2003 08:39:41 GMT
Hi all,

I have the following code in struts-velocity

#set($x=0)

#foreach($portlet in $portletlist)

<tr>

#if($x%2==0)

<td>$portlet</td>

#else

<td>$portlet</td>

#end

</tr>

#set($x=$x+1)

#end



I need to convert it into Tapestry.Can anyone provide me with the code related to getting
the index value and using it to my requirements.



Regards

Ashish



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message