[Seaside-dev] [Portability] WADynamicVariable >> defaultAction
Philippe Marschall
philippe.marschall at gmail.com
Wed Oct 10 19:51:19 UTC 2007
Hi
Looking at the Gemstone port I found their implementation of
WADynamicVariable >> defaultAction is:
defaultAction
^self class defaultValue
which leaves it to the implementation how the problem should be solved
whereas in normal Seaside it is:
defaultAction
self resume: self class defaultValue
In Squeak both work because in the later case is delegated to UndefinedObject
handleSignal: exception
^ exception resumeUnchecked: exception defaultAction
>From a portability point of view, which one is to be preferred?
Cheers
Philippe
More information about the seaside-dev
mailing list