[Seaside] JQuery dialog radio buttons
jfitzell at gmail.com
Mon Dec 28 07:32:47 UTC 2009
I think if you look in JQFormFunctionalTest's
#renderLabel:control:model:on:, you'll see that it is outputing
complicated though for what you want. I imagine you can just do
something like (untested):
onChange: (html jQuery ajax callback: [ ... ]);
On Sun, Dec 27, 2009 at 9:37 PM, Ramiro Diaz Trepat
<ramiro at diaztrepat.name> wrote:
> Hi there,
> I have a JQuery dialog, which is a simple form composed of radio buttons.
> Each of those radio buttons has a #callback: block, that never gets called.
> The code that creates the radiobuttons looks something like this:
> html listItem
> with: [html radioButton
> group: group;
> callback: [self newTemplate: template];
> with: [
> html label: template name.
> html paragraph: template description]]].
> I saw a similar example in:
> JQFormFunctionalTest>>renderRadioButtonOn: html
> where radio buttons have a callback as well, and in this case the #callback:
> block does get called each time you change the radio button selection.
> Is there is anything particular to take care of for the callbacks to work
> inside a JQuery Dialog?
> In the example, the execution of the rendering in the #onChanged: triggers
> the #callback: of the radio buttons?
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside