Hi!

I am using the @EventListener Annotation for the RadioGroup Component and it
works fine.
The difference is that I register the listener not on the RadioGroup, but on
the single Radio Component.

In addition to "onchange" I register the events "onclick" and "onkeyup", due
to different behaviour between ff und ie and the single usage of the
keyboard.

Best regards,
Gerry



2008/7/4 Christophe Mesplede <[EMAIL PROTECTED]>:

> Hi.
>
> I've been experiencing the exact same problem trying to use the RadioGroup
> Ajax
> behaviour. As you did, I also tried the sample code from the documentation,
> it did
> not work.
> Finally, I gave up the Ajax way, and added a looot of stuff in javascript
> to
> make
> some kind of workaround, but with no server interaction :(
>
> Anyway it's sad neither of us managed to make this work. I wonder if
> someone
> on
> the mailing list ever used this ability of the RadioGroup...
>
> Regards,
> Chris
>
>
> > Hi,
> > When trying to you the onChange method on a RadioGroup component, we
> > encountered the following error client side :
> >
> > [Exception... "'Error: bad srcObj for srcFunc: onChange' when calling
> > method: [nsIDOMEventListener::handleEv> ent]"  nsresult: "0x8057001c
> > (NS_ERROR_XPC_JS_THREW_JS_OBJECT)"  location: "<unknown>"  data: no]
> >
> > We thought we did something wrong so we started back from the Ajax
> > example on the tapestry website
> > (http://tapestry.apache.org/tapestry4.1/components/form/radiogroup.html
> ).
> > Still doesn't work.
> >
> > Do you have an idea ?
> > How to made the example work, is there something missing ?
> >
> > Best regards,
> > Jérome.
>

Reply via email to