Dale wrote:
I am presently working on Seaside 3.0.4 which will correctly load into Pharo1.2,
According to his mail Mike wants to load it into a Pharo1.2-Core (maybe for minimal deployment) - not into a Pharo1.2-Developer image. So the expression (ConfigurationOfSeaside30 project version: '3.0.3') load. will only work in a Pharo 1.2 (dev image) since it requires various tools (like OB) that are only in the dev image and there seem to be no explicit dependencies defined. Otherwise it should load into Core too, should'nt it? Still this is more or less for a typical "seaside development scenario". However - for a "deployment scenario on a core image" one has to find out the groups required. That depends on what the seaside application uses. Think of the following: one wants to use a minimal Pharo core 1.2 image and just run a simple Seaside webapp on it. For such a minimal app you need to: "Load the config" Gofer new squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfSeaside30'; load. "Load the base seaside packages and Comanche as server" ((Smalltalk at: #ConfigurationOfSeaside30) project version: '3.0.3') load: #('Base' 'Seaside-Adaptors-Comanche'). You can then start the web server: WAKom startOn: 80 but you will not be able to see more than http://localhost/files as Dale already mentioned. Now implement a simple Seaside component: WAComponent subclass: #MyAppFrontPage instanceVariableNames: '' classVariableNames: '' poolDictionaries: '' category: 'MyApp-Web-UI' with the following rendering method on the instance side: renderContentOn: html html text: 'HelloWorld' And register it: WAAdmin register: MyAppFrontPage asApplicationAt: 'myapp'. You can browse it at: http://localhost/myapp If you want to make it the default entry point: WADispatcher default defaultName: 'myapp' This allows you to access it directly on: http://localhost All this is summarized and done in the attached changeset. Just drop it into a fresh core 1.2 image or file it in using the file browser, then see some loading magic and after its finished point your browser to http://localhost Have fun T. -- GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit gratis Handy-Flat! http://portal.gmx.net/de/go/dsl