[Seaside] Obsolete Classes

Philippe Marschall philippe.marschall at gmail.com
Wed Jul 7 19:23:57 UTC 2010


2010/7/7 Robert Sirois <watchlala at hotmail.com>:
> Is there a good way to fix obsolete classes in any of the new Seaside
> versions, yet?

Kinda depends where you get them. If you have them somewhere reachable
from WADispatcher default, then you can try to reset the default
dispatcher. If that doesn't work or you have them for new requests
then you can try to recompile them. Maybe something like this works:

MCWorkingCopy registry valuesDo: [ :workingCopy |
	(workingCopy package name beginsWith: 'Seaside-') ifTrue: [
		workingCopy package packageInfo methods
			do: [:ea | ea actualClass recompile: ea methodSymbol ] ] ]

Cheers
Philippe


More information about the seaside mailing list