myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manfred Geiler (JIRA)" <>
Subject [jira] Created: (MYFACES-2154) mobile internet explorer version 6.12 issue
Date Mon, 23 Feb 2009 17:08:02 GMT
mobile internet explorer version 6.12 issue

                 Key: MYFACES-2154
             Project: MyFaces Core
          Issue Type: Improvement
          Components: General
         Environment: mobile internet explorer version 6.12
MyFaces v???
            Reporter: Manfred Geiler

Tobias Bräuer reported the following issue:

There is a problem with mobile internet explorer version 6.12 and
myfaces. The browser sends a "Accept:
application/vnd.wap.mms-message;*/*". We solved that problem by adding
the following code in the class
org.apache.myfaces.shared_impl.renderkit.html.HtmlRendererUtils at
line 1619. If used with tomahawk, the same fix is needed there.

I have no idea how your community process works, but feel free to add
the code to your repository.

               if (contentTypeListString == null) {
                       FacesContext context = FacesContext.getCurrentInstance();
                       if (context != null) {
                               contentTypeListString = (String) context.getExternalContext()
                               // There is a windows mobile IE client (6.12) sending
                               // "application/vnd.wap.mms-message;*/*"
                               // This is a workaround ...
                               if (contentTypeListString
                                       contentTypeListString = "*/*";

                       if (contentTypeListString == null) {
                               if (log.isDebugEnabled())
                                                       .debug("No content type list given,
HtmlResponseWriterImpl with default content type.");

                               contentTypeListString = HTML_CONTENT_TYPE;


Tobias Bräuer

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message