Re: T5.1: Get block by (page and block) names?

2009-08-27 Thread ThirstyCrow
Thiago H. de Paula Figueiredo wrote: > > t:context="[property1, property2]" > This is just what I want. Thanks again, Thiago. -- View this message in context: http://www.nabble.com/T5.1%3A-Get-block-by-%28page-and-block%29-names--tp25151389p25183100.html Sent from the Tapestry - User mailin

Re: T5.1: Get block by (page and block) names?

2009-08-27 Thread ThirstyCrow
Thiago H. de Paula Figueiredo wrote: > > Em Thu, 27 Aug 2009 02:35:55 -0300, ThirstyCrow <5451vs5...@gmail.com> > escreveu: > >> it works. However, the solution is still a little ugly. As you see, I >> have to manually split the parameter to get the page and

Re: T5.1: Get block by (page and block) names?

2009-08-26 Thread ThirstyCrow
Thiago H. de Paula Figueiredo wrote: > > Em Wed, 26 Aug 2009 11:29:42 -0300, ThirstyCrow <5451vs5...@gmail.com> > escreveu: > >> if the getPageBlock() method works, everything will be ok. Here is where >> I got stuck. How to implement this method? Or is it

T5.1: Get block by (page and block) names?

2009-08-26 Thread ThirstyCrow
Currently, I have a event handler like this: Object onAction(String page) { return page; } Now I want to enable ajax, so I try to return a certain block rather than the whole page, if the incoming request is a XHR: Object onAction(String page, String block) { if (req