Migration 1.5 - 6 CancelEventIfNoAjaxDecorator

2012-10-02 Thread Marco Di Sabatino Di Diodoro
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 085973
http://www.tirasa.net

Apache Syncope PPMC Member
http://people.apache.org/~mdisabatino






Re: Migration 1.5 - 6 CancelEventIfNoAjaxDecorator

2012-10-02 Thread Martin Grigorov
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
marco.disabat...@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 085973
 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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org