RE: Expired Session message

2006-09-22 Thread Greg.L.Cormier
I still have been unable to get this to work unfortunately and it's been thrown in the "Low priority" pile :( -Original Message- From: karthik.nar [mailto:[EMAIL PROTECTED] Sent: Friday, September 22, 2006 1:35 AM To: users@tapestry.apache.org Subject: Re: Expired Session

Re: Expired Session message

2006-09-21 Thread karthik.nar
Hey Greg, Just curious - did you eventually solve this? If so can you paste your solution? Thanks, Karthik. -- View this message in context: http://www.nabble.com/Asynchronous-form-submission-tf2253801.html#a6441359 Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: Expired Session message

2006-09-14 Thread Bryan Lewis
w new PageRedirectException(permDenied); > } > } > super.validate(cycle); > } > // > > > -Original Message- > From: Bryan Lewis [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 14, 2006 8:49 AM > To: Tapestry users > Subj

RE: Expired Session message

2006-09-14 Thread Mark Stang
To: users@tapestry.apache.org Subject: RE: Expired Session message Sorry Bryan, you're correct - it IS in my BorderEngine.class : (public class BorderEngine extends BaseEngine). My application has 1 menu item, Login. Once you log-in, it's replaced with your real menu containing a d

RE: Expired Session message

2006-09-14 Thread Greg.L.Cormier
w PageRedirectException(permDenied); } } super.validate(cycle); } // -Original Message- From: Bryan Lewis [mailto:[EMAIL PROTECTED] Sent: Thursday, September 14, 2006 8:49 AM To: Tapestry users Subject: Re: Expired Session message Hmm, I thought fro

Re: Expired Session message

2006-09-14 Thread Bryan Lewis
Hmm, I thought from your previous post that this method was in your custom Engine class. The handleStaleSessionException() method in the Engine is what gets called when the exception occurs. If this method is in a page or component it won't be called. Still, if you named your exception-reporting

RE: Expired Session message

2006-09-14 Thread Greg.L.Cormier
Okay, I've taken both suggestions. I've renamed my page to "StaleSession", and altered my code slightly. It still doesn't seem to work. protected void handleStaleSessionException(IRequestCycle cycle, StaleSessionException exception) throws IOException { cycle.activate("StaleSession");

Re: Expired Session message

2006-09-13 Thread andyhot
riginal Message- > From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] > Sent: Wed 9/13/2006 10:44 AM > To: Tapestry users > Subject: Re: Expired Session message > > Since it's sitting in the tapestry repos under contrib it ~better~ be asf 2 > ;) > > On 9/13/06, Ma

RE: Expired Session message

2006-09-13 Thread Mark Stang
[mailto:[EMAIL PROTECTED] Sent: Wed 9/13/2006 10:44 AM To: Tapestry users Subject: Re: Expired Session message Since it's sitting in the tapestry repos under contrib it ~better~ be asf 2 ;) On 9/13/06, Mark Stang <[EMAIL PROTECTED]> wrote: > > Does anyone know the license on Xtile:Ti

Re: Expired Session message

2006-09-13 Thread Jesse Kuhnert
ng Identity -Original Message- From: andyhot [mailto:[EMAIL PROTECTED] Sent: Tue 9/12/2006 5:09 PM To: Tapestry users Subject: Re: Expired Session message Peter Dawn wrote: > what about tap3. any way of implementing this in the older version. no need to... htt

RE: Expired Session message

2006-09-13 Thread Mark Stang
: Expired Session message Peter Dawn wrote: > what about tap3. any way of implementing this in the older version. no need to... http://t-deli.com/ > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional c

Re: Expired Session message

2006-09-12 Thread Peter Dawn
neat. i forgot about t-deli. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Expired Session message

2006-09-12 Thread andyhot
Peter Dawn wrote: > what about tap3. any way of implementing this in the older version. no need to... http://t-deli.com/ > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -

Re: Expired Session message

2006-09-12 Thread Peter Dawn
what about tap3. any way of implementing this in the older version. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Expired Session message

2006-09-12 Thread andyhot
Daniel Jue wrote: > I would also like to see how this is done. Perhaps even with a > javascript popup telling the user the session is about to/has expired. > I imagine this type of "active checking" could be done through ajax, > or through a client side timer, rather than waiting for the user to >

Re: Expired Session message

2006-09-12 Thread andyhot
There's another way... Create a custom page in your application, named "StaleSession" Bryan Lewis wrote: > The one difference I see between your code and what's been working for > me in my custom Engine class is one more line: > > cycle.activate(page); > renderResponse(cycl

Re: Expired Session message

2006-09-12 Thread Bryan Lewis
The one difference I see between your code and what's been working for me in my custom Engine class is one more line: cycle.activate(page); renderResponse(cycle); [EMAIL PROTECTED] wrote: > Hi. > > When the session expires, how can I handle this and redirect to a customiz

Re: Expired Session message

2006-09-12 Thread Daniel Jue
I would also like to see how this is done. Perhaps even with a javascript popup telling the user the session is about to/has expired. I imagine this type of "active checking" could be done through ajax, or through a client side timer, rather than waiting for the user to refresh a page and find ou

Expired Session message

2006-09-12 Thread Greg.L.Cormier
Hi. When the session expires, how can I handle this and redirect to a customized page saying "Your session has expired" In my BorderEngine class, I've tried this but maybe it's the wrong way, or the wrong place to put it protected void handleStaleSessionException(IRequestCycle cycle, StaleS