Seaside 2.7 to 2.8
Must
- Seaside 2.6 to 2.7
- stop your severver (e.g.
WAKom
) and evaluateWADispatcher resetAll
- migrate to
WARenderCanvas
- backtrack state by implementing
#states
(check all senders of#registerObjectForBacktracking:
and#registerForBacktracking
),WAStateHolder
s do not do any backtracking anymore - move to new header api, modify
#updateRoot:
.#linkToStyle
becomes#stylesheet #url
,#linkToScript
becomes#javascript #url:
, check all implementors of#updateRoot:
- use
WAAnchorTag >> #with:
instead ofWAAnchorTag >> #text:
- replace users of
WAChangePassword
,WAEditDialog
,WAEmailConfirmation
,WAGridDialog
,WALoginDialog
,WANoteDialog
- every component that implements
#initialize
must send this message also to super (use SLint) - if you use Squeak 3.7 load SeasideSqueak37 after Seaside
- if you use Squeak do not load into an image that has an earlier version of Seaside already loaded
- For
WAImageTag
use the composed#document:mimeType:fileName:
selector (or a short version of it) instead of a cascade of selector parts - if you loaded an intermediate version of Seaside 2.8 Seaside2.8a1-lr.404 removes
WACookieSession
, you should go back to subclassingWASession
- migrate from
WAScriptLibrary
andWAStyleLibrary
toWAFileLibrary
(check class comment ofWAFileLibrary
) - the "base path" configuration option has been replaced by "Server Path"
Should
- use
#heading level:; with:
instead of#heading:level:
- check for deprecated message sends
- remove the implementors of
#rendererClass
that returnWAHtmlCanvas
- use
WAValueHolder
if you just need an object that wraps a value instead ofValueHolder
orWAStateHolder
- WAUrl >> #scheme: expects a
String
and no longer aSymbol
Rewrite Rules
Boris Popov has some rewrite rules to ease migration Moving from 2.7 to 2.8