Storage

Lukas Renggli renggli at iam.unibe.ch
Sat Sep 18 23:50:21 MEST 2004



Hi Hans,

> how can I switch on the storage on a running Smallwiki ? Or more 
> excactly: I can execute Smalltalk code in a SmallWiki page, but how I 
> get from there the reference to the server : in the example and 
> documentation, I must evaluate
> "server storage: ImageStorage new",  so what must be "server" if 
> evaluating in a Wiki page ?)

the following variables are defined in the context of the execution of 
a piece of code in a wiki page: request, response, structure and html. 
Request and response know about their server, so you might do something 
like:

	[ request server storage: nil ]

Hope this helps,
Lukas

-- 
Lukas Renggli
http://renggli.freezope.org




More information about the SmallWiki mailing list