[Seaside] Switching on toolframe
keith_hodges at yahoo.co.uk
Mon Apr 27 20:10:53 UTC 2009
Lukas Renggli wrote:
> In Seaside 2.9 it is easy, because it is a decoration that can be
> added and removed at any time. In Seaside 2.8 and earlier it is more
> difficult, because it is a component that wraps the root component of
> your application. Maybe the eadiest is to subclass and only display
> the tools conditionally?
> On Saturday, April 25, 2009, Norbert Hartl <norbert at hartl.name> wrote:
>> Is there an easy to switch on the WAToolFrame in seaside?
>> I like to have my application in deployment mode but want
>> to be able to switch on the WAToolFrame via an admin command
>> or something similar. Is this possible?
In seaside28Jetsam there is a toolbar helper. This displays the toolbar
as a decoration when
self session useToolbar: true.
Therefore you can enable the toolbar for those users that have certain
privileges when they login
More information about the seaside