[Seaside] anchor not working?

Lukas Renggli renggli at gmail.com
Mon Mar 5 18:50:11 UTC 2007


> I was trying out seaside trying to build a simple app but I was blocked
> trying to create a link.
>
> --
>
> SaushTest>>renderContentOn: html
>   html anchorWithAction: [Smalltalk beep] text: 'Beep!'

You are using the old rendering framework that has been deprecated and
replaced by default with the new canvas framework. So either use the
new rendering framework (I suggest to do that, because the old
renderer has been removed from 2.8)

      html anchor callback: [ Beeper beep ]; with: 'Beep'

or tell Seaside to use the old renderer by implementing a method like

SomeComponent>>rendererClass
     ^ WAHtmlRenderer

Cheers,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the Seaside mailing list