but it is true:

<f:view
   xmlns:f="http://java.sun.com/jsf/core";
   xmlns:tr="http://myfaces.apache.org/trinidad";>
   <tr:document>
   </tr:document>
</f:view>

renders as

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" ...

and

<f:view contentType="text/xml"
   xmlns:f="http://java.sun.com/jsf/core";
   xmlns:tr="http://myfaces.apache.org/trinidad";>
   <tr:document>
   </tr:document>
</f:view>

renders as

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ...

Am 25.07.2007 um 10:00 schrieb Burghard Britzke:

<f.view> does not have an attribute contentType. for the RI. does it have such an attribute in MyFaces?

Am 23.07.2007 um 23:23 schrieb noah:

I can confirm that it does.
<f:view contentType="text/html"> seems to be a necessity if you want
Dojo to work.

On 7/23/07, Adam Winer <[EMAIL PROTECTED]> wrote:
In Facelets, setting contentType on f:view should do
the trick, but I don't know for sure.
> >>

...

> >> On 7/23/07, Burghard Britzke <[EMAIL PROTECTED]> wrote:
> >> > hi,
> >> > sometimes the <tr:document> decides to render xhtml and sometimes
> >> > html4.01. how to control it?

Reply via email to