[Seaside] updating form element value

Lukas Renggli renggli at gmail.com
Tue Oct 2 02:45:44 UTC 2007


>         Look at the callback. I've put as first argument :v  which is
> correctly returning an input text value when the #change event actually
> happens in the UA, but I'm not receiving the canvas in :h  so it's nil. So
> I'm unable to perform an update of the content. I think it was possible to
> receive the value and the canvas to make the update, maybe I misunderstood
> something?

#callback:value: is not supposed to get a renderer passed in, just the
value. Use the common #callback: to get the renderer. Check out the
documentation in those two methods.

Cheers,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the Seaside mailing list