Re: [Wicket-user] How to include *.htc files in css files?

2007-07-11 Thread rc.china
I have exactly the same problem and I am using wicket 1.2.6. I am certain that the htc file has been copied. If I include gif/css files, it is OK. And by look in http message, it is as follows: GET /mytest/nested/resources/wicket.examples.nested.MenuPanel/menupanel.css GET

Re: [Wicket-user] How to include *.htc files in css files?

2007-07-11 Thread rc.china
I have do some further tests. This is the content of my original CSS file: body {background: #EEE; color: #000; behavior: url(csshover.htc);} /* WinIE behavior call */ ul.menu1 li.submenu li.submenu {background: url(submenu.gif) 95% 50% no-repeat;} 1)If I change like this (Just for test):

Re: [Wicket-user] How to include *.htc files in css files?

2007-07-11 Thread Matej Knopp
It's probably a bug (or intended behavior) if IE. Wicket can't really control the http request the browser makes to get the .htc file. -Matej On 7/11/07, rc.china [EMAIL PROTECTED] wrote: I have do some further tests. This is the content of my original CSS file: body {background: #EEE; color:

Re: [Wicket-user] How to include *.htc files in css files?

2007-02-19 Thread Alex Objelean
(LOL) Unfortunately more than 70% of users are using retarded browsers :)) (not like - it's IE!). Alex. Any ideas on how this might be fixed (accept for telling people not to use a retarded browsers like IE)? Can we open an issue for it to track it? Eelco -- View this message in context:

Re: [Wicket-user] How to include *.htc files in css files?

2007-02-19 Thread Igor Vaynberg
// This is licensed under the CC-GNU LGPL, version 2.1 or later. // For details, see: http://creativecommons.org/licenses/LGPL/2.1/ cant, its lgpl -igor On 2/19/07, Zágoni Elemér [EMAIL PROTECTED] wrote: Hi Igor, It's a good idea to include the InternetExplorer png fix as a Behavior in

Re: [Wicket-user] How to include *.htc files in css files?

2007-02-19 Thread Frank Bille
Yes I noticed that so the only thing we can do is to create a wiki page about it. I'll do that if I find out something useful. Frank On 2/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: // This is licensed under the CC-GNU LGPL, version 2.1 or later. // For details, see:

Re: [Wicket-user] How to include *.htc files in css files?

2007-02-18 Thread Frank Bille
I have got it to work on my local installation. You need to put the .htc and blank.gif in you root webapp folder. There seems to be a problem with the way that IE handles urls for behaviours. I serve my css as a resource in wicket, which means that the url is something like:

Re: [Wicket-user] How to include *.htc files in css files?

2007-02-18 Thread Eelco Hillenius
For which version did you test that Frank? Does Al's relative URL fix help here? Eelco On 2/18/07, Frank Bille [EMAIL PROTECTED] wrote: I have got it to work on my local installation. You need to put the .htc and blank.gif in you root webapp folder. There seems to be a problem with the way

Re: [Wicket-user] How to include *.htc files in css files?

2007-02-18 Thread Frank Bille
Oh yeah that was 1.3. So sorry no luck. It has nothing to do with how wicket handles urls, but how IE interprets url() for behavior. Frank On 2/18/07, Eelco Hillenius [EMAIL PROTECTED] wrote: For which version did you test that Frank? Does Al's relative URL fix help here? Eelco On 2/18/07,

Re: [Wicket-user] How to include *.htc files in css files?

2007-02-18 Thread Frank Bille
Let me investigate it a bit further when I'm near IE6 again. If nothing else works you have to make the URL absolute in the css. I'll create an issue to track it. Frank On 2/18/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Any ideas on how this might be fixed (accept for telling people not to

Re: [Wicket-user] How to include *.htc files in css files?

2007-02-17 Thread Eelco Hillenius
Could anyone tell me why the above technique did not work for *.htc files? Are you sure .htc files are being copied/included in your build process? Yeah, it could be that those files aren't copied. Also, what does you log say... Wicket logs a warning when it can't serve a package resource

[Wicket-user] How to include *.htc files in css files?

2007-02-16 Thread Zágoni Elemér
Hi, I'm new to Wicket (using Wicket ver. 1.2.4). I tried to include an htc file (Internet Explorer behavior file) in a css (to fix incorrect png handling in IE). I did it like below: *img, div {behavior:url(../htc/iepngfix.htc)} the browser cannot find the referenced htc file. The strange

Re: [Wicket-user] How to include *.htc files in css files?

2007-02-16 Thread Igor Vaynberg
that is very interesting, can you reproduce that in a quickstart? also for explorer png fix we have a packaged solution but right now it is only in trunk https://svn.apache.org/repos/asf/incubator/wicket/trunk/wicket-extensions/src/main/java/wicket/extensions/explorerpngfix/ -igor On

Re: [Wicket-user] How to include *.htc files in css files?

2007-02-16 Thread Jonathan Sharp
On 2/16/07, Zágoni Elemér [EMAIL PROTECTED] wrote: Hi, I'm new to Wicket (using Wicket ver. 1.2.4). I tried to include an htc file (Internet Explorer behavior file) in a css (to fix incorrect png handling in IE). I did it like below: *img, div {behavior:url(../htc/iepngfix.htc)} the