myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Marinschek (JIRA)" <myfaces-...@incubator.apache.org>
Subject [jira] Resolved: (MYFACES-376) HTML Renderkit doesn't choose correct ContentType
Date Fri, 19 Aug 2005 11:59:55 GMT
     [ http://issues.apache.org/jira/browse/MYFACES-376?page=all ]
     
Martin Marinschek resolved MYFACES-376:
---------------------------------------

    Fix Version: Nightly Build
     Resolution: Fixed

Please test this before I close it out completely.

regards,

Martin

> HTML Renderkit doesn't choose correct ContentType
> -------------------------------------------------
>
>          Key: MYFACES-376
>          URL: http://issues.apache.org/jira/browse/MYFACES-376
>      Project: MyFaces
>         Type: Bug
>   Components: JSF 1.1
>     Versions: 1.0.9 beta
>  Environment: Tomcat, FireFox/Mozilla Browser
>     Reporter: Jacob Hookom
>     Assignee: Martin Marinschek
>     Priority: Critical
>      Fix For: Nightly Build

>
> The contract between ViewHandler and RenderKit for creating a ResponseWriter is that
the ViewHandler should suggest a list of supported contentTypes.  It is the RenderKit's job
to pick the appropriate one based on it's output-- not just any of them.
> In the case of Firefox, the first item it sends is 'text/xml, ....', the HtmlRenderKit
in MyFaces just says, use the first item returned, so the response is set to be contentType
of 'text/xml'.
> This causes issues since the browser gets a response, renders it, but treats the content
with comments <!-- --> as XML-- so that means the css isn't used, and commented JavaScript
isn't seen.
> This is a major blocker.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message