You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ra...@apache.org on 2001/06/10 10:41:02 UTC
cvs commit: jakarta-jetspeed/webapp/WEB-INF/templates/vm/controllers/html column.vm row.vm
raphael 01/06/10 01:41:02
Added: webapp/WEB-INF/templates/vm/controllers/html column.vm
row.vm
Log:
add some templates for VelocityPortletController to be used as
a RowColumnPortletController
Revision Changes Path
1.1 jakarta-jetspeed/webapp/WEB-INF/templates/vm/controllers/html/column.vm
Index: column.vm
===================================================================
<table border="0" cellpadding="2" cellspacing="0" width="100%">
#foreach ( $portlet in $portlets )
#if ($sizes.size() >= $velocityCount)
#set ($height = $!sizes.elementAt($velocityCount-1))
#end
<tr height="$!height">
<td height="$!height">
$!portlet.getContent($data)
</td>
</tr>
#end
</table>
1.1 jakarta-jetspeed/webapp/WEB-INF/templates/vm/controllers/html/row.vm
Index: row.vm
===================================================================
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
#foreach ( $portlet in $portlets )
#if ($sizes.size() >= $velocityCount)
#set ($width = $!sizes.elementAt($velocityCount-1))
#end
<td valign="top" width="$!width">
$!portlet.getContent($data)
</td>
#end
</tr>
</table>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org