Hi Maxim,
On Sun, Mar 13, 2016 at 9:38 AM, Maxim Solodovnik <[email protected]> wrote: > Hello All, > > In wicket 6.x cssClass provided by CssProvider to OrderByBorder was applied > to both container and link > <span><a></a></span> > in my case > > in wicket 7 css class is being applied only to container > I would like add cssClass to the link > Why do you need to do this ? I think it is simpler to have a more specific CSS rule for the link: span.mySpecialCssClass { /* my rules for the span */ } span.mySpecialCssClass a { /* my rules for the link */ } Doesn't that cover the needs ? > to implement this I'll override newOrderByLink and will add the class > > I believe it might be good idea to extract code to get cssClass name to > separate method to reduce code duplication > > WDYT? > > -- > WBR > Maxim aka solomax >
