[Seaside] Configuring and Deploying

Kurt Thams thams at thams.com
Thu Jul 26 23:29:52 UTC 2007


I'm a tad confused about how to set make a system that will spin up 
several applications at different paths, and include the generic 
"config" screen which does a password-protected page to allow 
configuration of the other 3 apps.

Below is the code I'm using, but the http://localhost:7654/ssd/config 
doesn't work.



    OurDispatcher _ WADispatcher new basePath: '/ssd'.
    seaside _ WAKom entryPoint: (OurDispatcher).
    ma _ ModuleAssembly core.
    ma serverRoot: (FileDirectory default directoryNamed: 'seasideRoot') 
fullName.
    ma
        alias: '/ssd'
        to: [ma
                addPlug: [:request | seaside process: request]].
    ma documentRoot: (FileDirectory default directoryNamed: 
'seasideRoot') fullName.
    ma directoryIndex: 'index.html index.htm'.
    ma serveFiles.
    (HttpService startOn: 7654 named: 'seasideHttpd')
        plug: ma rootModule.

    OurDispatcher registerEntryPoint: (FooComponent applicationWithPath: 
'foo') at: 'foo'.
    OurDispatcher registerEntryPoint: (BarComponent applicationWithPath: 
'bar') at: 'bar'.
    OurDispatcher registerEntryPoint: (BazComponent applicationWithPath: 
'baz') at: 'baz'.
    OurDispatcher registerEntryPoint: (WADispatcherEditor  
applicationWithPath: 'config') at: 'config'.
   



More information about the Seaside mailing list