You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Scott O'Bryan (JIRA)" <de...@myfaces.apache.org> on 2009/02/17 17:54:59 UTC

[jira] Resolved: (TRINIDAD-1398) Mobile Dialog return does not work with PPR

     [ https://issues.apache.org/jira/browse/TRINIDAD-1398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott O'Bryan resolved TRINIDAD-1398.
-------------------------------------

       Resolution: Fixed
    Fix Version/s:  1.2.12-core

This was caused by is inproperly handling a redirect during a PPR.  Normally, when an ExternalContext.redirect is called during a PPR request, a redirect XML message is returned to the client and the redirect is performed on the client side.  The ExternalContext avaialble in the TrinidadFilterImpl does not contain the wrappers.  As such, we need to detect if we are in the PPR and manually generate the appropriate AJAX message to cause the redirect.

> Mobile Dialog return does not work with PPR
> -------------------------------------------
>
>                 Key: TRINIDAD-1398
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1398
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 1.2.10-core
>            Reporter: Scott O'Bryan
>            Assignee: Scott O'Bryan
>             Fix For:  1.2.12-core
>
>
> New mobile dialog return code does not work with PPR.  This is caused by the redirect which is now issued on a dialog return.  Essentially when the code issues a redrect in an XHR request, the redirect happens and expects and xml response.  The intended behavior is that a <redirect> xml message is returned to the client.
> The dialog return code needs to detect whether we are in a PPR request or not, and if we are, generate the appropriate response.

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