On Thu, 19 Jul 2012 23:49:52 -0300, mu <mubao...@gmail.com> wrote:

:) thanks

You're welcome! :) By the way, the Tapestry BeanModel-based components (BeanEditor, BeanEditForm, Grid and BeanDisplay) use this exact same solution.


On Fri, Jul 20, 2012 at 10:20 AM, Thiago H de Paula Figueiredo
<thiag...@gmail.com> wrote:
On Thu, 19 Jul 2012 22:00:04 -0300, mu <mubao...@gmail.com> wrote:

You can @Inject ComponentResource, use getPage() to retrive the page
instance as a Component and use Component.getBlock().


it works, thanks. Does this pattern i used here against Tapestry's
philosophy and architecture?


Nope. I'd never suggested something that goes agains Tapestry's philosophy
and architecture. :D


--
Thiago H. de Paula Figueiredo

---------------------------------------------------------------------
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



--
Thiago H. de Paula Figueiredo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to