You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Alfonso Quiroga <al...@gmail.com> on 2009/11/25 20:11:47 UTC

onActivate avoiding events?

Hi, I have a page and I need the onActivate() method to do things
there, but *only* when it shown to the user.
In the page I have a upload (tapestry-upload), and when I upload the
file... onActivate() is called again... :-(

Is there some way to say... "onActivate()" but avoiding events like
file upload, etc..? thanks in advance

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


Re: onActivate avoiding events?

Posted by Alfonso Quiroga <al...@gmail.com>.
+1 for Maradona (as a PLAYER, I mean the past, not now!!)

On Wed, Nov 25, 2009 at 7:21 PM, Igor Drobiazko
<ig...@gmail.com> wrote:
> +5 for Arshavin. LOL
>
> On Wed, Nov 25, 2009 at 11:18 PM, Andreas Andreou <an...@di.uoa.gr> wrote:
>
>> +1 for Maradona
>>
>> On Wed, Nov 25, 2009 at 9:41 PM, Alfonso Quiroga <al...@gmail.com>
>> wrote:
>> > Mm.. I prefer when you talk about tapestry5 ;) thanks again
>> >
>> > On Wed, Nov 25, 2009 at 4:39 PM, Thiago H. de Paula Figueiredo
>> > <th...@gmail.com> wrote:
>> >> Em Wed, 25 Nov 2009 17:24:33 -0200, Alfonso Quiroga <
>> alfonsosebaq@gmail.com>
>> >> escreveu:
>> >>
>> >>> Thiago that simply works perfect. Thanks again, it's really good to
>> >>> have so fast and quality answers, greetings from Argentina
>> >>
>> >> De nada! :) Greetings from Belo Horizonte, Minas Gerais, Brazil! But
>> Pelé is
>> >> greater than Maradona, hehehe. :D
>> >>
>> >> --
>> >> Thiago H. de Paula Figueiredo
>> >> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
>> and
>> >> instructor
>> >> Owner, software architect and developer, 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
>> >>
>> >>
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> > For additional commands, e-mail: users-help@tapestry.apache.org
>> >
>> >
>>
>>
>>
>> --
>> Andreas Andreou - andyhot@apache.org - http://blog.andyhot.gr
>> Tapestry / Tacos developer
>> Open Source / JEE Consulting
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
>
> --
> Best regards,
>
> Igor Drobiazko
>

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


Re: onActivate avoiding events?

Posted by Igor Drobiazko <ig...@gmail.com>.
+5 for Arshavin. LOL

On Wed, Nov 25, 2009 at 11:18 PM, Andreas Andreou <an...@di.uoa.gr> wrote:

> +1 for Maradona
>
> On Wed, Nov 25, 2009 at 9:41 PM, Alfonso Quiroga <al...@gmail.com>
> wrote:
> > Mm.. I prefer when you talk about tapestry5 ;) thanks again
> >
> > On Wed, Nov 25, 2009 at 4:39 PM, Thiago H. de Paula Figueiredo
> > <th...@gmail.com> wrote:
> >> Em Wed, 25 Nov 2009 17:24:33 -0200, Alfonso Quiroga <
> alfonsosebaq@gmail.com>
> >> escreveu:
> >>
> >>> Thiago that simply works perfect. Thanks again, it's really good to
> >>> have so fast and quality answers, greetings from Argentina
> >>
> >> De nada! :) Greetings from Belo Horizonte, Minas Gerais, Brazil! But
> Pelé is
> >> greater than Maradona, hehehe. :D
> >>
> >> --
> >> Thiago H. de Paula Figueiredo
> >> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and
> >> instructor
> >> Owner, software architect and developer, 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
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
>
>
>
> --
> Andreas Andreou - andyhot@apache.org - http://blog.andyhot.gr
> Tapestry / Tacos developer
> Open Source / JEE Consulting
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Best regards,

Igor Drobiazko

Re: onActivate avoiding events?

