myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Udo Schnurpfeil (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TOBAGO-1308) Post-Redirect-Get Problem with ajax submits
Date Fri, 30 Aug 2013 19:17:51 GMT

    [ 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

Mime
View raw message