Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 75932 invoked from network); 8 Sep 2010 12:46:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Sep 2010 12:46:59 -0000 Received: (qmail 23601 invoked by uid 500); 8 Sep 2010 12:46:59 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 23347 invoked by uid 500); 8 Sep 2010 12:46:57 -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 23315 invoked by uid 99); 8 Sep 2010 12:46:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 12:46:57 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 12:46:56 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o88CkZKO002928 for ; Wed, 8 Sep 2010 12:46:35 GMT Message-ID: <32745527.74891283949995892.JavaMail.jira@thor> Date: Wed, 8 Sep 2010 08:46:35 -0400 (EDT) From: "Werner Punz (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Commented: (MYFACES-2876) Ajax Support in Mobile Browsers In-Reply-To: <6962118.318721281660016335.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MYFACES-2876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907199#action_12907199 ] Werner Punz commented on MYFACES-2876: -------------------------------------- Ok so far everything runs except the viewhead and viewroot replacement, the reason there is probably the xml processing which is slightly different or partially incomplete on old blackberries. The biggest issue I ran into was globalEval, window.eval.call or eval.call was not possible on blackberries, so I had a scoping problem even scoping a wrapper function and then doing eval did not work out, I had to revert to the document append method like it is documented on quirksmode and like jquery uses it. But I tried to avoid the method so far because it does not run properly on newer browsers. Chrome simply does not eval, other browsers like ie8 simply change the eval order randomly. But having it as fallback for blackberries where it works fine is ok I guess. > Ajax Support in Mobile Browsers > ------------------------------- > > Key: MYFACES-2876 > URL: https://issues.apache.org/jira/browse/MYFACES-2876 > Project: MyFaces Core > Issue Type: Bug > Components: General, JSR-314 > Affects Versions: 2.0.0-beta > Environment: Windows Mobile 6.1, Blackberry 4.7 > Reporter: Mamallan Uthaman > > In Windows Mobile (WM) 6.1 platform, is converted into a full-page submit instead of a PPR. The reason is unlike Webkit based mobile-browsers, WM 6.1 or Blackberry (BB) 4.7 offers only a limited JavaScript-DOM support, so we need to optimize MyFaces's Ajax mechanism to work around the limitations of mobile browsers. I used the sample code below for testing. > Facelets code: > > > > > Item.Java: > import java.util.Date; > public class Item { > Date date; > public void setDate(Date date) { > this.date = date; > } > public Date getDate() { > return new Date(); > } > } > faces-config: > > item > Item > request > > Also, in the case of BB 4.7 , can successfully send a PPR, but PPR response is ignored. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.