Sorry, the first tml is better written as : SomePage.tml: ... <a t:id="linkId">Link text</a> ...
On Wed, Jun 10, 2009 at 8:39 PM, Sergey Didenko<sergey.dide...@gmail.com> wrote: > Hi, > > Is this the most concise and clear way to create a PageLink to the > current page? Or are there other solutions that don't look so hacky? ( > Note that "literal:" part) > > SomePage.tml: > ... > <a t:id="linkId" t:page="literal:" t:context="context=someContext" > class="action">Link text</a> > ... > > SomePage.java: > ... > �...@component( id = "linkId", parameters = { "page=literal:", > "context=someContext" } ) > private PageLink myLinkr; > ... > > BTW, the following alone does not work: > > SomePage.tml: > ... > <a t:id="linkId" t:page="literal:" t:context="context=someContext" > class="action">Link text</a> > ... > > Regards, Sergey. > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org