[Seaside] turning off the toolbar

Jon Paynter kittle31 at gmail.com
Mon Sep 19 18:48:21 UTC 2011


Im looking to do the same thing with my application.

But one thing thats unclear:  In previous versions of seaside (2.6 for me),
there was a #deploymentMode setting that turned off the toolbar and changed
how the error handling worked, namely it wouldnt open a walkback in the
image, but display it in the webpage.

Ive turned the toolbar off following the instructions in this thread.  But
how can I set things up so any errors display the normal walkback page in
the users browser and never open an error notifier in the image.  When this
happens on my dev PC its fine, and desireable.  but when it happens in the
headless image running on our server, the image shuts down which is very
bad.

Is there a way to accomplish this without writing custom error handlers?

On Fri, Sep 16, 2011 at 11:03 AM, Larry White <ljw1001 at gmail.com> wrote:

>
>
> On Fri, Sep 16, 2011 at 12:50 PM, Lukas Renggli <renggli at gmail.com> wrote:
>
>> > I want to test my app with the toolbar removed. I found several
>> suggestions
>> > for doing this in the documentation that seem to be out of date. For
>> > example, from Dynamic Web Development with Seaside, I see:
>> > Alternatively you can use the configuration interface: In the
>> configuration
>> > of any application select Application Defaults and click on Configure.
>> This
>> > opens an editor on the settings that are common to all registered
>> > applications. Remove WADevelopmentConfiguration from the list of
>> inherited
>> > configurations.easide,
>> > However, there is no "application defaults" button on my config page.
>>
>> Hmm, actually the description in the Seaside book is fully accurate.
>> It works precisely as described.
>>
>
> Not on my machine. :)  I rechecked and there is nothing on my config page
> labeled "Application Defaults".
>
>>
>> > The seaside book contains another approach, to execute:
>> > WAAdmin applicationDefaults
>> >     removeParent: WADevelopmentConfiguration instance.
>> > But I hesitate to do that one, since there's no instruction provided on
>> how
>> > to un-do it later.
>>
>> You replace #removeParent: with #addParent:
>>
>> Lukas
>>
>> --
>> Lukas Renggli
>> www.lukas-renggli.ch
>> _______________________________________________
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110919/e8910f91/attachment.htm


More information about the seaside mailing list