Re: How to add a PageLink in a grid?
Yes, I also would like to know the way to have a grid with link on a page. E.g. grid with users list and click on a row takes navigation to an EditSpecifiedUser page. Thanks in advance! On 24/04/07, Donyee [EMAIL PROTECTED] wrote: Is there a simple way to add a pagelink in the row ? Some suggestion will be great! -- Chinese name:徐 依伟 English name: will
Re: How to add a PageLink in a grid?
On 4/24/07, Donyee [EMAIL PROTECTED] wrote: Is there a simple way to add a pagelink in the row ? Some suggestion will be great! Use the t:parameter way: t:parameter name=namecell your hatml goes here /t:parameter This all goes inside a t:grid component -- Massimo http://meridio.blogspot.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to add a PageLink in a grid?
span t:type=Grid source=jobs model=modelForGrid rowsPerPage=2 t:parameter name=updatecell a t:type=PageLink t:page=Start t:context=更新/a /t:parameter /span but how can i get a arg for the t:context? I am new to T5! 2007/4/24, Eugene Lozovan [EMAIL PROTECTED]: Yes, I also would like to know the way to have a grid with link on a page. E.g. grid with users list and click on a row takes navigation to an EditSpecifiedUser page. Thanks in advance! On 24/04/07, Donyee [EMAIL PROTECTED] wrote: Is there a simple way to add a pagelink in the row ? Some suggestion will be great! -- Chinese name:徐 依伟 English name: will -- Chinese name:徐 依伟 English name: will
Re: How to add a PageLink in a grid?
On 4/24/07, Donyee [EMAIL PROTECTED] wrote: span t:type=Grid source=jobs model=modelForGrid rowsPerPage=2 t:parameter name=updatecell a t:type=PageLink t:page=Start t:context=更新/a /t:parameter /span but how can i get a arg for the t:context? Set a row parameter within Grid to point to a property object in your page then grab a property (maybe a pkey if that is db related) from that object: span t:type=Grid source=jobs row=job model=modelForGrid rowsPerPage=2 t:parameter name=updatecell a t:type=PageLink t:page=Start t:context=job.id更新/a /t:parameter /span I am new to T5! Consider look also at the source while looking for answers. -- Massimo http://meridio.blogspot.com