You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Heshani <he...@gmail.com> on 2014/02/07 12:15:55 UTC

The AjaxSubmitLink does not respond after migrating to wicket 6

I migrated the application from wicket 1.4 to 6.13.0. After the migration the
AjaxSubmitLink gets rendered with, href="javascript:;". Anyone knows the
reason for this issue? 
Thank you!

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/The-AjaxSubmitLink-does-not-respond-after-migrating-to-wicket-6-tp4664294.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: The AjaxSubmitLink does not respond after migrating to wicket 6

Posted by Sheane <Sh...@gmail.com>.
Did you have any luck with the migration? 
Im currently facing the same issue, none of my Ajax components seems to be
working. Should we do any configuration changes? 

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/The-AjaxSubmitLink-does-not-respond-after-migrating-to-wicket-6-tp4664294p4664339.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: The AjaxSubmitLink does not respond after migrating to wicket 6

Posted by Timo Schmidt <wi...@xomit.de>.
On Fri 07.02.2014 08:05, Heshani wrote:
>
> I fixed the registerPreCallHandler is not a function
> error. But im still facing the issue where the AjaxSubmitLink
> gets rendered with, href="javascript:;"

That's OK. Since Wicket 6 this is done by event listeners.

  -Timo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: The AjaxSubmitLink does not respond after migrating to wicket 6

Posted by Heshani <he...@gmail.com>.
I fixed the registerPreCallHandler is not a function error. But im still
facing the issue where the  AjaxSubmitLink gets rendered with,
href="javascript:;"

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/The-AjaxSubmitLink-does-not-respond-after-migrating-to-wicket-6-tp4664294p4664311.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: The AjaxSubmitLink does not respond after migrating to wicket 6

Posted by Martin Grigorov <mg...@apache.org>.
This API has been reworked. See
https://cwiki.apache.org/confluence/display/WICKET/Wicket+Ajax#WicketAjax-GlobalAjaxcalllisteners

And http://wicketinaction.com/2012/07/wicket-6-javascript-improvements/

Martin Grigorov
Wicket Training and Consulting


On Fri, Feb 7, 2014 at 12:29 PM, Heshani <he...@gmail.com> wrote:

> It does have the below javascript error,
>  Wicket.Ajax.registerPreCallHandler is not a function
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/The-AjaxSubmitLink-does-not-respond-after-migrating-to-wicket-6-tp4664294p4664296.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: The AjaxSubmitLink does not respond after migrating to wicket 6

Posted by Heshani <he...@gmail.com>.
It does have the below javascript error, 
 Wicket.Ajax.registerPreCallHandler is not a function

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/The-AjaxSubmitLink-does-not-respond-after-migrating-to-wicket-6-tp4664294p4664296.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: The AjaxSubmitLink does not respond after migrating to wicket 6

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

Check for JavaScript errors/logs.

Martin Grigorov
Wicket Training and Consulting


On Fri, Feb 7, 2014 at 12:15 PM, Heshani <he...@gmail.com> wrote:

> I migrated the application from wicket 1.4 to 6.13.0. After the migration
> the
> AjaxSubmitLink gets rendered with, href="javascript:;". Anyone knows the
> reason for this issue?
> Thank you!
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/The-AjaxSubmitLink-does-not-respond-after-migrating-to-wicket-6-tp4664294.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>