Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 29576 invoked from network); 19 Sep 2010 05:02:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Sep 2010 05:02:49 -0000 Received: (qmail 4924 invoked by uid 500); 19 Sep 2010 05:02:48 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 4517 invoked by uid 500); 19 Sep 2010 05:02:45 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 4504 invoked by uid 99); 19 Sep 2010 05:02:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Sep 2010 05:02:44 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Seema.Richard@ust-global.com designates 203.99.41.130 as permitted sender) Received: from [203.99.41.130] (HELO smtpintpos.ustri.com) (203.99.41.130) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Sep 2010 05:02:39 +0000 Received: from localhost (smtpintpos.ust-global.com [127.0.0.1]) by smtpintpos.ustri.com (UST Global Email Server) with ESMTP id EA0D54092 for ; Sun, 19 Sep 2010 10:32:15 +0530 (IST) X-Virus-Scanned: UST Global Antivirus Scanner at ust-global.com Received: from smtpintpos.ustri.com ([127.0.0.1]) by UST Global Content Filter with ESMTP id eUQIimql1b4p for ; Sun, 19 Sep 2010 10:32:15 +0530 (IST) Received: from TRVMSG.ustr.com (unknown [10.10.1.166]) by smtpintpos.ustri.com (UST Global Email Server) with ESMTP id CFFE2407F for ; Sun, 19 Sep 2010 10:32:15 +0530 (IST) Received: from TRVMSG2.ustr.com ([10.10.1.167]) by TRVMSG.ustr.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 19 Sep 2010 10:32:15 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [Trinidad] Problem using on Blackberry mobile Date: Sun, 19 Sep 2010 10:32:10 +0530 Message-ID: <412B6E9CD6E8A745AD4E775FD3F0179F1A6238@TRVMSG2.ustr.com> In-Reply-To: <4C91841E.5060404@oracle.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Trinidad] Problem using on Blackberry mobile Thread-Index: ActVSPkvmQk8texSQJGf3AGjs9dEcgCbSdTw References: <412B6E9CD6E8A745AD4E775FD3F0179F147AF0@TRVMSG2.ustr.com> <4C91109A.4050708@oracle.com> <412B6E9CD6E8A745AD4E775FD3F0179F147B45@TRVMSG2.ustr.com> <4C91841E.5060404@oracle.com> From: "Seema Richard (UST, IND)" To: "MyFaces Discussion" X-OriginalArrivalTime: 19 Sep 2010 05:02:15.0521 (UTC) FILETIME=[D3DBA510:01CB57B7] Mamallan, I was able to reproduce the problem using a simple page which just has a Trinidad input text and a Trinidad command button. There is no javascript used anywhere. I'm printing the request parameters using a phase listener. Here is the output when I submit the form using a normal browser. key is javax.faces.ViewState val is !1 key is input1 val is seema key is org.apache.myfaces.trinidad.faces.FORM val is j_id2 key is _noJavaScript val is false key is button1 val is press me key is source val is button1 Here is the output when I submit the form using the blackberry browser. My backing bean method is not called in this case. key is javax.faces.ViewState val is !3 key is input1 val is seema key is org.apache.myfaces.trinidad.faces.FORM val is j_id2 key is _noJavaScript val is false key is button1 val is press me You can see that the request parameter named 'source' is missing in the case of Blackberry. Here is the code for my xhtml page. =20 =20 Thanks, Seema -----Original Message----- From: mamallan.uthaman@oracle.com [mailto:mamallan.uthaman@oracle.com]=20 Sent: Thursday, September 16, 2010 8:13 AM To: MyFaces Discussion Subject: Re: [Trinidad] Problem using on Blackberry mobile Hi Seema, Are you adding any JavaScript (JS) to your application? If not, can you still reproduce this issue with a very simple page containing only a=20 button? The source parameter you are referring is added by Trinidad's=20 JS, so if JS added in your app breaks (happens in rare occasions) the=20 BB's JS engine, you may face this issue. Thanks Mamallan On 9/15/2010 6:50 PM, Seema Richard (UST, IND) wrote: > Hi Mamallan, > > Our requirement is to support Blackberry OS 5.0=20 > We used the following simulator to check the application- Simulator > Storm2 9550-Generic OS 5.0.0.713 > http://na.blackberry.com/eng/developers/resources/simulators.jsp > We tried with one or two other simulators as well, but the same issue > persists. > > Thanks, > Seema > > -----Original Message----- > From: mamallan.uthaman@oracle.com [mailto:mamallan.uthaman@oracle.com] > Sent: Thursday, September 16, 2010 12:00 AM > To: MyFaces Discussion > Subject: Re: [Trinidad] Problem using on Blackberry mobile > > Hi Seema, > > What Blackberry device are you testing? is it new Blackberry 6.0? > > Thanks > Mamallan > > On 9/15/2010 8:49 AM, Seema Richard (UST, IND) wrote: > =20 >> Hi, >> >> =20 >> >> We are using MyFaces 1.2 with Facelets and Trinidad for our web >> application which needs to be supported in multiple mobile devices >> =20 > like > =20 >> iPhone and Blackberry. We have a command button whose action is bound >> =20 > to > =20 >> a backing bean method. When clicking this button, the backing bean >> method is not getting called in the case of Blackberry. On analyzing >> =20 > the > =20 >> request parameters, we found that a request parameters called 'source' >> with value as the component id was passed in the case of other >> =20 > browsers. > =20 >> But this was not getting passed in the case of Blackberry. When we >> =20 > added > =20 >> a hidden parameter by the same name and passed this value, the backing >> bean method was correctly called in the case of Blackberry also. Is >> =20 > this > =20 >> a known issue in MyFaces/Trinidad? Is there a work around for this by >> changing any settings or configurations? >> >> =20 >> >> Thanks, >> >> Seema >> >> >> =20 >> =20