[aida] [AIDA6beta2][bug][fix] pageFrameWideNoNavigationWith:title:

Janko Mivšek janko.mivsek at eranova.si
Tue Jun 2 13:23:40 CEST 2009


Hi Herbert

Herbert König pravi:

> pageFrameWideNoNavigationWith: anElement title: aString stopped
> working in 6beta 2.
> 
> Reason:
> DNU is no more used to delegate from WebApplication to WebStyle.
> 
> Simple remedy:
> implement
> 
> WebApplication>>pageFrameWideNoNavigationWith: anElement title: aString
>   self style pageFrameWideNoNavigationWith: anElement title: aString

Those methods are depreciated in WebApplication in 6.0, except
pageFrameWith:title: because that one is so widely used and is in tutorial.

So I propose a compromise: let just one stay in WebApplication: the
basic #pageFrameWith:title: . All of them belong to style classes
anyway, because those classes care about page layout as well.

This also means that code must be migrated to use self style ...
everywhere, except for basic pageFrameWith: , but even for that it is
advisable to be called as self style pageFrameWith: , because it is then
more clear where this method is actually implemented.

I just upgraded the migration guide:

	http://www.aidaweb.si/migration-60.html

Janko


-- 
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si


More information about the Aida mailing list