Hi Michael, in tobago you need
AjaxUtils.isAjaxRequest(facesContext). tobago did not use the jsf2 ajax implementation. Regards, Volker 2013/8/28 Michael Bädorf (JIRA) <[email protected]> > Michael Bädorf created TOBAGO-1308: > -------------------------------------- > > Summary: 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 > -- inexso - information exchange solutions GmbH Ofener Str. 30 | 26121 Oldenburg Tel.: +49 441 219 730 0 | FAX: +49 441 219 730 66 | eMail: [email protected] Firmensitz: Oldenburg | Amtsgericht Oldenburg HRB 205251 Geschäftsführer: Stefan Schulte, Michael Terschüren
