[Seaside] How to register application at /

Philippe Marschall philippe.marschall at gmail.com
Tue Jul 6 20:15:51 UTC 2010


2010/7/5 Bob Arning <arning at charm.net>:
> Perhaps
>
>        WAAdmin defaultDispatcher defaultName: 'yourAppName'

In Seaside 3 if you absolutely want you can also register just your
application in the server without any dispatcher in between.

| application |
application := WAApplication new.
WAAdmin configureNewApplication: application.
application preferenceAt: #rootClass put: WACounter.
WAServerManager default adaptors first requestHandler: application

You need to make sure you the the right sever adaptor. Also note if
you do this, then you won't get any file libraries.

Cheers
Philippe


More information about the seaside mailing list