[
https://issues.jboss.org/browse/FORGE-1125?page=com.atlassian.jira.plugin...
]
Gerry Matte commented on FORGE-1125:
------------------------------------
I don't believe this change was effective in resolving the problem. The css
references that used to contain only the file name in the url are now preceded by the
context-path and /resources/ but the entire string within the url() must be enclosed in
single quotes. The current change only precedes the file name with the context path and
/resources/
IMHO the context path is not required .... only the /resources/ must precede the file name
AND the entire relative path string must be enclosed in single quotes.
I encountered this problem while debugging my webapp's custom exception handler - I
noted that unexpected 404 errors were being caught by my exception handler although they
were not visible to the end user browser (because they were image resources not found
rather than an entire page not found).
My solution was to enclose all url file names in forge-style.css within single quotes and
to also prefix the file name with /resources/
Thusly, line 241 which had been:
background-image: url(search.png);
became
background-image: url('/resources/search.png');
The lines that required these changes were 241,281,288,359,384, and 434.
(Note that 434 was not modified as part of FORGE-1125 fix)
Images path in forge-style.css is missing the contextPath
---------------------------------------------------------
Key: FORGE-1125
URL:
https://issues.jboss.org/browse/FORGE-1125
Project: Forge
Issue Type: Feature Request
Components: Scaffold
Affects Versions: 1.3.3.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
Priority: Trivial
Fix For: 1.4.0.Final
{quote}
<jp_2013> One thing I noticed about the scaffolding is that the CSS images
don't seem to work. I had to update the background-image url to have
#{request.contextPath}/resources/ in front of the file names
{quote}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira