> You could instead use the prop: binding to create a list, like so: > > <t:pagelink page="mypage" context="prop:['context1', 'context2']">link</pagelink>
is there any need to create any getter in the page class? since 'prop' is usually bound to a property/getter. I didn't know this approach.. _______________________ Everton Agner Ramos 2011/2/25 Richard Hill <r...@su3analytics.com> > > Super that works, thanks vm. > > R. > > On Fri, 2011-02-25 at 14:16 +0100, Martin Strand wrote: > > On Fri, 25 Feb 2011 14:01:21 +0100, Richard Hill <r...@su3analytics.com> > > wrote: > > > > > > > > Hi, > > > > > > If I missed this in the docs, mailing list apologies. I am trying to > > > render a page link with 2 context parameters: > > > > > > <t:pagelink page="mypage" > > > context="literal:context1/context2">link</pagelink> > > > > > > This renders as "mypage/context1$002fcontext2", ie the "/" has been tap > > > encoded. As such as opposed to: > > > > > > public void onActivate(context1, context2) > > > > > > being called, this is: > > > > > > public void onActivate(context1) > > > > > > where context1 is passed as "context1/context2" > > > > > > How can i specify multiple contexts with literal: ? > > > > > > The literal: prefix always results in a single string, what you're > looking > > for is an array with two strings. > > > > You could instead use the prop: binding to create a list, like so: > > > > <t:pagelink page="mypage" context="prop:['context1', > > 'context2']">link</pagelink> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > > For additional commands, e-mail: users-h...@tapestry.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >