[Seaside] Decoupling of Button text and message name for WAFormDecoration

Davorin Rusevljan davorin.rusevljan at gmail.com
Fri Mar 26 12:11:07 UTC 2010


I would like to be able to display different text on form buttons (let's say
depending on the language), while using WAFormDecoration. Of course, I would
like to keep the same name for the method that gets called when button is
pressed, regardless of text displayed on the button.

It seems that if I would subclass WAFormDecoration and override
#renderButtonForSelector:on: I might be able to accomplish this.

Is there perhaps a simpler way?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100326/1c11a55c/attachment.htm

More information about the seaside mailing list