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 /mytest/nested/resources/wicket.examples.nested.MenuPanel/dropmenu.gif

However, if I include htc file, it is wrong, And by look in http message,
it is as follows:
GET /mytest/csshover.htc

It is very strange!


Eelco Hillenius wrote:
 
 
  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 properly. And the ultimate test is to set a
 breakpoint in WicketServlet/Filter#get and see what kind of requests
 are made.
 
 Eelco
 
 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

-- 
View this message in context: 
http://www.nabble.com/How-to-include-*.htc-files-in-css-files--tf3238484.html#a11535295
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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):

body {background: #EEE; color: #000;
  background: url(csshover.htc);} /* WinIE behavior call */
ul.menu1 li.submenu li.submenu {background: url(submenu.gif) 95% 50%
no-repeat;}

Then I can see that the htc file is downloaded correctly:
GET /mytest/nested/resources/wicket.examples.nested.MenuPanel/csshover.htc

2)Or if I change like this (Just for test):
body {background: #EEE; color: #000;
  behavior: url(csshover.htc);} /* WinIE behavior call */
ul.menu1 li.submenu li.submenu {background: url(csshover.htc) 95% 50%
no-repeat;}

Then I can also see that the htc file is downloaded corrently:
GET /mytest/nested/resources/wicket.examples.nested.MenuPanel/csshover.htc


So it seesm that only background:url(...) in CSS can be processed
correctly while behavior:url(...) can not. Is this a bug in Wicket or IE ?

