Ordering of stylesheets is less of an issue imho, but I can see how excluding 
them can be important, as you could end up with tons of overrides that are 
excessive. 

So +1 for this idea:
> @Import(stylesheet=false)

Although I would rather prefer something along the lines of this for more 
precision:
@Exclude("stylesheet=default.css")

-Peter



----- Original Message -----
From: "Barry Books" <b...@trsvax.com>
To: "Thiago H. de Paula Figueiredo" <thiag...@gmail.com>
Cc: "Tapestry users" <users@tapestry.apache.org>, "Barry Books" 
<trs...@gmail.com>
Sent: Tuesday, 8 November, 2011 15:20:50 GMT +02:00 Athens, Bucharest, Istanbul
Subject: Re: T5.3 rc3 ordering of css

Good comment. That's even simpler. I'd still like some simple way to turn
off the defaults. Perhaps

@Import(stylesheet=false)

could clear the current stylesheets then I just put them in layout.tml.
Currently I'm using

    public void
contributeMarkupRenderer(OrderedConfiguration<MarkupRendererFilter>
configuration) {
        configuration.override("InjectDefaultStylesheet", new
MarkupRendererFilter() {

            public void renderMarkup(MarkupWriter writer, MarkupRenderer
renderer) {
                renderer.renderMarkup(writer);

            }
        });
    }

to turn off the Tapestry one but it seems like there must be a better way.

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

Reply via email to