[Seaside] How to add GLORP to a Seaside application?
Avi Bryant
avi.bryant at gmail.com
Mon Jan 31 12:10:53 CET 2005
On Sun, 30 Jan 2005 21:55:35 +0100, Martin J. Laubach <mjl at laubach.at> wrote:
> I have an idea what could help me with my transaction problem -- is
> there some hook to put code that is to be run _after_ a request has
> been completely satisfied (ie. all callbacks have run and html code
> is about to be shipped out (or has been shipped out))?
Sure. The most common approach here is to override
WASession>>withEscapeContinuation: . You could do something like
this:
MySessionSubclass>>withEscapeContinuation: aBlock
|val|
val := super withEscapeContinuation: aBlock.
self commitGlorpTransaction.
^ val
More information about the Seaside
mailing list