[arquillian-issues] [JBoss JIRA] (ARQGRA-466) Graphene guardAjax() does not work and gives RequestGuardException

Nishant B (JIRA) issues at jboss.org
Wed Jan 28 14:46:49 EST 2015


    [ https://issues.jboss.org/browse/ARQGRA-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035984#comment-13035984 ] 

Nishant B commented on ARQGRA-466:
----------------------------------

Thanks Lukas! Actually this was the issue on the JSF code side as we were sending regular request even though we used ajax button ( due to not been able to get jsf.js). 

And the fix was to have correct url mapping for our web,xml file.

  New Corrected URL pattern inside web.xml  which works for this in my code

<servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.xhtml</url-pattern>
    <url-pattern>/javax.faces.resource/</url-pattern>
    <url-pattern>/faces</url-pattern>
    <url-pattern>*.jsf</url-pattern>
  </servlet-mapping>


Please close this issue.

> Graphene guardAjax() does not work and gives RequestGuardException
> ------------------------------------------------------------------
>
>                 Key: ARQGRA-466
>                 URL: https://issues.jboss.org/browse/ARQGRA-466
>             Project: Arquillian Graphene
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.1.0.Alpha1
>         Environment: Windows 7, Google Chrome
>            Reporter: Nishant B
>            Priority: Critical
>              Labels: Graphene,, guardAjax,
>
> I am getting RequestGuardException when I am trying to use AjaxGuard() method of Graphene class with JSF 2    f:ajax tag.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the arquillian-issues mailing list