[Seaside-dev] Issue 243 in seaside: Start Seaside with startup parameter

Keith Hodges keith_hodges at yahoo.co.uk
Sat Nov 15 03:02:16 UTC 2008


 
>> adaptor with default configuration? Just some things to consider.
>>     
> If you were to adopt Installer-Launcher as found in LPF images, it
> extends the startUp parameter processing to be quite flexible. In
> particular you can direct your startUp parameters to specific classes.
>
> e.g. squeak seaside.image WAKom port=8080
>
> if WAKom implements launchFrom: and #launchWith:
>   
A point of further information... SomeClass launchFrom: launcher

is the first point of call, in which the class can determine how it
wants further parameters parsed.

launchFrom: launcher

    self launchWith: launcher getParameters. "or getParametersOldStyle"

actually that's not quite true, launchFrom: is called after the image
has started up and the UI thread is running. Lancher also supports
startFrom: which is called at the earliest opportunity.

This is provided in the hope that broken images might be resurrected
with a suitable startup script.

Keith



More information about the seaside-dev mailing list