You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Korbinian Bachl - privat <ko...@whiskyworld.de> on 2008/02/21 23:32:26 UTC

AjaxLink/ AjaxFallbackLink ?

Hello,

wicket has two AjaxLinks:

AjaxLink + AjaxFallbackLink

Why are those 2 needed? IMHO the behaviour of the AjaxFallbacklink 
should be the same as AjaxLink (degrade if no JS is available) and I 
wonder if in wicket 1.4 AjaxLink could degrade by default and 
AjaxFallbackLink could be made @deprecated? Or did I miss anything?

Best,

Korbinian


Re: AjaxLink/ AjaxFallbackLink ?

Posted by Igor Vaynberg <ig...@gmail.com>.
then you would constantly have to check if the ajax request target in
onclick() is null which is not that nice if you dont care about
fallback.

-igor


On Thu, Feb 21, 2008 at 2:32 PM, Korbinian Bachl - privat
<ko...@whiskyworld.de> wrote:
> Hello,
>
>  wicket has two AjaxLinks:
>
>  AjaxLink + AjaxFallbackLink
>
>  Why are those 2 needed? IMHO the behaviour of the AjaxFallbacklink
>  should be the same as AjaxLink (degrade if no JS is available) and I
>  wonder if in wicket 1.4 AjaxLink could degrade by default and
>  AjaxFallbackLink could be made @deprecated? Or did I miss anything?
>
>  Best,
>
>  Korbinian
>
>