On Wed, 11 Apr 2012 20:03:46 -0300, Juan Germán Castañeda Echevarria <juan...@ciencias.unam.mx> wrote:

Yes, I think that too. Though it may look like that because of all the
configuration they are doing for mapping the annotation to use
MetaDataLocator.

That would be needed in order to control the addition or not of HTTP headers in a page-by-page basis, driven by an annotation.

So, I will need the annotation for pages with the special headers and a
ComponentRequestFilter, right?

Yep! Or a MarkupWriterFilter. Both can be used in this case, but MarkupWriterFilter will be more appropriate if you want to change the HTML DOM before sending to the browser.

I also thought about adding it to the layout but I read that it sometimes
doesn't work with Internet Explorer but you made me think, what if I want
both the header and the meta tag? Could it be done using the
MarkupRendererFilter?

Yes.

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