--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
BTW: You know about Lift's built-in exceptionHandler-mechanism?
LiftRules.exceptionHandler.prepend {case (runMode, request, exception) =>
<custom-code here to handle exception>
}
--
Andreas Joseph Krogh <and...@officenet.no> - mob: +47 909 56 963
Senior Software Developer / CTO - OfficeNet AS - http://www.officenet.no
Public key: http://home.officenet.no/~andreak/public_key.asc
I agree that this should be enough and I've used this in the past.
Unfortunately the addAround functions are now called twice for each
request (first in a stateless mode, then in statefull). I've been
trying to see if I can fix this, but haven't had the time yet...
/Jeppe
Thanks for the suggestion. I was not aware of S.addAround() -- very
cool. Jeppe mentions there is currently a problem with addAround
being called twice per request, but once (or if) that is fixed it
might work quite well.
Thanks,
Mark.