public static class CssModifier extends AttributeModifier
This seems to be the problem.
File a ticket in Jira. With quickstart will be easier for us to reproduce it
and fix it faster ;-)

In the meantime you can workaround the problem by calling:
orderByBorder.add(new AttributeAppender("class", true",
Model.of("MandateEntityTypeField"), " ")).


On Mon, Jan 3, 2011 at 9:29 AM, Peter Diefenthaeler <[email protected]>wrote:

> Hi,
>
> I'm using the OrderByBorder feature and it works well for <th> rows
> without stylesheet classes.
> Unfortunately it fails if the <th> already has a stylesheet class:
>
> <th class="MandateEntityTypeField" wicket:id="orderByEntitytype">
>        <wicket:message key="entitytype" />
> </th>
>
> Wicket replaces the class="MandateEntityTypeField"with the
> class="wicket_orderUp" and my field width properties will be lost.
> It would be better, if Wicket would add his style class instead of
> replacing it (  class="MandateEntityTypeField,wicket_orderUp")
>
> Is this an error or is it my fault?
>
> Thanks, Peter
>

Reply via email to