Show custom response on expire

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Show custom response on expire

Martin J. Laubach-2
  Okay, I have found the method called when a session has expired
and hooked myself in by subclassing WAApplication and wedging that
in. So now I have a MySeasideApplication>>handleExpiredRequest:
and I'd like to tell the user why his click on the "search" button
brings her back to the start screen. Also, I'd like to have that
information be "in the style" of the rest of the application, ie.
I need the standard decoration and styles.

  However, at this place in (or better out of) the application's
control flow, I'm not sure how to do the working equivalent of

    handleExpiredRequest: aRequest
        response := self magicallyBuildResponseByCallingComponent:
            ApplicationTimeoutInformer new.
        ^response


  I guess I could redirect with a special parameter that tells
the application to display the information page on startup, is
that the correct way to do it?

        mjl
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside