Yes,

this bug is in 1.2.2 only, happened during backporting it seems.
Easiest solution (workaround) I can think of is to add empty 
WebMarkupContainer and add the header contributor there.

-Matej

Igor Vaynberg wrote:
> i think this is a known header contributor bug in 1.2.2 - headers are 
> contributed only once.
> 
> -Igor
> 
> On 9/10/06, *Per Ejeklint* < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> 
> wrote:
> 
>     OK, I solved it but am not sure what I did wrong at first.
> 
>     My MainPage contains AjaxTabbedPanels, and each panel contains forms
>     or tables.
> 
>     In my MainPage I added style with
> 
>     add(new HeaderContributor.CSSHeaderContributor("tabs.css" ));
> 
>     but after clicking on a table header in a sortable table (from
>     Databinder), the rendered page lost the link to tabs.css.
> 
>     Removing the HeaderContributor and replace it with
> 
>     <wicket:head>
>     <link rel="stylesheet" type="text/css" href=" tabs.css" />
>     </wicket:head>
> 
>     fixed it. Now my page looks nice again. :-)
> 
>     Is there an explanation for this or can it be a bug? I'm using
>     1.2-SNAPSHOT.
> 
>     /Per
> 
> 
>     9 sep 2006 kl. 23.43 skrev Per Ejeklint:
> 
>     Yes, I have those in place, so something else is going on...
> 
> 
>     9 sep 2006 kl. 23.30 skrev Igor Vaynberg:
> 
>>     make sure you have all the necessary styles for the link implemented
>>
>>     namely th.wicket_orderDown/Up/None
>>
>>     -Igor
>>
>>
>>     On 9/9/06, *Per Ejeklint* < [EMAIL PROTECTED]
>>     <mailto:[EMAIL PROTECTED]>> wrote:
>>
>>         I have a page with a few AjaxTabbedPanels. Two contains
>>         TreeTables and renders just fine. One contains a DataTable
>>         with a HeadersToolbar for sorting. This panel renders fine
>>         when first entered, but when I click on a header to sort, the
>>         CSS styling for the enclosing tab-row breaks. It's styling
>>         falls back to regular links in an "ul". I don't know where to
>>         start, so can anyone give me tips on where to put my
>>         bug-finding loupe at first?
>>
>>         /Per
>>
> 
>     -------------------------------------------------------------------------
> 
>     Using Tomcat but need to do more? Need to support web services,
>     security?
>     Get stuff done quickly with pre-integrated technology to make your
>     job easier
>     Download IBM WebSphere Application Server v.1.0.1 based on Apache
>     Geronimo
>     
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________
>     
> <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________>
>     Wicket-user mailing list
>     Wicket-user@lists.sourceforge.net
>     <mailto:Wicket-user@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
>     My status *Per Ejeklint*: Consultant at Heimore Group AB
>     <http://www.heimore.com>, Kungsg. 33 11th floor, SE-111 56 Stockholm
>     <http://www.stockholm.se>, Sweden <http://www.sweden.se>
>     Contact: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>;
>     mobile +4670-5090052
> 
> 
>     -------------------------------------------------------------------------
>     Using Tomcat but need to do more? Need to support web services,
>     security?
>     Get stuff done quickly with pre-integrated technology to make your
>     job easier
>     Download IBM WebSphere Application Server v.1.0.1 based on Apache
>     Geronimo
>     http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>     <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
> 
>     _______________________________________________
>     Wicket-user mailing list
>     Wicket-user@lists.sourceforge.net
>     <mailto:Wicket-user@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/wicket-user
>     <https://lists.sourceforge.net/lists/listinfo/wicket-user>
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to