Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 87690 invoked from network); 23 Feb 2009 17:08:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Feb 2009 17:08:38 -0000 Received: (qmail 82586 invoked by uid 500); 23 Feb 2009 17:08:26 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 82477 invoked by uid 500); 23 Feb 2009 17:08:26 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 82318 invoked by uid 99); 23 Feb 2009 17:08:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2009 09:08:25 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2009 17:08:23 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4A969234C4AB for ; Mon, 23 Feb 2009 09:08:02 -0800 (PST) Message-ID: <247648697.1235408882304.JavaMail.jira@brutus> Date: Mon, 23 Feb 2009 09:08:02 -0800 (PST) From: "Manfred Geiler (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Created: (MYFACES-2154) mobile internet explorer version 6.12 issue MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org mobile internet explorer version 6.12 issue ------------------------------------------- Key: MYFACES-2154 URL: https://issues.apache.org/jira/browse/MYFACES-2154 Project: MyFaces Core Issue Type: Improvement Components: General Environment: mobile internet explorer version 6.12 MyFaces v??? Reporter: Manfred Geiler Tobias Br=C3=A4uer reported the following issue: Hello, 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 =3D=3D null) { FacesContext context =3D FacesContext.getCurrentInst= ance(); if (context !=3D null) { contentTypeListString =3D (String) context.g= etExternalContext() .getRequestHeaderMap().get("= Accept"); // There is a windows mobile IE client (6.12= ) sending // "application/vnd.wap.mms-message;*/*" // This is a workaround ... if (contentTypeListString .startsWith("application/vnd= .wap.mms-message;*/*")) { contentTypeListString =3D "*/*"; } } if (contentTypeListString =3D=3D null) { if (log.isDebugEnabled()) log .debug("No content t= ype list given, creating HtmlResponseWriterImpl with default content type."); contentTypeListString =3D HTML_CONTENT_TYPE; } } Cheers, Tobias Br=C3=A4uer --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.