[Seaside] Newbie questions

Felix Franz seaside@lists.squeakfoundation.org
Tue, 13 Aug 2002 20:37:24 +0200


Pablo Iaria wrote:
> Hi all,
>     I'm testing Seaside and I found it very powerfull and easy to use.
> However I have a couple of questions.
> 
>     Here I go:
> 
> 1)   If I have:
>         Test>html
>             ^'<img src="image.gif">'
> 
>       where should I put the file "image.gif" to get it displayed on the
> browser ?

you have to set the "Document Root" in the config-page. Enter the 
directory where your images are located. Then you can you have to use
	
		<img src="resource/image.gif">

(note the "resource/").

> 
> 2) I have a jsp/asp background (and a little of zope) and I found that is
> much easier to write html code outside Squeak. Is there a way to use file
> based templates ? (I saw the class IAFileTemplate but I couldn't figure out
> how to use it).

sorry, never looked at it.

Cheers,

felix