And call onPassivate() through reflection, right?

I missed this case because did not expect my "live" page to extend
interface Component that is returned from componentResources.getPage()

Thanks for your answers!

On Sat, Jun 13, 2009 at 12:26 AM, Thiago H. de Paula
Figueiredo<thiag...@gmail.com> wrote:
> Em Fri, 12 Jun 2009 18:18:10 -0300, Sergey Didenko
> <sergey.dide...@gmail.com> escreveu:
>
>> Well, how I can inject not just ConcretePage but the current page? So
>> the component can be reused on different pages.
>
> @Inject ComponentResources and then call its getPage() method. You may need
> to cast the returned object.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
>
> ---------------------------------------------------------------------
> 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

Reply via email to