You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org> on 2013/08/30 21:17:51 UTC

[jira] [Commented] (TOBAGO-1308) Post-Redirect-Get Problem with ajax submits

    [ https://issues.apache.org/jira/browse/TOBAGO-1308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13755036#comment-13755036 ] 

Udo Schnurpfeil commented on TOBAGO-1308:
-----------------------------------------

You may call org.apache.myfaces.tobago.ajax.AjaxUtils#isAjaxRequest
                
> Post-Redirect-Get Problem with ajax submits
> -------------------------------------------
>
>                 Key: TOBAGO-1308
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1308
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-alpha-2
>         Environment: JSF 2.x
>            Reporter: Michael Bädorf
>
> For implementing 
> http://balusc.blogspot.com/2007/03/post-redirect-get-pattern.html
> I need to find out whether the request was an ajax request, but
> facesContext.getCurrentInstance().getPartialViewContext()
> always returns
> isAjaxRequest() ==false and 
> isPartialRequest()==false

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira