I'm migrating from 5.x to 6.x and I have a few classes that make use of the older IAjaxCallDecorator and I was wondering what's a simple substitution for code like this:
add(new AjaxEventBehavior("onclick") { protected void onEvent(AjaxRequestTarget target) { ISortState state = stateLocator.getSortState(); if (!defaultSortAsc && state.getPropertySortOrder(property) == SortOrder.NONE ) { state.setPropertySortOrder(property, SortOrder.ASCENDING); } onClick(); onAjaxClick(target); } protected IAjaxCallDecorator getAjaxCallDecorator() { return new CancelEventIfNoAjaxDecorator(decorator); } }); I have this for my own AjaxFallbackOrderByBorder I use for the sortable headers in most of the table. ~ Thank you in advance, Paul Bors