Re: OrderByBorder Markup

2011-01-03 Thread Martin Grigorov
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 wrote:

> Hi,
>
> I'm using the OrderByBorder feature and it works well for  rows
> without stylesheet classes.
> Unfortunately it fails if the  already has a stylesheet class:
>
> 
>
> 
>
> 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
>


OrderByBorder Markup

2011-01-03 Thread Peter Diefenthaeler
Hi,

I'm using the OrderByBorder feature and it works well for  rows 
without stylesheet classes.
Unfortunately it fails if the  already has a stylesheet class:



 

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