[Seaside] Removing a Method

Philippe Marschall philippe.marschall at gmail.com
Sun Nov 11 20:04:19 UTC 2007


2007/11/11, Richard Eng <richard.eng at rogers.com>:
> Yesterday, I made the leap to Seaside 2.8 (from Damien's Seaside 2.7 dev
> image). It was relatively painless. About the only thing I had to do was
> replace register-for-backtracking with a new #states method:
>
> states
>     ^ Array with: registrationForm with: loginForm

If your component has the instance variables registrationForm and
loginForm and the value of these change (e.g different components are
placed there) I think this should be:

states
    ^ Array with: self

Cheers
Philippe

> I love what you guys have done with the Squeak page at seaside.st, providing
> Ready-made Images and One-Click Experience.
>
> So I got the Ready-made Image, but I've run into a problem:
>
> I am unable to Remove a method. When I click on the menu in the fourth pane
> of the system browser, it throws an exception saying:
>
>     Error: My subclass should have overridden #label
>
> Is there a workaround?
>
> Thanks,
> Richard
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the seaside mailing list