Daniel Simons | 19 Jun 2012 22:58
Picon
Gravatar

wicketAjaxGet in 1.6

I recently upgraded to 6.0.0-beta2 and it appears that wicketAjaxGet
function has been removed from the API.

Uncaught ReferenceError: wicketAjaxGet is not defined

Is there a new way to get back to the server from javascript in 1.6?

Thanks,
Daniel Simons
Martin Dilger | 20 Jun 2012 08:25

Re: wicketAjaxGet in 1.6

Check the wiki to see what changed

https://cwiki.apache.org/confluence/display/WICKET/Wicket+Ajax

, there method names have been aligned, wicketajaxget now is
wicket.ajax.get.

regard

Martin Dilger
Am 19.06.2012 22:58 schrieb "Daniel Simons" <daniel.simons1@...>:

> I recently upgraded to 6.0.0-beta2 and it appears that wicketAjaxGet
> function has been removed from the API.
>
> Uncaught ReferenceError: wicketAjaxGet is not defined
>
>
> Is there a new way to get back to the server from javascript in 1.6?
>
> Thanks,
> Daniel Simons
>
Pedro Santos | 29 Jun 2012 06:08
Picon
Gravatar

Re: wicketAjaxGet in 1.6

Hi Daniel,

if you want to call back a AJAX behaviour, you can also check the method
AbstractDefaultAjaxBehavior#getCallbackScript()

cheers,

Pedro Santos

2012/6/20 Martin Dilger <martin.dilger@...>

> Check the wiki to see what changed
>
> https://cwiki.apache.org/confluence/display/WICKET/Wicket+Ajax
>
> , there method names have been aligned, wicketajaxget now is
> wicket.ajax.get.
>
> regard
>
> Martin Dilger
> Am 19.06.2012 22:58 schrieb "Daniel Simons" <daniel.simons1@...>:
>
> > I recently upgraded to 6.0.0-beta2 and it appears that wicketAjaxGet
> > function has been removed from the API.
> >
> > Uncaught ReferenceError: wicketAjaxGet is not defined
> >
> >
> > Is there a new way to get back to the server from javascript in 1.6?
(Continue reading)

Pedro Santos | 29 Jun 2012 06:10
Picon
Gravatar

Re: wicketAjaxGet in 1.6

Oh, also the best place to address this question is in the Wicket users
list, redirecting...

Pedro Santos

2012/6/29 Pedro Santos <pedrosans <at> gmail.com>

> Hi Daniel,
>
> if you want to call back a AJAX behaviour, you can also check the method
> AbstractDefaultAjaxBehavior#getCallbackScript()
>
> cheers,
>
> Pedro Santos
>
>
>
> 2012/6/20 Martin Dilger <martin.dilger <at> googlemail.com>
>
>> Check the wiki to see what changed
>>
>> https://cwiki.apache.org/confluence/display/WICKET/Wicket+Ajax
>>
>> , there method names have been aligned, wicketajaxget now is
>> wicket.ajax.get.
>>
>> regard
>>
>> Martin Dilger
(Continue reading)


Gmane