Re: Custom CSS-Class for OrderByLink (possible?)

2012-01-10 Thread Rain... Is wet!
Got what I want, but had to give up this approach :( Instead of adding more css-classes, I just added a label to the HeadersToolbar, to switch the ordering state via css background-image and doing my checks for grouptotals in HeadersToolbar.onConfigure() where an sumup-symbol is added as the new

Re: Custom CSS-Class for OrderByLink (possible?)

2012-01-06 Thread Martin Grigorov
Hi, Which version of Wicket is this ? In Wicket 1.5 ISortState is an interface and SingleSortState is a class. They are not enums and are definitely extendable On Fri, Jan 6, 2012 at 10:15 AM, Rain... Is wet! oryp-moel...@hotmail.de wrote: Hi, I'm currently extending the DataTable and used

Re: Custom CSS-Class for OrderByLink (possible?)

2012-01-06 Thread Rain... Is wet!
I'm using 1.5 and You're right, was just a typo of mine, I ment the enum SortOrder, not SingleSortState or ISortState... - Never forget your umbrella ! In case You did, try to find a shelter ;) -- View this message in context:

Re: Custom CSS-Class for OrderByLink (possible?)

2012-01-06 Thread Martin Grigorov
what other order you need ? On Fri, Jan 6, 2012 at 10:48 AM, Rain... Is wet! oryp-moel...@hotmail.de wrote: I'm using 1.5 and You're right, was just a typo of mine, I ment the enum SortOrder, not SingleSortState or ISortState... - Never forget your umbrella ! In case You did, try to find

Re: Custom CSS-Class for OrderByLink (possible?)

2012-01-06 Thread Rain... Is wet!
In DataProvider i implemented a List of columns in which there should be generated group-totals. In addition to the given SortOrders NONE, ASCENDING, DESCENDING I need NONESUM, ASCENDINGSUM, DESCENDINGSUM. What I've come so far is the ability to set those attributes via an additional

Re: Custom CSS-Class for OrderByLink (possible?)

2012-01-06 Thread Rain... Is wet!
Found an not so complicated way to implement own css-class to orderbylink. After calling the constructor of the superclass I just removed the standard-css Modifier and added my own implementation instead. this.removeAll(); this.add(new