but even if it will be possible to change the doctype to XHTML with <tr:document>, trinidad is not usable for rendering XHTML, because of invalid javascript code in it for XHTML. For exactness: PPR will not work properly.

burghard.

Am 01.01.2009 um 17:14 schrieb Andrew Robinson:

If you use tr:document I believe Trinidad always uses the HTML
doctype. This is something that I have wanted to change. For example,
the demos render:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd";>

This is one of those issues that other community members where
hesitant to change. Perhaps this is part of the problem?

On Thu, Jan 1, 2009 at 7:30 AM, Burghard Britzke
<b...@charmides.in-berlin.de> wrote:
fine! but using html4 is just a workaround. trinidad does not work for xhtml
rendered pages since more than one year!

burghard.

Am 01.01.2009 um 14:11 schrieb desik:


You are right. Tried:

<jsp:directive.page contentType="text/html"/>

and it works. Verified page source. Without contentType attribute page is
rendered as xhtml, with contentType - as html. Thank you!
--
View this message in context:
http://www.nabble.com/-Trinidad--charset-problem-tp21213794p21241118.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.




Reply via email to