myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Burghard Britzke <b...@charmides.in-berlin.de>
Subject Re: [Trinidad] when it decides to render xhtml and when to render html 4.01?
Date Mon, 23 Jul 2007 18:06:53 GMT
and for facelets? is it possible to set the content type, too?
for facelets .xhtml files it rendered html 4.01.

Am 23.07.2007 um 19:58 schrieb Adam Winer:

> Funny, I should have remembered:
> https://issues.apache.org/jira/browse/TRINIDAD-78
> ... since I fixed it myself...
>
> Looks like it's this simple:  set the contentType of your
> JSP page to be XHTML, get XHTML output.  And,
> if you fail to set a content type, then by default
> you get HTML for .jsp pages, XHTML for .jspx
> documents.
>
> -- Adam
>
>
> On 7/23/07, Adam Winer <awiner@gmail.com> wrote:
>> As best I know, we never render XHTML, so I'm surprised to
>> hear otherwise.
>>
>> -- Adam
>>
>>
>> On 7/23/07, Burghard Britzke <bubi@charmides.in-berlin.de> wrote:
>> > hi,
>> > sometimes the <tr:document> decides to render xhtml and sometimes
>> > html4.01. how to control it?
>> >
>> >
>>


Mime
View raw message