[Seaside] Having one problem with WACounter tutorial

Philippe Marschall philippe.marschall at gmail.com
Sat Jan 27 09:37:34 UTC 2007


2007/1/27, Ryan Bell <ryan.l.bell at gmail.com>:
> My image is squeak-dev-72-2.image
>
> When I'm trying to change the links in the counter to buttons (as
> specified in the tutorial), I get this error:
>
> MessageNotUnderstood: WARenderCanvas>>submitButtonWithAction:text:
>
> Here's the code cut and pasted from the tutorial:
>
> renderContentOn: html
>     html form:  [
>        html heading: count.
>        html submitButtonWithAction: [self increase] text: '++'.
>        html space.
>        html submitButtonWithAction: [self decrease] text: '--'
>      ].
>
> Can anyone tell me what I am missing?

The tutorial was outdated. We wanted to update it for a long time but
never did it, I'm really sorry about that. So I just updated it. It
"should" work now.

Id would we cool if someone would review it (acutally Lukas promised
to review it if I update it ;) ).

Cheers
Phlippe


More information about the Seaside mailing list