Oh, the "prop" prefix is far more powerful than i knew... I thought it was used only for getters.
_______________________ Everton Agner Ramos 2011/2/25 Martin Strand <do.not.eat.yellow.s...@gmail.com> > On Fri, 25 Feb 2011 15:48:57 +0100, Everton Agner <ton.ag...@gmail.com> > wrote: > > 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.. >> > > No need for getters in this particular case. > 'prop' is a slightly misleading name, since it is able to do more than > simple properties. Check the bottom of this page for some examples: > http://tapestry.apache.org/property-expressions.html > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >