[Seaside] Newbie Q: Help with Canvas API Radiobuttons and Ajax

Lukas Renggli renggli at gmail.com
Sun Mar 12 09:01:19 UTC 2006


>  with: 'Yes';
>  callback: [ self yesVote ].
> [...]
>  with: 'No';
>  callback: [ self noVote ].

#with: must be always the last message in the cascade, because it
triggers to emit the HTML tag to the stream. In you version the
callback gets ignored after all, it should work if you swap #with: and
#callback:

But yes, I should write some tests for all HTML form controls, I not
quite sure if they all work properly together with the script.aculo.us
framework ;-)

Cheers,
Lukas

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


More information about the Seaside mailing list