Hi,

I am still planning an upgrade to 5.4 while playing with the latest
5.4-SNAPSHOT. 
I have the following snippet in a shared CSS file:

-----
/* Fix for Bootstrap theme errors in PrimeFaces:
http://forum.primefaces.org/viewtopic.php?f=9&t=19250&start=10 */
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header
.ui-state-error {
    background: url("") repeat-x scroll 50% 50% #CD0A0A;
    border: 1px solid #CD0A0A;
    color: #FFFFFF;
}
----

When launched, I get a cryptic error message that seems to be caused by the
empty string in the url definition url("").

------
org.apache.tapestry5.ioc.internal.OperationException
Unable to locate asset 'context:styles/""' (the file does not exist).

trace
Handling page render request for page Login
Rewriting relative URLs in context:styles/layout.css
----

The weird part is that when the above mentioned css section is commented
out, the error still occurs. However, when completely deleted, the app works
fine.

Here are my questions:
1. Shouldn't  url("") be properly handled (btw, this works in 5.3)?
2. Why commenting out a section seems to have no effect (the cache was
cleared)?

Thanks,

/Serge




--
View this message in context: 
http://tapestry-users.832.n2.nabble.com/T5-4-Weird-behavior-with-CSS-files-tp7586969.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to