On Mon, 31 Oct 2011 11:48:04 -0200, Eugene Zhulkov <ezhul...@gmail.com> wrote:

Dear community!

Hi!

I'm facing a trouble that I can't solve. But I think it's solvable :)
So I need to insert css stylesheet link to the top of the HEAD tag. Even
before Tapestry resources.

Why? I've never read about needing to add CSS files before JavaScript ones.

Supposing you need to do this in all pages, one way of doing that is writing a mixin that users MarkupWriter to move the <style> element to where you want and apply this mixin to all pages. Another is to add your .css file directly in your Layout component template.

--
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

Reply via email to