[Seaside] Newbie questions

Felix Franz seaside@lists.squeakfoundation.org
Tue, 13 Aug 2002 23:45:40 +0200


Hi Pablo,

Pablo Iaria wrote:
> Thanks a lot for answering !
> 
> Unfortunately it didn't works as expected....
> 
> I have a html file with:
> <html>
>     <body>
>         <mytestcomponent sea:id="testing"></mytestcomponent>
>     </body>
> </html>
> 
> I set the "Document Root" property with the file path and I added the
> "template" method you told me earlier but I got the "MessageNotUnderstood:
> children"  message.

changing the method to:

template
   template ifNil:
     [template := IAFileTemplate new file: 'foo.html'; model: self.
      self addHandlers].
   ^ template

worked for me. (model: self is used in IAPage>>template)


Cheers,

felix


> 
> Am I doing something wrong ? or this feature is not working any more ?
> 
> Thanks,
>     Pablo.-
>