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

2014-02-10 Thread Sheane
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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



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

2014-02-07 Thread Martin Grigorov
Hi,

Check for JavaScript errors/logs.

Martin Grigorov
Wicket Training and Consulting


On Fri, Feb 7, 2014 at 12:15 PM, Heshani heshni.per...@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-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




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

2014-02-07 Thread Heshani
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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



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

2014-02-07 Thread Martin Grigorov
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 heshni.per...@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-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




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

2014-02-07 Thread Heshani
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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



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

2014-02-07 Thread Timo Schmidt
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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org