[Seaside] Re: Where to put the double quotes?

Yanni Chiu yanni at rogers.com
Sat May 13 01:44:37 UTC 2006

Chris Cunnington wrote:
> ... turn access to the Halo button on and off?

The normal way is to use the config app, which, in your case,
would be available at: http://brasspen.seasidehosting.st/seaside/config
Your browser will ask for user/password and send your response
using basic authentication (as defined by HTTP). When you installed
Seaside, you would have been asked for an admin name and password.
If you're using the prebuilt image from seaside.st, then check
the website for name/pwd.

The config app is just another seaside application running in your image,
but it let's you set your application preferences. Look for the deployment
mode setting. Another place you can set your application preferences is in
the class initialize method of your application.

The startup script is used to run some snippet of code when the
image starts. When you're developing code, you normally have a
workspace available to run a code snippet. But in the seasidehosting
environment, your image is deployed "headless" (i.e. no GUI). As a
convenience, Lukas had set up seasidehosting with a startup script,
which (amongst other things) set the deployment mode to "true" for
all the apps in the image. So you didn't have to use the config app
to set this preference.

IIUC, the startup script mechanism has been improved, to capture
the deployment mode settings for all the apps in your image, and
save these to a "hidden" file. So what I said earlier about editing
your startup script is no longer valid.

More information about the Seaside mailing list