[Seaside] Configuration hard coding

Paul DeBruicker pdebruic at gmail.com
Mon Nov 11 21:08:12 UTC 2013


See: 
http://book.seaside.st/book/advanced/deployment/deployment-preparing

	| app |
	app :=  WAAdmin register: self asApplicationAt: 'myApp'.
	
app
    preferenceAt: #serverProtocol put: 'http';
    preferenceAt: #serverHostname put: 'localhost';
    preferenceAt: #serverPort put: 8080;
    preferenceAt: #serverPath put: '/'


On Nov 11, 2013, at 12:44 AM, Maarten Mostert <maarten.mostert at wanadoo.fr> wrote:

> Hi,
> There must be a way to modify Server Hostname, Server Path and Server Port by code ?
> Anyone knows how to do that ?
> Regards,
> @+Maarten,
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list