can you not use css?

-igor


On Mon, Mar 10, 2008 at 6:17 AM, Eyal Golan <[EMAIL PROTECTED]> wrote:
> Hey all,
>  I am having an issue that seems to be simple, but still, no success.
>
>  I have a normal DataTable.
>  I add to it the toptoolbars manually:
>  HeadersToolbar thead = new HeadersToolbar(entityDataTable,
>  entitiesProvider);
>  entityDataTable.addTopToolbar(thead);
>  This is how it looks in the HTML:
>  <table wicket:id="entitiesList" class="browserTable">
>
>  This is how (part of) the generated HTML looks like:
>  <table class="browserTable" wicket:id="entitiesList">
>  <thead>
>  <tr class="headers">
>  <th wicket:id="header" class="wicket_orderUp"><wicket:border
>  _moz-userdefined=""><a wicket:id="orderByLink" class=""
>  
> href="?wicket:interface=:4:tabs:browserTabbedPanel:panel:entitiesList:topToolbars:2:toolbar:headers:1:header:orderByLink::ILinkListener::"><wicket:body
>  _moz-userdefined=""><span wicket:id="label">Person
>  ID</span></wicket:body></a></wicket:border>
>  </th>
>
>  I want a simple thing: I want to align the header labels to the left.
>  The problem(s):
>  - style doesn't have an attribute of align. Only vertical-align.
>  - I tried to add to the HeadersToolbar an AttributeModifier:
>  thead.add(new AttributeModifier("align", true, new Model("left")));
>
>  Nothing seems working.
>  I am using Firebug and the label <thead> keeps with no attribute.
>
>  Can anyone help?
>
>  Thank a lot
>
>
>  --
>  Eyal Golan
>  [EMAIL PROTECTED]
>
>  Visit: http://jvdrums.sourceforge.net/
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to