[Seaside] Image for form submission

Jim Menard jimm at io.com
Fri Jun 30 14:49:19 UTC 2006


Boris,

Thank you for your help.

On 6/30/06, Boris Popov <boris at deepcovelabs.com> wrote:
> I can only attest to the new render canvas protocol, which you can use by
> implementing this on your component,
>
> rendererClass
>  ^RenderCanvas

I see WARenderCanvas but not RenderCanvas. I guess I have an older
version of Seaside.

>
> Once you do that, here's what you can do to create an image button,
>
> (html imageButton)
>   url: (self pictures addToPath: 'login');
>   callback: [self login];
>   text: 'Login'

Would that submit the form, including the fields in the form?

Jim
-- 
Jim Menard, jimm at io.com, jim.menard at gmail.com
http://www.io.com/~jimm


More information about the Seaside mailing list