-- 
View this message in context: 
http://www.nabble.com/How-to-include-*.htc-files-in-css-files--tf3238484.html#a11535609
Sent from the Wicket - User mailing list archive at Nabble.com.
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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: #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): body {background: #EEE; color: #000; background: url(csshover.htc);}
 /* WinIE behavior call */ ul.menu1 li.submenu li.submenu {background:
 url(submenu.gif) 95% 50% no-repeat;} Then I can see that the htc file is
 downloaded correctly: GET
 /mytest/nested/resources/wicket.examples.nested.MenuPanel/csshover.htc
 2)Or if I change like this (Just for test): body {background: #EEE; color:
 #000; behavior: url(csshover.htc);} /* WinIE behavior call */ ul.menu1
 li.submenu li.submenu {background: url(csshover.htc) 95% 50% no-repeat;}
 Then I can also see that the htc file is downloaded corrently: GET
 /mytest/nested/resources/wicket.examples.nested.MenuPanel/csshover.htc
 So it seesm that only background:url(...) in CSS can be processed
 correctly while behavior:url(...) can not. Is this a bug in Wicket or IE ?
 
  View this message in context: Re: How to include *.htc files in css files?

  Sent from the Wicket - User mailing list archive at Nabble.com.

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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: 
http://www.nabble.com/How-to-include-*.htc-files-in-css-files--tf3238484.html#a9038996
Sent from the Wicket - User mailing list archive at Nabble.com.


-
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.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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 Wicket. But I would suggest to use the pngfix I attached,
because this supports also background images (more frecvently used nowadays
in pages than regular img) One drawback is that background-repeat and
background-position cannot be honored by Microsoft's AlphaImage Loader in
case of background 
images.IEPngFixBest.ziphttp://www.nabble.com/file/6628/IEPngFixBest.zip
--
View this message in context: Re: How to include *.htc files in css 
files?http://www.nabble.com/How-to-include-*.htc-files-in-css-files--tf3238484.html#a9039119
Sent from the Wicket - 
Userhttp://www.nabble.com/Wicket---User-f13976.htmlmailing list archive at
Nabble.com.

-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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: 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 Wicket. But I would suggest to use the pngfix I attached,
 because this supports also background images (more frecvently used nowadays
 in pages than regular img) One drawback is that background-repeat and
 background-position cannot be honored by Microsoft's AlphaImage Loader in
 case of background images. 
IEPngFixBest.ziphttp://www.nabble.com/file/6628/IEPngFixBest.zip
 --
 View this message in context: Re: How to include *.htc files in css
 files?
 
http://www.nabble.com/How-to-include-*.htc-files-in-css-files--tf3238484.html#a9039119
 Sent from the Wicket - 
Userhttp://www.nabble.com/Wicket---User-f13976.htmlmailing list archive at
 Nabble.com.


 -
 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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:

http://localhost:8080/resources/dk.frankbille.teachus.frontend.pages.BasePage/resources/main.css

If I put iepngfix.htc and blank.gif in the same folder (
dk.frankbille.teachus.frontend.pages.BasePage/resources), then IE doesn't
load it. It seems that IE thinks that url(iepngfix.htc) means
url(/iepngfix.htc) even if you try to say url(./iepngfix.htc).

So bottom line (for now) is:

put iepngfix.htc and blank.gif in your webapp root.

Frank

P.s. Another solution could be to try writing the absolute URL for
iepngfix.htc in the css/style and see if that works. Haven't tried it yet.



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 browser cannot find the referenced htc file. The strange thing is that
I
refer to various images (in the same css) the same way, I mean:
background-image:url(../img/background.png), and the images are found.

Could anyone tell me why the above technique did not work for *.htc files?

Thanx in advance.
--
View this message in context:
http://www.nabble.com/How-to-include-*.htc-files-in-css-files--tf3238484.html#a9001326
Sent from the Wicket - User mailing list archive at Nabble.com.


-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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 that IE handles urls for
 behaviours. I serve my css as a resource in wicket, which means that the url
 is something like:

 http://localhost:8080/resources/dk.frankbille.teachus.frontend.pages.BasePage/resources/main.css

  If I put iepngfix.htc and blank.gif in the same folder
 (dk.frankbille.teachus.frontend.pages.BasePage/resources),
 then IE doesn't load it. It seems that IE thinks that url(iepngfix.htc)
 means url(/iepngfix.htc) even if you try to say url(./iepngfix.htc).

 So bottom line (for now) is:

 put iepngfix.htc and blank.gif in your webapp root.

 Frank

 P.s. Another solution could be to try writing the absolute URL for
 iepngfix.htc in the css/style and see if that works. Haven't tried it yet.



 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 browser cannot find the referenced htc file. The strange thing is that
 I
  refer to various images (in the same css) the same way, I mean:
  background-image:url(../img/background.png), and the
 images are found.
 
  Could anyone tell me why the above technique did not work for *.htc files?
 
  Thanx in advance.
  --
  View this message in context:
 http://www.nabble.com/How-to-include-*.htc-files-in-css-files--tf3238484.html#a9001326
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
 
 -
  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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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, 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 that IE handles urls for
 behaviours. I serve my css as a resource in wicket, which means that the
url
 is something like:


http://localhost:8080/resources/dk.frankbille.teachus.frontend.pages.BasePage/resources/main.css

  If I put iepngfix.htc and blank.gif in the same folder
 (dk.frankbille.teachus.frontend.pages.BasePage/resources),
 then IE doesn't load it. It seems that IE thinks that url(iepngfix.htc)
 means url(/iepngfix.htc) even if you try to say url(./iepngfix.htc).

 So bottom line (for now) is:

 put iepngfix.htc and blank.gif in your webapp root.

 Frank

 P.s. Another solution could be to try writing the absolute URL for
 iepngfix.htc in the css/style and see if that works. Haven't tried it
yet.



 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 browser cannot find the referenced htc file. The strange thing is
that
 I
  refer to various images (in the same css) the same way, I mean:
  background-image:url(../img/background.png), and the
 images are found.
 
  Could anyone tell me why the above technique did not work for *.htc
files?
 
  Thanx in advance.
  --
  View this message in context:

http://www.nabble.com/How-to-include-*.htc-files-in-css-files--tf3238484.html#a9001326
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
 

-
  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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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
use a retarded browsers like IE)? Can we open an issue for it to track
it?

Eelco

On 2/18/07, Frank Bille [EMAIL PROTECTED] wrote:
 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.

-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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 properly. And the ultimate test is to set a
breakpoint in WicketServlet/Filter#get and see what kind of requests
are made.

Eelco

-
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.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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 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 browser cannot find the referenced htc file. The strange thing is that
I
refer to various images (in the same css) the same way, I mean:
background-image:url(../img/background.png), and the images are found.

Could anyone tell me why the above technique did not work for *.htc files?

Thanx in advance.
--
View this message in context:
http://www.nabble.com/How-to-include-*.htc-files-in-css-files--tf3238484.html#a9001326
Sent from the Wicket - User mailing list archive at Nabble.com.


-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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 browser cannot find the referenced htc file. The strange thing is that
I
refer to various images (in the same css) the same way, I mean:
background-image:url(../img/background.png), and the images are found.

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?

-js
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user