Re: Which phase of page lifecycle will not occur when we access page 2nd time?
I'm back and forth because these kind of per-request things might be better done in a PerThread service, which gains some laziness that isn't present in the attach/detach lifecycle events. On Mon, Nov 26, 2012 at 11:41 AM, Norman Franke wrote: > I vote for that. It makes sense and would make initialization from a > database easier and more consistent. I end up doing it in onActivate since > it's called for form submission and regular rendering. > > Norman Franke > Answering Service for Directors, Inc. > www.myasd.com > > > > On Nov 21, 2012, at 3:09 PM, Howard Lewis Ship wrote: > > > However, I'm thinking of "de-deprecating" @PageAttached and > @PageDetached. > > I think they are actually useful in the long run. > > > > So: > > > > @PageLoaded - once when the page is initially constructed > > @PageAttached - once per request, when the page is first used in that > > request > > @PageDetached - once per request, after the response has been sent to the > > client user agent > > > > > > On Wed, Nov 21, 2012 at 12:43 AM, Lance Java >wrote: > > > >> @PageAttached and @PageDetached are deprecated and are leftovers from > page > >> pooling. The page pool has been disabled by default since version 5.2 in > >> favour of page singletons which maintain mutable state in thread local > >> maps. > >> > >> > >> > >> -- > >> View this message in context: > >> > http://tapestry.1045711.n5.nabble.com/Which-phase-of-page-lifecycle-will-not-occur-when-we-access-page-2nd-time-tp5718142p5718144.html > >> Sent from the Tapestry - User mailing list archive at Nabble.com. > >> > >> - > >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > >> For additional commands, e-mail: users-h...@tapestry.apache.org > >> > >> > > > > > > -- > > Howard M. Lewis Ship > > > > Creator of Apache Tapestry > > > > The source for Tapestry training, mentoring and support. Contact me to > > learn how I can get you up and productive in Tapestry fast! > > > > (971) 678-5210 > > http://howardlewisship.com > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com
Re: Which phase of page lifecycle will not occur when we access page 2nd time?
I vote for that. It makes sense and would make initialization from a database easier and more consistent. I end up doing it in onActivate since it's called for form submission and regular rendering. Norman Franke Answering Service for Directors, Inc. www.myasd.com On Nov 21, 2012, at 3:09 PM, Howard Lewis Ship wrote: > However, I'm thinking of "de-deprecating" @PageAttached and @PageDetached. > I think they are actually useful in the long run. > > So: > > @PageLoaded - once when the page is initially constructed > @PageAttached - once per request, when the page is first used in that > request > @PageDetached - once per request, after the response has been sent to the > client user agent > > > On Wed, Nov 21, 2012 at 12:43 AM, Lance Java wrote: > >> @PageAttached and @PageDetached are deprecated and are leftovers from page >> pooling. The page pool has been disabled by default since version 5.2 in >> favour of page singletons which maintain mutable state in thread local >> maps. >> >> >> >> -- >> View this message in context: >> http://tapestry.1045711.n5.nabble.com/Which-phase-of-page-lifecycle-will-not-occur-when-we-access-page-2nd-time-tp5718142p5718144.html >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > > > -- > Howard M. Lewis Ship > > Creator of Apache Tapestry > > The source for Tapestry training, mentoring and support. Contact me to > learn how I can get you up and productive in Tapestry fast! > > (971) 678-5210 > http://howardlewisship.com
Re: Which phase of page lifecycle will not occur when we access page 2nd time?
On Fri, 23 Nov 2012 22:03:46 -0200, Geoff Callender wrote: Yes, every page render request and component event request does result in pageAttached(), onActivate() and pageDetached() being called. But there's one other situation, shown in the example "When Tapestry creates a URL to this page". It results in pageAttached() and pageDetached() but no onActivate(). I just thought that might be worth being reminded of. Agreed, even the initial question being about requests. :) -- Thiago H. de Paula Figueiredo - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Which phase of page lifecycle will not occur when we access page 2nd time?
Yes, every page render request and component event request does result in pageAttached(), onActivate() and pageDetached() being called. But there's one other situation, shown in the example "When Tapestry creates a URL to this page". It results in pageAttached() and pageDetached() but no onActivate(). I just thought that might be worth being reminded of. Cheers, Geoff On 23/11/2012, at 3:54 AM, Lenny Primak wrote: > Hmm... When does it not get called? I always see onActivate in the JumpStart > link > > On Nov 22, 2012, at 5:47 AM, Geoff Callender wrote: > >> onActivate() is NOT always called. See >> http://jumpstart.doublenegative.com.au/jumpstart/examples/navigation/whatiscalledandwhen >> . >> >> Geoff >> >> On 22/11/2012, at 9:36 PM, Thiago H de Paula Figueiredo wrote: >> >>> On Thu, 22 Nov 2012 05:45:10 -0200, Muhammad Gelbana >>> wrote: >>> So now with 5.3.6, since pooling is disabled, is it a single page instance for each request? >>> >>> Yes. >>> And how does it differ from the activation context event if they are both executed when the page is first loaded ? >>> >>> That's a completely different thing. The singletonness of Tapestry 5.2+ is >>> about fields and the activation context is about invoking an event handler >>> method. >>> My *guess* is that tapestry loads the page for the first time (@PageLoaded), >>> >>> Correct. >>> attaches it to the client's session (that is created by default) >>> >>> That's not correct. Tapestry doesn't create an user session by default. >>> It's created when needed (a write to the session). In addition, page >>> instances aren't attached to sessions. I guess you're talking about the >>> per-thread map used to store the field values. If yes, then you were >>> correct, just used the wrong words. :) >>> and then executes the ActivationContext even whenever a request is made to the page, am I correct ? >>> >>> Correct. >>> >>> -- >>> 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 >> > > > - > 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
Re: Which phase of page lifecycle will not occur when we access page 2nd time?
Hmm... When does it not get called? I always see onActivate in the JumpStart link On Nov 22, 2012, at 5:47 AM, Geoff Callender wrote: > onActivate() is NOT always called. See > http://jumpstart.doublenegative.com.au/jumpstart/examples/navigation/whatiscalledandwhen > . > > Geoff > > On 22/11/2012, at 9:36 PM, Thiago H de Paula Figueiredo wrote: > >> On Thu, 22 Nov 2012 05:45:10 -0200, Muhammad Gelbana >> wrote: >> >>> So now with 5.3.6, since pooling is disabled, is it a single page instance >>> for each request? >> >> Yes. >> >>> And how does it differ from the activation context event if they are both >>> executed when the page is first loaded ? >> >> That's a completely different thing. The singletonness of Tapestry 5.2+ is >> about fields and the activation context is about invoking an event handler >> method. >> >>> My *guess* is that tapestry loads the page for the first time >>> (@PageLoaded), >> >> Correct. >> >>> attaches it to the client's session (that is created by >>> default) >> >> That's not correct. Tapestry doesn't create an user session by default. It's >> created when needed (a write to the session). In addition, page instances >> aren't attached to sessions. I guess you're talking about the per-thread map >> used to store the field values. If yes, then you were correct, just used the >> wrong words. :) >> >>> and then executes the ActivationContext even whenever a request is made to >>> the page, am I correct ? >> >> Correct. >> >> -- >> 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 > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Which phase of page lifecycle will not occur when we access page 2nd time?
onActivate() is NOT always called. See http://jumpstart.doublenegative.com.au/jumpstart/examples/navigation/whatiscalledandwhen . Geoff On 22/11/2012, at 9:36 PM, Thiago H de Paula Figueiredo wrote: > On Thu, 22 Nov 2012 05:45:10 -0200, Muhammad Gelbana > wrote: > >> So now with 5.3.6, since pooling is disabled, is it a single page instance >> for each request? > > Yes. > >> And how does it differ from the activation context event if they are both >> executed when the page is first loaded ? > > That's a completely different thing. The singletonness of Tapestry 5.2+ is > about fields and the activation context is about invoking an event handler > method. > >> My *guess* is that tapestry loads the page for the first time >> (@PageLoaded), > > Correct. > >> attaches it to the client's session (that is created by >> default) > > That's not correct. Tapestry doesn't create an user session by default. It's > created when needed (a write to the session). In addition, page instances > aren't attached to sessions. I guess you're talking about the per-thread map > used to store the field values. If yes, then you were correct, just used the > wrong words. :) > >> and then executes the ActivationContext even whenever a request is made to >> the page, am I correct ? > > Correct. > > -- > 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
Re: Which phase of page lifecycle will not occur when we access page 2nd time?
On Thu, 22 Nov 2012 05:45:10 -0200, Muhammad Gelbana wrote: So now with 5.3.6, since pooling is disabled, is it a single page instance for each request? Yes. And how does it differ from the activation context event if they are both executed when the page is first loaded ? That's a completely different thing. The singletonness of Tapestry 5.2+ is about fields and the activation context is about invoking an event handler method. My *guess* is that tapestry loads the page for the first time (@PageLoaded), Correct. attaches it to the client's session (that is created by default) That's not correct. Tapestry doesn't create an user session by default. It's created when needed (a write to the session). In addition, page instances aren't attached to sessions. I guess you're talking about the per-thread map used to store the field values. If yes, then you were correct, just used the wrong words. :) and then executes the ActivationContext even whenever a request is made to the page, am I correct ? Correct. -- Thiago H. de Paula Figueiredo - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Which phase of page lifecycle will not occur when we access page 2nd time?
I seem to be explaining this concept a bit lately... perhaps the tapestry docs need to include an explanation. Tapestry pages are singletons. Tapestry does a bit of byte code magic on your pages and components to transform them so that any request specific state is stored in a thread local map. In production mode, the member variables in your component classes are not used. In development mode, tapestry mirrors the thread local values to the component class fields to make debugging easier. http://tapestryjava.blogspot.co.uk/2010/07/everyone-out-of-pool-tapestry-goes.html -- View this message in context: http://tapestry.1045711.n5.nabble.com/Which-phase-of-page-lifecycle-will-not-occur-when-we-access-page-2nd-time-tp5718142p5718184.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Which phase of page lifecycle will not occur when we access page 2nd time?
Got some patience left for another question ? :) So now with 5.3.6, since pooling is disabled, is it a single page instance for each request ? And how does it differ from the activation context event if they are both executed when the page is first loaded ? My *guess* is that tapestry loads the page for the first time (@PageLoaded), attaches it to the client's session (that is created by default) and then executes the ActivationContext even whenever a request is made to the page, am I correct ? On Thu, Nov 22, 2012 at 7:22 AM, Athneria, Mahendra < mahendra.athne...@atos.net> wrote: > Thanks a lot Howard Lewis for your valuable comment :-). > > Regards, > Mahendra > > -Original Message- > From: Howard Lewis Ship [mailto:hls...@gmail.com] > Sent: Thursday, November 22, 2012 1:41 AM > To: Tapestry users > Subject: Re: Which phase of page lifecycle will not occur when we access > page 2nd time? > > For example; @PageAttached could be a good place to obtain a connection to > a database, and @PageDetached could be a place to close that connection. > > However, a per-thread service would usually be a better solution, and would > be lazy (not created until needed). > > So, I think @PageAttached and @PageDetached can wait on the wall for 5.4 > and be fully restored or fully removed in 5.5. > > > On Wed, Nov 21, 2012 at 1:33 AM, Thiago H de Paula Figueiredo < > thiag...@gmail.com> wrote: > > > On Wed, 21 Nov 2012 05:07:19 -0200, Athneria, Mahendra < > > mahendra.athne...@atos.net> wrote: > > > > Hi, > >> > > > > Hi! > > > > > > I have one question regarding the Page life cycle. > >> > >> When we are accessing the page very first time then it will follow below > >> life cycle. > >> > > > > @PageLoaded. As Lance said @PageAttached and @PageDetached shouldn't be > > used because they only made sense when Tapestry still pooled page class > > instances. > > > > What exactly are you trying to do? Probably you don't even need to use > > @PageLoaded. > > > > -- > > Thiago H. de Paula Figueiredo > > > > > > --**--**- > > To unsubscribe, e-mail: users-unsubscribe@tapestry.**apache.org< > users-unsubscr...@tapestry.apache.org> > > For additional commands, e-mail: users-h...@tapestry.apache.org > > > > > > > -- > Howard M. Lewis Ship > > Creator of Apache Tapestry > > The source for Tapestry training, mentoring and support. Contact me to > learn how I can get you up and productive in Tapestry fast! > > (971) 678-5210 > http://howardlewisship.com > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >
RE: Which phase of page lifecycle will not occur when we access page 2nd time?
Thanks a lot Howard Lewis for your valuable comment :-). Regards, Mahendra -Original Message- From: Howard Lewis Ship [mailto:hls...@gmail.com] Sent: Thursday, November 22, 2012 1:41 AM To: Tapestry users Subject: Re: Which phase of page lifecycle will not occur when we access page 2nd time? For example; @PageAttached could be a good place to obtain a connection to a database, and @PageDetached could be a place to close that connection. However, a per-thread service would usually be a better solution, and would be lazy (not created until needed). So, I think @PageAttached and @PageDetached can wait on the wall for 5.4 and be fully restored or fully removed in 5.5. On Wed, Nov 21, 2012 at 1:33 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 21 Nov 2012 05:07:19 -0200, Athneria, Mahendra < > mahendra.athne...@atos.net> wrote: > > Hi, >> > > Hi! > > > I have one question regarding the Page life cycle. >> >> When we are accessing the page very first time then it will follow below >> life cycle. >> > > @PageLoaded. As Lance said @PageAttached and @PageDetached shouldn't be > used because they only made sense when Tapestry still pooled page class > instances. > > What exactly are you trying to do? Probably you don't even need to use > @PageLoaded. > > -- > Thiago H. de Paula Figueiredo > > > --**--**- > To unsubscribe, e-mail: > users-unsubscribe@tapestry.**apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Which phase of page lifecycle will not occur when we access page 2nd time?
For example; @PageAttached could be a good place to obtain a connection to a database, and @PageDetached could be a place to close that connection. However, a per-thread service would usually be a better solution, and would be lazy (not created until needed). So, I think @PageAttached and @PageDetached can wait on the wall for 5.4 and be fully restored or fully removed in 5.5. On Wed, Nov 21, 2012 at 1:33 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 21 Nov 2012 05:07:19 -0200, Athneria, Mahendra < > mahendra.athne...@atos.net> wrote: > > Hi, >> > > Hi! > > > I have one question regarding the Page life cycle. >> >> When we are accessing the page very first time then it will follow below >> life cycle. >> > > @PageLoaded. As Lance said @PageAttached and @PageDetached shouldn't be > used because they only made sense when Tapestry still pooled page class > instances. > > What exactly are you trying to do? Probably you don't even need to use > @PageLoaded. > > -- > Thiago H. de Paula Figueiredo > > > --**--**- > To unsubscribe, e-mail: > users-unsubscribe@tapestry.**apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com
Re: Which phase of page lifecycle will not occur when we access page 2nd time?
However, I'm thinking of "de-deprecating" @PageAttached and @PageDetached. I think they are actually useful in the long run. So: @PageLoaded - once when the page is initially constructed @PageAttached - once per request, when the page is first used in that request @PageDetached - once per request, after the response has been sent to the client user agent On Wed, Nov 21, 2012 at 12:43 AM, Lance Java wrote: > @PageAttached and @PageDetached are deprecated and are leftovers from page > pooling. The page pool has been disabled by default since version 5.2 in > favour of page singletons which maintain mutable state in thread local > maps. > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Which-phase-of-page-lifecycle-will-not-occur-when-we-access-page-2nd-time-tp5718142p5718144.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com
Re: Which phase of page lifecycle will not occur when we access page 2nd time?
On Wed, 21 Nov 2012 10:25:21 -0200, Athneria, Mahendra wrote: But I still haven't got mine. :) [Mahendra] - hahahahaha actually one of my friend and we were discussing about the phases of Page. we are using 5.2 so for us it is Page Pooling. But as per the latest document page pooling is no more in tapestry. So I got my answer :-) Actually, T5.2 doesn't have page pooling either, just T5.0 and T5.1. -- Thiago H. de Paula Figueiredo - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
RE: Which phase of page lifecycle will not occur when we access page 2nd time?
-Original Message- From: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com] Sent: Wednesday, November 21, 2012 5:39 PM To: Tapestry users Subject: Re: Which phase of page lifecycle will not occur when we access page 2nd time? On Wed, 21 Nov 2012 09:16:20 -0200, Athneria, Mahendra wrote: > Thanks Thiago H de Paula Figueiredo, You're welcome! > I got the answer :-) But I still haven't got mine. :) [Mahendra] - hahahahaha actually one of my friend and we were discussing about the phases of Page. we are using 5.2 so for us it is Page Pooling. But as per the latest document page pooling is no more in tapestry. So I got my answer :-) > > -Original Message- > From: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com] > Sent: Wednesday, November 21, 2012 3:04 PM > To: Tapestry users > Subject: Re: Which phase of page lifecycle will not occur when we access > page 2nd time? > > On Wed, 21 Nov 2012 05:07:19 -0200, Athneria, Mahendra > wrote: > >> Hi, > > Hi! > >> I have one question regarding the Page life cycle. >> >> When we are accessing the page very first time then it will follow below >> life cycle. > > @PageLoaded. As Lance said @PageAttached and @PageDetached shouldn't be > used because they only made sense when Tapestry still pooled page class > instances. > > What exactly are you trying to do? Probably you don't even need to use > @PageLoaded. > -- Thiago H. de Paula Figueiredo - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Which phase of page lifecycle will not occur when we access page 2nd time?
On Wed, 21 Nov 2012 09:16:20 -0200, Athneria, Mahendra wrote: Thanks Thiago H de Paula Figueiredo, You're welcome! I got the answer :-) But I still haven't got mine. :) -Original Message- From: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com] Sent: Wednesday, November 21, 2012 3:04 PM To: Tapestry users Subject: Re: Which phase of page lifecycle will not occur when we access page 2nd time? On Wed, 21 Nov 2012 05:07:19 -0200, Athneria, Mahendra wrote: Hi, Hi! I have one question regarding the Page life cycle. When we are accessing the page very first time then it will follow below life cycle. @PageLoaded. As Lance said @PageAttached and @PageDetached shouldn't be used because they only made sense when Tapestry still pooled page class instances. What exactly are you trying to do? Probably you don't even need to use @PageLoaded. -- Thiago H. de Paula Figueiredo - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
RE: Which phase of page lifecycle will not occur when we access page 2nd time?
Thanks Thiago H de Paula Figueiredo, I got the answer :-) -Original Message- From: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com] Sent: Wednesday, November 21, 2012 3:04 PM To: Tapestry users Subject: Re: Which phase of page lifecycle will not occur when we access page 2nd time? On Wed, 21 Nov 2012 05:07:19 -0200, Athneria, Mahendra wrote: > Hi, Hi! > I have one question regarding the Page life cycle. > > When we are accessing the page very first time then it will follow below > life cycle. @PageLoaded. As Lance said @PageAttached and @PageDetached shouldn't be used because they only made sense when Tapestry still pooled page class instances. What exactly are you trying to do? Probably you don't even need to use @PageLoaded. -- Thiago H. de Paula Figueiredo - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Which phase of page lifecycle will not occur when we access page 2nd time?
On Wed, 21 Nov 2012 05:07:19 -0200, Athneria, Mahendra wrote: Hi, Hi! I have one question regarding the Page life cycle. When we are accessing the page very first time then it will follow below life cycle. @PageLoaded. As Lance said @PageAttached and @PageDetached shouldn't be used because they only made sense when Tapestry still pooled page class instances. What exactly are you trying to do? Probably you don't even need to use @PageLoaded. -- Thiago H. de Paula Figueiredo - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
RE: Which phase of page lifecycle will not occur when we access page 2nd time?
This page says the page pool is disabled as of tapestry 5.2 http://tapestry.apache.org/page-life-cycle.html Two of the links you provided have a "deprecated" warning: http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/annotations/PageAttached.html http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/annotations/PageDetached.html -- View this message in context: http://tapestry.1045711.n5.nabble.com/Which-phase-of-page-lifecycle-will-not-occur-when-we-access-page-2nd-time-tp5718142p5718146.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
RE: Which phase of page lifecycle will not occur when we access page 2nd time?
Hi Lance Java, I am still not clear. Could you please explain the same or give me some link to clarify my doubt? Regards, Mahendra -Original Message- From: Lance Java [mailto:lance.j...@googlemail.com] Sent: Wednesday, November 21, 2012 2:13 PM To: users@tapestry.apache.org Subject: Re: Which phase of page lifecycle will not occur when we access page 2nd time? @PageAttached and @PageDetached are deprecated and are leftovers from page pooling. The page pool has been disabled by default since version 5.2 in favour of page singletons which maintain mutable state in thread local maps. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Which-phase-of-page-lifecycle-will-not-occur-when-we-access-page-2nd-time-tp5718142p5718144.html Sent from the Tapestry - User mailing list archive at Nabble.com. - 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
Re: Which phase of page lifecycle will not occur when we access page 2nd time?
@PageAttached and @PageDetached are deprecated and are leftovers from page pooling. The page pool has been disabled by default since version 5.2 in favour of page singletons which maintain mutable state in thread local maps. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Which-phase-of-page-lifecycle-will-not-occur-when-we-access-page-2nd-time-tp5718142p5718144.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Which phase of page lifecycle will not occur when we access page 2nd time?
i believe only @PageLoaded -- View this message in context: http://tapestry.1045711.n5.nabble.com/Which-phase-of-page-lifecycle-will-not-occur-when-we-access-page-2nd-time-tp5718142p5718143.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org