On Wed, 18 May 2011 14:12:15 -0300, 9902468 <ville.virta...@greenstreet.fi> wrote:

I've battled this one previously, but there never was any real resolution if I remember correctly.

I'd try this

* Give an id to the meta tag.
* Add this to my layout component or in a mixin (not tested):

public void afteRender(MarkupWriter writer) {
        Element ie9 = writer.getDocument().getElementById("ie9metatag");
        ie9.getParent().moveToTop(ie9);
}

I think T5 should honor the order of added metatags
with perhaps some additional tags like <t:t5inserts_its_metatags_here />.

The problem here is that T5 is not letting the first element inside <head> in the same place. Microsoft is to blame for having a backward compatibility problem at first and then a fix depending on a meta tag that should be the first thing inside <head>. This was quite a bad decision from them.

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