You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Marco Di Sabatino Di Diodoro <ma...@tirasa.net> on 2012/10/02 14:51:38 UTC
Migration 1.5 -> 6 CancelEventIfNoAjaxDecorator
Hi all,
how can I convert for Wicket 6.0:
@Override
protected IAjaxCallDecorator getAjaxCallDecorator () {
return new CancelEventIfNoAjaxDecorator(AjaxDecoratedCheckbox.this.getAjaxCallDecorator());
}
Regards
M
--
Dott. Marco Di Sabatino Di Diodoro
Tel. +39 3939065570
Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PPMC Member
http://people.apache.org/~mdisabatino
Re: Migration 1.5 -> 6 CancelEventIfNoAjaxDecorator
Posted by Martin Grigorov <mg...@apache.org>.
Hi Marco,
Just remove this. It is the default in Wicket 6.
To switch on/off:
#updateAjaxAttributes(AjaxRequestAttributes attrs){
attrs.setAllowDefault(true|false);
}
On Tue, Oct 2, 2012 at 3:51 PM, Marco Di Sabatino Di Diodoro
<ma...@tirasa.net> wrote:
> Hi all,
>
> how can I convert for Wicket 6.0:
>
> @Override
> protected IAjaxCallDecorator getAjaxCallDecorator () {
> return new CancelEventIfNoAjaxDecorator(AjaxDecoratedCheckbox.this.getAjaxCallDecorator());
> }
>
> Regards
> M
>
> --
>
> Dott. Marco Di Sabatino Di Diodoro
> Tel. +39 3939065570
>
> Tirasa S.r.l.
> Viale D'Annunzio 267 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PPMC Member
> http://people.apache.org/~mdisabatino
>
>
>
>
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org