SeasideAsync and Scriptaculous compatibility?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

SeasideAsync and Scriptaculous compatibility?

Joseph Blatter
Hi all.
I've configured a radio button tag (an input
type=radio) with an #onChange: aSUUpdater

When the aSUUpdater callback (Scriptaculous) is
evaluated, it renders a select tag with a live
callback (SeasideAsync), but this one is never called
when an item is selected.

is there a way to achieve this behavior?

i'm using latest Seaside 2.7a1, SeasideAsync.mb-50 and
Scriptaculous.lr-148

thanks


__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.espanol.yahoo.com/ 
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: SeasideAsync and Scriptaculous compatibility?

Bany, Michel
Hi Joseph,


> I've configured a radio button tag (an input
> type=radio) with an #onChange: aSUUpdater
>
> When the aSUUpdater callback (Scriptaculous) is evaluated, it
> renders a select tag with a live callback (SeasideAsync), but
> this one is never called when an item is selected.
>
> is there a way to achieve this behavior?

Did you add WAAsyncScripts to your aplication's libraries ?


> i'm using latest Seaside 2.7a1, SeasideAsync.mb-50 and
> Scriptaculous.lr-148
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: SeasideAsync and Scriptaculous compatibility?

Joseph Blatter
Hi Michel.

 --- "Bany, Michel" <[hidden email]> escribió:

> Hi Joseph,
>
>
> > I've configured a radio button tag (an input
> > type=radio) with an #onChange: aSUUpdater
> >
> > When the aSUUpdater callback (Scriptaculous) is
> evaluated, it
> > renders a select tag with a live callback
> (SeasideAsync), but
> > this one is never called when an item is selected.
> >
> > is there a way to achieve this behavior?
>
> Did you add WAAsyncScripts to your aplication's
> libraries ?
>
Yes, I did it. And I've added SULibrary too.
I've attached an example to reproduce the behavior.



__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.espanol.yahoo.com/ 
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

WAScriptaculousLiveCallback.st (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: SeasideAsync and Scriptaculous compatibility?

Bany, Michel
> > > I've configured a radio button tag (an input
> > > type=radio) with an #onChange: aSUUpdater
> > >
> > > When the aSUUpdater callback (Scriptaculous) is
> > evaluated, it
> > > renders a select tag with a live callback
> > (SeasideAsync), but
> > > this one is never called when an item is selected.
> > >
> > > is there a way to achieve this behavior?
> >
> > Did you add WAAsyncScripts to your aplication's libraries ?
> >
>
> Yes, I did it. And I've added SULibrary too.
> I've attached an example to reproduce the behavior.

You probably need to send evalScripts: true to the updater
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: SeasideAsync and Scriptaculous compatibility?

Joseph Blatter

 --- "Bany, Michel" <[hidden email]> escribió:

> > > > I've configured a radio button tag (an input
> > > > type=radio) with an #onChange: aSUUpdater
> > > >
> > > > When the aSUUpdater callback (Scriptaculous)
> is
> > > evaluated, it
> > > > renders a select tag with a live callback
> > > (SeasideAsync), but
> > > > this one is never called when an item is
> selected.
> > > >
> > > > is there a way to achieve this behavior?
> > >
> > > Did you add WAAsyncScripts to your aplication's
> libraries ?
> > >
> >
> > Yes, I did it. And I've added SULibrary too.
> > I've attached an example to reproduce the
> behavior.
>
> You probably need to send evalScripts: true to the
> updater

Yes, that worked! thank you.



__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.espanol.yahoo.com/ 
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside