[AIDA6beta2][bug][fix] pageFrameWideNoNavigationWith: anElement title: aString

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[AIDA6beta2][bug][fix] pageFrameWideNoNavigationWith: anElement title: aString

Herbert König
Hi,

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

This may apply to some more methods.

Cheers,

Herbert                          mailto:[hidden email]

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

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

Janko Mivšek
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
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida