[Seaside-dev] Some Feature Requests

Lukas Renggli renggli at gmail.com
Tue Oct 28 13:25:14 UTC 2008


>>> Would you expect such a dictionary to be backtracked or not? I think
>>> this would be the trickiest part of this.
>> I have never needed it to be backtracked.
>
> Really? I can think of stuff you would want to put on session
> (authorization state, for example) that would want to be backtracked.
> Making it backtracked isn't tricky; what's seems sticky to me is
> knowing which properties should be and which shouldn't. Don't take
> this necessarily as opposition to having properties, by the way, I'm
> just thinking out loud.

There are much better possibilities to extend WASession (filters,
hooks, subclasses) than adding a property dictionary.

>> I also use these properties to hold a flag to indicate whether the
>> ToolBar on and off, if a user is authorized to view the toolbar, the
>> property gets set on the session, and the ToolBar helper (which is added
>> as a decoration to the root component) displays accordingly.

You can add and remove the toolbar like any other decoration in Seaside 2.9.

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside-dev mailing list