Hi folks,
I want to use a Yahoo UI API button and to add a Wicket Listener to one of
its event. The Yahoo UI API button has a method for this which mus be called
as
button.addListener("click", functionname);
I am not a JavaScript expert, so I assume, methodname is something like a
function pointer. So in my Wicket Java file, I add a header contribution
with this and set the CallbackUrl of my Behavior class as functionname.
Unfortunately, the callback URLs start with a "?" and have some other
symbols in their name. This raises a JavaScript error, Firebug says "syntax
error". There is no error, if I put the callback URL in quotation marks, but
then the callback is not triggered. Any hint?
Thanks a lot!
Best regards
--
View this message in context:
http://www.nabble.com/Callback-URL-raises-JavaScript-syntax-error-tp18029898p18029898.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]