In your AppModule, you can contribute a MarkupRendererFilter to fire after
JavaScriptSupport

    public void
contributeMarkupRenderer(OrderedConfiguration<MarkupRendererFilter>
configuration) {
        configuration.addInstance("MyMarkupRendererFilter",
MyMarkupRendererFilter.class, "after:JavaScriptSupport");
    }

MyMarkupRendererFilter can use then manipulate the MarkupWriter's DOM
before it is written to the response output stream

http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/MarkupWriter.html

On Monday, 19 March 2012, Beat Durrer <bdur...@gmail.com> wrote:
> Hi all,
>
> I have a "RootLayout" component which loads a CSS file, and some
> SubLayout components add an other CSS.
> I'm using T5.3.2 and simply applied the @Import(stylesheet={...}) to
> the Layout classes.
>
> At the moment, the CSS from RootLayout is loaded after the SubLayouts
> and therefore overrides theCSS styles.
> Can I somehow control in which order those stylesheets are loaded? How?
>
>
> Thanks in advance :-)
> Beat
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to