Hi Andrea, Do you suggest to change the default value for AjaxRequestAttributes#eventPropagation from Stop to Bubble in Wicket 6.x ? This is a rather big behavior change that may cause problems in many applications. This problem (and 'allowDefault' is similar) has been identified long time ago but we agreed that it is change that my break apps silently in a minor release so we left it for 7.0.0/
In our main app we use a AjaxRequestTarget.AbstractListener#updateAjaxAttributes() to set it to Bubble as default. This helped a lot to migrate the app to Wicket 7 ! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Nov 5, 2014 at 11:52 PM, Andrea Del Bene <[email protected]> wrote: > Sorry, it's line 415 https://github.com/apache/ > wicket/blob/wicket-6.x/wicket-core/src/main/java/org/apache/ > wicket/ajax/res/js/wicket-ajax-jquery.js > > Hi, >> >> running the tutorial example CheckBoxAjaxTree I've noted that from 6.7.0 >> to 6.8.0 ajax 'click' event on checkbox is no more bubbled to parent >> components. I found out that now the default value for ajax attrs.sp is >> "stop" for branch 6.x and I guess this prevents events from being bubbled >> (line 365 of wicket-ajax-jquery.js). I saw that in master branch this >> default value is 'bubble' thanks to WICKET-5198 commit by Sven. >> Is this consistent or should we apply this commit to wicket-6.x as well? >> > >
