Hi,
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!' -- >From the documentation this should produce a beep but instead it produces this error: -- MessageNotUnderstood: WARenderCanvas>>anchorWithAction:text: * WARenderCanvas(Object)>>doesNotUnderstand: #anchorWithAction:text: self a WARenderCanvas temps aMessage anchorWithAction: [] in SaushTest>>renderContentOn: {[Smalltalk beep]} text: 'Beep!' inst vars currentBrush nil parentBrush nil painter a SaushTest context a WARenderingContext callbacks a WACallbackRegistry ... -- I'm using Seaside 2.7 which I just updated from SqueakSource. Actually most of the anchors don't work. However when I tried an older version of Seaside it seems to be working. Any clues as to why this is happening? Thks! -- CHANG Sau Sheong _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
> 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 _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Thks Lukas! But where can I get more information or documentation on the
new rendering framework? Lukas Renggli wrote: >> 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 > -- CHANG Sau Sheong _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
2007/3/5, Sau Sheong <[hidden email]>:
> Thks Lukas! But where can I get more information or documentation on the > new rendering framework? Here: http://lists.squeakfoundation.org/pipermail/seaside/2005-June/005260.html -- Damien Cassou _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Thks Damien, this is very helpful.
Damien Cassou wrote: > 2007/3/5, Sau Sheong <[hidden email]>: >> Thks Lukas! But where can I get more information or documentation on the >> new rendering framework? > > Here: > http://lists.squeakfoundation.org/pipermail/seaside/2005-June/005260.html > -- CHANG Sau Sheong _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |