You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mamallan Uthaman (JIRA)" <de...@myfaces.apache.org> on 2010/06/08 00:02:11 UTC

[jira] Created: (TRINIDAD-1825) PPR Broken in Windows Mobile 6

PPR Broken in Windows Mobile 6
------------------------------

                 Key: TRINIDAD-1825
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1825
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions: 2.0.0-alpha-2
         Environment: Windows Mobile 6
            Reporter: Mamallan Uthaman


Currently, PPR in Windows Mobile 6 neither performs a partial submit nor a full-page submit. I guess, for mobile browsers, we need to revert the PPR handling to old legacy way than JSF2 APIs.

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


[jira] Commented: (TRINIDAD-1825) PPR Broken in Windows Mobile 6

Posted by "Werner Punz (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876990#action_12876990 ] 

Werner Punz commented on TRINIDAD-1825:
---------------------------------------

I only can comment for Myfaces here.
I am currently desting against IE6-8 (I wont go lower than that for the desktop browsers)
Firefox 2+
Webkit based browsers (which should also cover the iphone and android browsers, which all run on a recent fairly webkit base)
and Opera in the latest versions.

I have to admit Mobile browsers were not really my target for now, because my personal guess was that WinMobile 6 is a swiftly dying platform and even there the browser is hardly used by most users (they use Opera instead) and the more important (for dynamic html platforms) browsers in the mobile land are mostly webkit based and are covered by the webkit testing base.

(Not sure how Opera Mobile fares here, due to lack of devices, which still is the most popular browser under WinMobile and Nokia devices)

Anyway if someone is willing to tackle the mobile task I am happy to assist for the myfaces codebase. 

I am not sure how Mojarra behaves regarding mobile browsers, but I assume desktop browsers and fairly recent webkit based mobile browsers are also their main target. I have to admit this is the first time I heard that someone wants to do dhtml on WinMobile 6, never had that before :-)





> PPR Broken in Windows Mobile 6
> ------------------------------
>
>                 Key: TRINIDAD-1825
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1825
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 2.0.0-alpha-2
>         Environment: Windows Mobile 6
>            Reporter: Mamallan Uthaman
>
> Currently, PPR in Windows Mobile 6 neither performs a partial submit nor a full-page submit. I guess, for mobile browsers, we need to revert the PPR handling to old legacy way than JSF2 APIs.

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


[jira] Commented: (TRINIDAD-1825) Mobile Browsers - PPR broken in Facelets

Posted by "Mamallan Uthaman (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917111#action_12917111 ] 

Mamallan Uthaman commented on TRINIDAD-1825:
--------------------------------------------

Unlike MyFaces, Mojarra is still not ready to handle mobile browser. I have raised this issue to Mojarra team, but it seems they can fix only in JSF2.2 release. Of course, even after Mojarra fix is ready, we will have some work like TRINIDAD-1881to enable JSF Ajax instead of legacy PPR in mobile platforms. Until all the above issues are resolved, we can use our legacy PPR code as a temporary fix .

> Mobile Browsers - PPR broken in Facelets
> ----------------------------------------
>
>                 Key: TRINIDAD-1825
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1825
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 2.0.0-alpha-2
>         Environment: Windows Mobile 6, Blackberry 4.6
>            Reporter: Mamallan Uthaman
>
> Currently, PPR in Windows Mobile 6 neither performs a partial submit nor a full-page submit. I guess, for mobile browsers, we need to revert the PPR handling to old legacy way than JSF2 APIs.

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


[jira] Commented: (TRINIDAD-1825) PPR Broken in Windows Mobile 6

Posted by "Mamallan Uthaman (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12892961#action_12892961 ] 

Mamallan Uthaman commented on TRINIDAD-1825:
--------------------------------------------

I tested my patch with jspx pages assuming Trinidad always use jsf.ajax.request() as default, but now further testing has shown that jsf.ajax.request() is used only with Facelets. Hence, my current patch unintentionally missed handling jsf.ajax.request() scenario. Will soon update my patch that handles jsf.ajax.request().

> PPR Broken in Windows Mobile 6
> ------------------------------
>
>                 Key: TRINIDAD-1825
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1825
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 2.0.0-alpha-2
>         Environment: Windows Mobile 6
>            Reporter: Mamallan Uthaman
>         Attachments: TRINIDAD-1825.patch
>
>
> Currently, PPR in Windows Mobile 6 neither performs a partial submit nor a full-page submit. I guess, for mobile browsers, we need to revert the PPR handling to old legacy way than JSF2 APIs.

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


[jira] Issue Comment Edited: (TRINIDAD-1825) Mobile Browsers - PPR broken in Facelets

Posted by "Mamallan Uthaman (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896156#action_12896156 ] 

Mamallan Uthaman edited comment on TRINIDAD-1825 at 8/12/10 3:55 PM:
---------------------------------------------------------------------

There are two different issues in mobile browsers: 
1) PPR broken in Facelets where we use JSF Ajax API (jsf.ajax.request) 
2) PPR broken in jspx page where use Trinidad's legacy PPR framework. 

[1] Ideally the fix needs to be in JSF Ajax API, but my testing indicates, in Blackberry 4.6, jsf.ajax.request only fails with Trinidad components, and it works well in Mojarra components. The failure may be due to rich rendering of Trinidad compared to Mojarra, and Mojarra's Ajax mechanism is not robust enough to handle Trinidad rendering. Anyway, this needs further investigation. Created issue below in Mojarra to support Ajax in mobile browsers:
https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1763

I haven't done any  testing with MyFaces yet.

[2] The fix needs to be in Trinidad only, so I will create a new JIRA to track this issue. 

Also, I have removed my patch and its related comments as they are no longer relevant to the issue [1].



      was (Author: mamallan.uthaman):
    There are two different issues in mobile browsers: 
1) PPR broken in Facelets where we use JSF Ajax API (jsf.ajax.request) 
2) PPR broken in jspx page where use Trinidad's legacy PPR framework. 

[1] Ideally the fix needs to be in JSF Ajax API, but my testing indicates, in Blackberry 4.6, jsf.ajax.request only fails with Trinidad components, and it works well in Mojarra components. The failure may be due to rich rendering of Trinidad compared to Mojarra, and Mojarra's Ajax mechanism is not robust enough to handle Trinidad rendering. Anyway, this needs further investigation. 

[2] The fix needs to be in Trinidad only, so I will create a new JIRA to track this issue. 

Also, I have removed my patch and its related comments as they are no longer relevant to the issue [1].


  
> Mobile Browsers - PPR broken in Facelets
> ----------------------------------------
>
>                 Key: TRINIDAD-1825
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1825
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 2.0.0-alpha-2
>         Environment: Windows Mobile 6, Blackberry 4.6
>            Reporter: Mamallan Uthaman
>
> Currently, PPR in Windows Mobile 6 neither performs a partial submit nor a full-page submit. I guess, for mobile browsers, we need to revert the PPR handling to old legacy way than JSF2 APIs.

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


[jira] Updated: (TRINIDAD-1825) PPR Broken in Windows Mobile 6

Posted by "Mamallan Uthaman (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mamallan Uthaman updated TRINIDAD-1825:
---------------------------------------

    Status: Patch Available  (was: Open)

> PPR Broken in Windows Mobile 6
> ------------------------------
>
>                 Key: TRINIDAD-1825
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1825
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 2.0.0-alpha-2
>         Environment: Windows Mobile 6
>            Reporter: Mamallan Uthaman
>
> Currently, PPR in Windows Mobile 6 neither performs a partial submit nor a full-page submit. I guess, for mobile browsers, we need to revert the PPR handling to old legacy way than JSF2 APIs.

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


[jira] Commented: (TRINIDAD-1825) Mobile Browsers - PPR broken in Facelets

Posted by "Mamallan Uthaman (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12898023#action_12898023 ] 

Mamallan Uthaman commented on TRINIDAD-1825:
--------------------------------------------

My test results with MyFaces2.0 is exactly same as Mojarra, so created an issue in Myfaces 2.0 to support Ajax in mobile browsers:
https://issues.apache.org/jira/browse/MYFACES-2876

> Mobile Browsers - PPR broken in Facelets
> ----------------------------------------
>
>                 Key: TRINIDAD-1825
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1825
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 2.0.0-alpha-2
>         Environment: Windows Mobile 6, Blackberry 4.6
>            Reporter: Mamallan Uthaman
>
> Currently, PPR in Windows Mobile 6 neither performs a partial submit nor a full-page submit. I guess, for mobile browsers, we need to revert the PPR handling to old legacy way than JSF2 APIs.

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


[jira] Issue Comment Edited: (TRINIDAD-1825) Mobile Browsers - PPR broken in Facelets

Posted by "Mamallan Uthaman (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896156#action_12896156 ] 

Mamallan Uthaman edited comment on TRINIDAD-1825 at 8/6/10 5:22 PM:
--------------------------------------------------------------------

There are two different issues in mobile browsers: 
1) PPR broken in Facelets where we use JSF Ajax API (jsf.ajax.request) 
2) PPR broken in jspx page where use Trinidad's legacy PPR framework. 

[1] Ideally the fix needs to be in JSF Ajax API, but my testing indicates, in Blackberry 4.6, jsf.ajax.request only fails with Trinidad components, and it works well in Mojarra components. The failure may be due to rich rendering of Trinidad compared to Mojarra, and Mojarra's Ajax mechanism is not robust enough to handle Trinidad rendering. Anyway, this needs further investigation. 

[2] The fix needs to be in Trinidad only, so I will create a new JIRA to track this issue. 

Also, I have removed my patch and its related comments as they are no longer relevant to the issue [1].



      was (Author: mamallan.uthaman):
    There are two different issues in mobile browsers: 
1) PPR broken in Facelets where we use JSF Ajax API (jsf.ajax.request) 
2) PPR broken in jspx page where use Trinidad's legacy PPR framework. 

[1] Ideally the fix needs to be in JSF Ajax API, but my testing indicates, in Blackberry 4.6, jsf.ajax.request only fails with Trinidad components, and it works well in Mojarra components. The failure may be due to rich rendering of Trinidad compared to Mojarra, and Mojarra's Ajax mechanism is not robust enough to handle Trinidad rendering. Anyway, this need further investigation. 

[2] The fix needs to be in Trinidad only, so I will create a new JIRA to track this issue.


  
> Mobile Browsers - PPR broken in Facelets
> ----------------------------------------
>
>                 Key: TRINIDAD-1825
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1825
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 2.0.0-alpha-2
>         Environment: Windows Mobile 6, Blackberry 4.6
>            Reporter: Mamallan Uthaman
>
> Currently, PPR in Windows Mobile 6 neither performs a partial submit nor a full-page submit. I guess, for mobile browsers, we need to revert the PPR handling to old legacy way than JSF2 APIs.

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


[jira] Updated: (TRINIDAD-1825) Mobile Browsers - PPR broken in Facelets

Posted by "Mamallan Uthaman (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mamallan Uthaman updated TRINIDAD-1825:
---------------------------------------

    Status: Open  (was: Patch Available)

> Mobile Browsers - PPR broken in Facelets
> ----------------------------------------
>
>                 Key: TRINIDAD-1825
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1825
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 2.0.0-alpha-2
>         Environment: Windows Mobile 6, Blackberry 4.6
>            Reporter: Mamallan Uthaman
>         Attachments: TRINIDAD-1825.patch
>
>
> Currently, PPR in Windows Mobile 6 neither performs a partial submit nor a full-page submit. I guess, for mobile browsers, we need to revert the PPR handling to old legacy way than JSF2 APIs.

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


[jira] Commented: (TRINIDAD-1825) Mobile Browsers - PPR broken in Facelets

Posted by "Tadashi Enomori (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927529#action_12927529 ] 

Tadashi Enomori commented on TRINIDAD-1825:
-------------------------------------------

The patch looks good for the interim workaround given the situation.

> Mobile Browsers - PPR broken in Facelets
> ----------------------------------------
>
>                 Key: TRINIDAD-1825
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1825
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 2.0.0-alpha-2
>         Environment: Windows Mobile 6, Blackberry 4.6
>            Reporter: Mamallan Uthaman
>         Attachments: TRINIDAD-1825.patch
>
>
> Currently, PPR in Windows Mobile 6 neither performs a partial submit nor a full-page submit. I guess, for mobile browsers, we need to revert the PPR handling to old legacy way than JSF2 APIs.

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


[jira] Commented: (TRINIDAD-1825) PPR Broken in Windows Mobile 6

Posted by "Mamallan Uthaman (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876853#action_12876853 ] 

Mamallan Uthaman commented on TRINIDAD-1825:
--------------------------------------------

There could be many other mobile browsers facing similar issues, so, ideally, it will be great if someone can fix JSF2 APIs for major mobile-browsers like BlackBerry, WM6

> PPR Broken in Windows Mobile 6
> ------------------------------
>
>                 Key: TRINIDAD-1825
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1825
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 2.0.0-alpha-2
>         Environment: Windows Mobile 6
>            Reporter: Mamallan Uthaman
>
> Currently, PPR in Windows Mobile 6 neither performs a partial submit nor a full-page submit. I guess, for mobile browsers, we need to revert the PPR handling to old legacy way than JSF2 APIs.

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


[jira] Commented: (TRINIDAD-1825) PPR Broken in Windows Mobile 6

Posted by "Werner Punz (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876678#action_12876678 ] 

Werner Punz commented on TRINIDAD-1825:
---------------------------------------

Hia would´t it be better to fix the jsf2 apis instead on both implementations?
Windows mobile 6 is a problematic issue generally, due to the browser being somewhere on ie 5 level, but as far as I know the xhr Object is there, so it should be fixable by someone who has the resources to do the winmobile 6 testing.
It probably just boils down to a few fixes and special hooks in the codebase to get it up and running.



> PPR Broken in Windows Mobile 6
> ------------------------------
>
>                 Key: TRINIDAD-1825
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1825
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 2.0.0-alpha-2
>         Environment: Windows Mobile 6
>            Reporter: Mamallan Uthaman
>
> Currently, PPR in Windows Mobile 6 neither performs a partial submit nor a full-page submit. I guess, for mobile browsers, we need to revert the PPR handling to old legacy way than JSF2 APIs.

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


[jira] Issue Comment Edited: (TRINIDAD-1825) Mobile Browsers - PPR broken in Facelets

Posted by "Mamallan Uthaman (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12898023#action_12898023 ] 

Mamallan Uthaman edited comment on TRINIDAD-1825 at 8/12/10 10:59 PM:
----------------------------------------------------------------------

Created an issue in MyFaces 2.0 to support Ajax in mobile browsers:
https://issues.apache.org/jira/browse/MYFACES-2876

      was (Author: mamallan.uthaman):
    My test results with MyFaces2.0 is exactly same as Mojarra, so created an issue in Myfaces 2.0 to support Ajax in mobile browsers:
https://issues.apache.org/jira/browse/MYFACES-2876
  
> Mobile Browsers - PPR broken in Facelets
> ----------------------------------------
>
>                 Key: TRINIDAD-1825
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1825
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 2.0.0-alpha-2
>         Environment: Windows Mobile 6, Blackberry 4.6
>            Reporter: Mamallan Uthaman
>
> Currently, PPR in Windows Mobile 6 neither performs a partial submit nor a full-page submit. I guess, for mobile browsers, we need to revert the PPR handling to old legacy way than JSF2 APIs.

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