Posted by Andreas Andreou <an...@di.uoa.gr>.
+1 for Maradona

On Wed, Nov 25, 2009 at 9:41 PM, Alfonso Quiroga <al...@gmail.com> wrote:
> Mm.. I prefer when you talk about tapestry5 ;) thanks again
>
> On Wed, Nov 25, 2009 at 4:39 PM, Thiago H. de Paula Figueiredo
> <th...@gmail.com> wrote:
>> Em Wed, 25 Nov 2009 17:24:33 -0200, Alfonso Quiroga <al...@gmail.com>
>> escreveu:
>>
>>> Thiago that simply works perfect. Thanks again, it's really good to
>>> have so fast and quality answers, greetings from Argentina
>>
>> De nada! :) Greetings from Belo Horizonte, Minas Gerais, Brazil! But Pelé is
>> greater than Maradona, hehehe. :D
>>
>> --
>> Thiago H. de Paula Figueiredo
>> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and
>> instructor
>> Owner, software architect and developer, 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
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>



-- 
Andreas Andreou - andyhot@apache.org - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

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


Re: onActivate avoiding events?

Posted by Alfonso Quiroga <al...@gmail.com>.
Mm.. I prefer when you talk about tapestry5 ;) thanks again

On Wed, Nov 25, 2009 at 4:39 PM, Thiago H. de Paula Figueiredo
<th...@gmail.com> wrote:
> Em Wed, 25 Nov 2009 17:24:33 -0200, Alfonso Quiroga <al...@gmail.com>
> escreveu:
>
>> Thiago that simply works perfect. Thanks again, it's really good to
>> have so fast and quality answers, greetings from Argentina
>
> De nada! :) Greetings from Belo Horizonte, Minas Gerais, Brazil! But Pelé is
> greater than Maradona, hehehe. :D
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and
> instructor
> Owner, software architect and developer, 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
>
>

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


Re: onActivate avoiding events?

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Wed, 25 Nov 2009 17:24:33 -0200, Alfonso Quiroga  
<al...@gmail.com> escreveu:

> Thiago that simply works perfect. Thanks again, it's really good to
> have so fast and quality answers, greetings from Argentina

De nada! :) Greetings from Belo Horizonte, Minas Gerais, Brazil! But Pelé  
is greater than Maradona, hehehe. :D

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, software architect and developer, 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


Re: onActivate avoiding events?

Posted by Alfonso Quiroga <al...@gmail.com>.
Thiago that simply works perfect. Thanks again, it's really good to
have so fast and quality answers, greetings from Argentina

On Wed, Nov 25, 2009 at 4:14 PM, Thiago H. de Paula Figueiredo
<th...@gmail.com> wrote:
> Em Wed, 25 Nov 2009 17:11:47 -0200, Alfonso Quiroga <al...@gmail.com>
> escreveu:
>
>> Hi, I have a page and I need the onActivate() method to do things
>> there, but *only* when it shown to the user.
>
> Use the @SetupRender event instead of onActivate(). It is only triggered
> when a page is rendered, not being triggered in action requests.
>
>> In the page I have a upload (tapestry-upload), and when I upload the
>> file... onActivate() is called again... :-(
>> Is there some way to say... "onActivate()" but avoiding events like
>> file upload, etc..?
>
> No.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and
> instructor
> Owner, software architect and developer, 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
>
>

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


Re: onActivate avoiding events?

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Wed, 25 Nov 2009 17:11:47 -0200, Alfonso Quiroga  
<al...@gmail.com> escreveu:

> Hi, I have a page and I need the onActivate() method to do things
> there, but *only* when it shown to the user.

Use the @SetupRender event instead of onActivate(). It is only triggered  
when a page is rendered, not being triggered in action requests.

> In the page I have a upload (tapestry-upload), and when I upload the
> file... onActivate() is called again... :-(
> Is there some way to say... "onActivate()" but avoiding events like
> file upload, etc..?

No.

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, software architect and developer, 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