This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 128317 - url clause in user defined .css don't generate right path
Summary: url clause in user defined .css don't generate right path
Status: RESOLVED WONTFIX
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P4 blocker (vote)
Assignee: Matthew Bohm
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-25 14:59 UTC by aperezymadrid
Modified: 2008-06-09 21:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aperezymadrid 2008-02-25 14:59:27 UTC
If you put a user defined .css
<webuijsf:link id="link2" url="/resources/mystyle.css"/>

with an url() inside

.menuh_over{
   background: transparent url(horover.png) center center repeat-x;
}

The generated image path is not right because it doesn't include the context path and the "faces" folder. Mozilla
Firefox retrieves the image, but not IE 6. If you put the images in the main folder but the stylesheet is inside the
resources folder, it doesn't work either.

Workaround:
include the images inside a <style> section in each page header and put images in the root folder. Possibly you can get
the same if you put the stylesheet as a separate file in the root folder with the images.
Comment 1 Peter Zavadsky 2008-02-25 21:18:36 UTC
I think this belongs to JSF not the IDE, passing first to the JSF support.
Comment 2 Matthew Bohm 2008-06-09 21:39:17 UTC
Firefox and IE7 both pull up the image. I'm not sure there's anything we could do within the IDE about IE6.