Thanks that is exactly what I was looking for. I built my own jar out of the branch and the problem is resolved. I look forward to 1.2.5.
Ryan On 1/25/07, Sean Sullivan <[EMAIL PROTECTED]> wrote: > > See: > > > http://www.mail-archive.com/wicket-dev@incubator.apache.org/msg01808.html > > http://issues.apache.org/jira/browse/WICKET-188?page=all > > > > On 1/25/07, Ryan <[EMAIL PROTECTED]> wrote: > > I have been using a custom HeadearContributor to add css dynamically > > to each page. This setup was working great in 1.2.3 but after I > > upgraded to 1.2.4 I am seeing problems where sometimes the css is not > > added to the page. After some debuging I have verified the > > HeaderContributor is being added as a behavior to the page however the > > css is not added to the rendered html. > > > > Further digging revealed AbstractBehavior.cleanup() is never called so > > my HeaderContributor is left in the thread local cache in > > AbstractHeaderContributor. On http requests that go to another jetty > > thread the css is added and everything works as expected. On > > subsequent requests to that thread the css is not added. Is this a > > bug? > > > > A little more information about my setup may be helpful: > > > > The following code is in MyPage.java: > > > > public MyPage() { > > add(new AbsolutePathCssContributor("/something.css")); > > add(HeaderContributor.forCss("../something.css")); > > } > > > > I put both my custom contributor (AbsolutePathCssContributor) and the > > built in contributor. Both are either added or not added depending on > > the state of the thread that serves the request. > > > > Am I doing something wrong or is there a problem in 1.2.4? > > > > Thanks! > > > > Ryan > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user