Thiago H. de Paula Figueiredo ha scritto: >> http://tapestry.apache.org/tapestry5/guide/conf.html >> and I tried to get rid of the default.css in both of the following ways: > > Try to set this configuration symbom in AppModule, method > contributeApplicationDefaults(), instead of using web.xml. > Its value must be passed as a valid asset: context:/css/yourtemplate.css > or classpath:/your/path/to/css/yourtemplate.css.
No luck... I added this line: [AppModule.java] // Overriding the default.css configuration.add("DEFAULT_STYLESHEET", "context:styles/empty.css"); to my AppModule.java. Now, the app does compile and run smoothly but the default.css stylesheet is still there... (I tried a few different spelling and casing, as well). Moving and referencing in the right way the empty.css I was able to get a compiling and working app even using the web.xml: [web.xml] <!-- Removing the default stylesheet --> <context-param> <param-name>tapestry.default-stylesheet</param-name> <param-value>context:styles/empty.css</param-value> </context-param> Unfortunately, neither in this case I was able to actually overridde the default.css. In both cases, my empty stylesheet is here: webapp/styles/empty.css I'm using the standard "quickstart" Maven archetype so the "context" refers to "src/main/webapp". It looks like this default.css is a real "highlander"... ;-) Any suggestion? Silver bullets? Holy Water? Wood stakes? Thanks -- Alessandro Bottoni Website: http://www.alessandrobottoni.it/ "Great spirits have often encountered violent opposition from weak minds." -- Albert Einstein
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org