Hi All,
I'm trying to use this Open Source CSS template:

http://www.opendesigns.org/design/?template=45 (Multiflex 3)

Unfortunately, it looks like that some of the CSS element defined by the
default.css of Tapestry 5 are not redefined by Multiflex and still came
to the surface, interfering with Multiflex.

(Besides a lot of old ML messages) I read this page:

http://tapestry.apache.org/tapestry5/guide/conf.html

and I tried to get rid of the default.css in both of the following ways:

[web.xml]
<!-- Removing the default stylesheet -->
<context-param>
        <param-name>tapestry.default-stylesheet</param-name>
        <param-value></param-value>
</context-param> -->

[web.xml]
<!-- Overriding the default stylesheet with a empty one-->
<context-param>
        <param-name>tapestry.default-stylesheet</param-name>
        <param-value>empty.css</param-value>
</context-param> -->

[here the empty.css path is "webapp/empty.css"]

The first solution is explicitly refused by Jetty (that complains for a
unexpect null value) and cannot be used.

The second one is puzzling. I tried to refer to the empty.css in almost
any conceivable way ("empty.css",
"/lot/of/different/versions/of/classpath/empty.css",
"${context:empty.css}", etc.) and I also tried to put the empty.css in
almost any possible directory ("webapp", "webapp/styles", "resources",
even "src/main"...) without being able to get anything but this Jetty error:

Unable to locate asset 'classpath:empty.css' (the file does not exist)

So, my question is: where have I to drop this empty.css file and/or what
 have I to use as <param-value> in the web.xml file in order to use this
empty.css for overriding the default.css?

TIA

PS: the empty.css is not actually empty. It contains a single "body"
setup in order to make visible its effects.

-- 

Alessandro Bottoni
Website: http://www.alessandrobottoni.it/

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
     -- Benjamin Franklin, Historical Review of Pennsylvania, 1759

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

Reply via email to