You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Pablo dos Reis <pa...@gmail.com> on 2010/11/08 14:41:05 UTC
COMPONENTS LIFE CYCLE
Hi guys,
My doubt is the following
Are there a method similar the onActivate in the components?
I need initialize variables from the parameters before render the component
--
Pablo Henrique dos Reis
Re: COMPONENTS LIFE CYCLE
Posted by Pablo dos Reis <pa...@gmail.com>.
it's work!
thanks Josh and Thiago
2010/11/8 Josh Kamau <jo...@gmail.com>
> HI Pablo;
>
> Have you tried writting a method annotated with @SetupRender ? it works for
> components. You can initialize you component state in that method.
>
>
> regards.
>
> On Mon, Nov 8, 2010 at 8:41 AM, Pablo dos Reis <pablodosreis@gmail.com
> >wrote:
>
> > Hi guys,
> >
> > My doubt is the following
> > Are there a method similar the onActivate in the components?
> > I need initialize variables from the parameters before render the
> component
> >
> >
> > --
> > Pablo Henrique dos Reis
> >
>
--
Pablo Henrique dos Reis
Re: COMPONENTS LIFE CYCLE
Posted by Josh Kamau <jo...@gmail.com>.
HI Pablo;
Have you tried writting a method annotated with @SetupRender ? it works for
components. You can initialize you component state in that method.
regards.
On Mon, Nov 8, 2010 at 8:41 AM, Pablo dos Reis <pa...@gmail.com>wrote:
> Hi guys,
>
> My doubt is the following
> Are there a method similar the onActivate in the components?
> I need initialize variables from the parameters before render the component
>
>
> --
> Pablo Henrique dos Reis
>
Re: COMPONENTS LIFE CYCLE
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Mon, 08 Nov 2010 11:41:05 -0200, Pablo dos Reis
<pa...@gmail.com> wrote:
> Hi guys,
Hi, Pablo!
> My doubt is the following
> Are there a method similar the onActivate in the components?
No.
> I need initialize variables from the parameters before render the
> component
You can use @SetupRender for that.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org