You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ken nashua <nh...@hotmail.com> on 2007/06/11 15:37:55 UTC

how to get column index of contrib:table during iteration

Folks,

I am using contrib table... and need to operate off of the current column 
index.

Is there a way to get this?

	<table jwcid="table">
		<div jwcid="linkColumnValue@Block">
			<a jwcid="editLink@EditLink" model="ognl:object" href="#"><span 
jwcid="linkInsert@Insert" value="ognl:object[linkProperty]"/></a>
		</div>
		<div jwcid="blobColumnValue@Block">
				<span jwcid="@TrailsDownload"
					  descriptor="ognl:descriptor"
					  model="ognl:object[linkProperty]"
					  bytes="ognl:object[linkProperty].bytes"
					/>
		</div>
	</table>

Instead of this...
    descriptor="ognl:descriptor"
I would like to do this...
    descriptor="ognl:descriptors[currentColumn]"

Best regards
Ken in nashua

_________________________________________________________________
Get a preview of Live Earth, the hottest event this summer - only on MSN 
http://liveearth.msn.com?source=msntaglineliveearthhm


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org