Re: a component problem in work

2011-07-06 Thread dick_hu
Thiago H. de Paula Figueiredo wrote: > > > It's also for any page initialization that needs to be done in both render > and event requests. > You can also use @BeginRender for anything that needs to be run before a > page render. It's not triggered in event requests. > > Thank you very muc

Re: a component problem in work

2011-07-06 Thread Thiago H. de Paula Figueiredo
On Tue, 05 Jul 2011 23:36:39 -0300, Lenny Primak wrote: I think you need to look at @PageLoaded or @PageAttached annotations / naming conventions to do what you want. onActivate is for page context parameter processing It's also for any page initialization that needs to be done in both

Re: a component problem in work

2011-07-05 Thread dick_hu
Lenny Primak wrote: > > I think you need to look at @PageLoaded or @PageAttached annotations / > naming conventions > to do what you want. onActivate is for page context parameter processing > Thank for your suggestion.I will try it. -- View this message in context: http://tapestry.1045711.n5

Re: a component problem in work

2011-07-05 Thread Lenny Primak
I think you need to look at @PageLoaded or @PageAttached annotations / naming conventions to do what you want. onActivate is for page context parameter processing On Jul 5, 2011, at 10:33 PM, dick_hu wrote: > > Thiago H. de Paula Figueiredo wrote: >> >> This is not unnecessary: it's normal, c

Re: a component problem in work

2011-07-05 Thread dick_hu
Thiago H. de Paula Figueiredo wrote: > > This is not unnecessary: it's normal, correct, expected Tapestry behavior. > The activate event is triggered everytime a page is requested, being it a > render or event (action) one. > I see,but my actionlink trigger a ajax action and return a zone, t

Re: a component problem in work

2011-07-05 Thread Thiago H. de Paula Figueiredo
On Tue, 05 Jul 2011 22:25:10 -0300, dick_hu wrote: I write a component in my page,the component contain a actionlink, everytime I click the actionlink the page's onActivate() method will run. It is unnecessary,what can I do? This is not unnecessary: it's normal, correct, expected Tapestr