[Trinidad] Problem using on Blackberry mobile
Hi, We are using MyFaces 1.2 with Facelets and Trinidad for our web application which needs to be supported in multiple mobile devices like iPhone and Blackberry. We have a command button whose action is bound to a backing bean method. When clicking this button, the backing bean method is not getting called in the case of Blackberry. On analyzing the request parameters, we found that a request parameters called 'source' with value as the component id was passed in the case of other browsers. But this was not getting passed in the case of Blackberry. When we added 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 this a known issue in MyFaces/Trinidad? Is there a work around for this by changing any settings or configurations? Thanks, Seema
Re: MyFaces Test with JSF 1.1
Hi Jakob, there is an easy solution to make myfaces-test12 usable to test applications running with JSF 1.1. I will create an Jira issue and fix that. To make the project build-able with JSF 1.1 is more complex and not needed for me. Regards, Udo Am 14.09.10 16:47, schrieb Jakob Korherr: Hi Udo, I guess the idea of shale-test (= original test12) was to provide support for both JSF 1.1 and 1.2, however test12 now only supports JSF 1.2. If you think it is easily possible to support both versions in one module, I'd prefer that. If not, we could create a test11 module and use the dependency plugin (or the shade plugin) to re-use existing classes from test12. Regards, Jakob 2010/9/14 Udo Schnurpfeilu...@schnurpfeil.de: Hi, in version 1.0.0 there is no support for JSF 1.1, but I've seen some code, that consider JSF 1.1. Is there a plan to make the test12 version also runnable with JSF 1.1? It seems to me, that we can build an artifact, that supports JSF 1.1 and 1.2 coexistent, to keep the management overhead small. Regards, Udo
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: Hi, We are using MyFaces 1.2 with Facelets and Trinidad for our web application which needs to be supported in multiple mobile devices like iPhone and Blackberry. We have a command button whose action is bound to a backing bean method. When clicking this button, the backing bean method is not getting called in the case of Blackberry. On analyzing the request parameters, we found that a request parameters called 'source' with value as the component id was passed in the case of other browsers. But this was not getting passed in the case of Blackberry. When we added 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 this a known issue in MyFaces/Trinidad? Is there a work around for this by changing any settings or configurations? Thanks, Seema
RE: [Trinidad] Problem using on Blackberry mobile
Hi Mamallan, Our requirement is to support Blackberry OS 5.0 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.utha...@oracle.com [mailto:mamallan.utha...@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: Hi, We are using MyFaces 1.2 with Facelets and Trinidad for our web application which needs to be supported in multiple mobile devices like iPhone and Blackberry. We have a command button whose action is bound to a backing bean method. When clicking this button, the backing bean method is not getting called in the case of Blackberry. On analyzing the request parameters, we found that a request parameters called 'source' with value as the component id was passed in the case of other browsers. But this was not getting passed in the case of Blackberry. When we added 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 this a known issue in MyFaces/Trinidad? Is there a work around for this by changing any settings or configurations? Thanks, Seema
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 button? The source parameter you are referring is added by Trinidad's JS, so if JS added in your app breaks (happens in rare occasions) the 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 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.utha...@oracle.com [mailto:mamallan.utha...@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: Hi, We are using MyFaces 1.2 with Facelets and Trinidad for our web application which needs to be supported in multiple mobile devices like iPhone and Blackberry. We have a command button whose action is bound to a backing bean method. When clicking this button, the backing bean method is not getting called in the case of Blackberry. On analyzing the request parameters, we found that a request parameters called 'source' with value as the component id was passed in the case of other browsers. But this was not getting passed in the case of Blackberry. When we added 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 this a known issue in MyFaces/Trinidad? Is there a work around for this by changing any settings or configurations? Thanks, Seema