Software Developer

Smalltalk, Swift, Java, Obj-C

@fstephany | Email | LinkedIn

I'm currently working at Ta Mère SCRL a small development shop in Belgium.

We mainly do mobile apps (iOS, Android) for clients. We also have a strong interest in Pharo Smalltalk and Rust.

logo Ta Mère SCRL

Dynamically add/remove the Seaside's toolbar on an application

13 Jul 2011 in seaside smalltalk snippet 

I wanted to display or hide the tool bar on a Seaside application. It turned out to be pretty simple.

To remove it:

app configuration
   at: #rootDecorationClasses
   addAll: #()
   removeAll: (Array with: WAToolDecoration)

And to show it:

app configuration
    at: #rootDecorationClasses
    addAll: (Array with: WAToolDecoration)

Another useful snippet to retrieve an application from its name:

WAAdmin defaultDispatcher handlerAt: 'wapict'

Seasiders won’t find this exciting but this post is more a reminder for myself than anything else. If I’m doing something overcomplicated for nothing, shout my ignorance in the comments ;)