Re: does not execute action listener

Splash Forums PrettyFaces Users does not execute action listener Re: does not execute action listener

#23240

jllado
Participant

Hello!

Thank you for reply!

In pom.xml I have:

<dependency>
<groupId>com.ocpsoft</groupId>
<artifactId>prettyfaces-jsf2</artifactId>
<version>3.3.3</version>
</dependency>

I have resolved security issues by specifying url-pattern in security-constraint to be the same as ‘pattern’ processed by

PrettyFilter.

BUT I still I have problems with invoking action method by this button

<h:commandButton id="registerButton" class="registerButton" value="Register" type="submit" action="#{registerBacking.create}" />

Method create is not called at all! Instead the page is simply reloading which is proved by print statement in constructor

of view scoped backing bean. Even if I deliberetely leave validation errors nothing changes. The page is simply reloaded

after that button is clicked.

Why is that I don’t know because it worked very well before!