You just leverage the ability to override how particular columns are rendered:

This assumes that your items have a property named label that you want
to convert into a link.


<t:grid row="item" ...>
  <t:parameter name="label">
    <t:pagelink page="ItemDetail" context="item.id">${item.label}</t:pagelink>
  </t:parameter>
</t:grid>


On 9/25/07, Jean-Philippe Steinmetz <[EMAIL PROTECTED]> wrote:
> I would like to make each of the rows in my grid component output link to
> some page. For instance have each row link to a detail page about that row.
> Is this possible with the grid component? If so how can I do it? Thanks
>
>
>
> Jean-Philippe Steinmetz
>
>
>
>


-- 
Howard M. Lewis Ship
Partner and Senior Architect at Feature50

Creator Apache Tapestry and Apache HiveMind

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

Reply via email to