The Idea with mixins is great. Even simpler: Since I always use the same RootLayout as uppermost component, I could simply add some method to add/manage the page's CSS.
I was able to solve the issue by reducing the amount of nested layout components to a maximum of two Then I put the @Import on the afterRender of the inner (ergo most specific) components. That way the uppermost RootLayout CSS comes first and the nested InnerLayout's CSS is second. 2012/3/20 Thiago H. de Paula Figueiredo <thiag...@gmail.com>: > On Tue, 20 Mar 2012 13:37:26 -0300, Lance Java <lance.j...@googlemail.com> > wrote: > >> Perhaps you could write a MarkupRendererFilter that gets the "html/head" >> element and loops through all of the "link" elements calling moveToTop() >> on each (thus reversing the order). > > > You could do that in a mixin added to the root layout component instead. No > need for MarkupRendererFilter in this case. > > > -- > Thiago H. de Paula Figueiredo > Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and > instructor > Owner, Ars Machina Tecnologia da Informação Ltda. > http://www.arsmachina.com.br > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org