Closed GoogleCodeExporter closed 9 years ago
Could you please give a more detailed description of this issue. You could use
the reporting template as you see it in the bug description.
Original comment by chkalt
on 22 Feb 2012 at 7:58
This is what I set in web.xml. No more other filter.
<filter>
<filter-name>Pretty Filter</filter-name>
<filter-class>com.ocpsoft.pretty.PrettyFilter</filter-class>
<async-supported>true</async-supported>
</filter>
<filter-mapping>
<filter-name>Pretty Filter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>ASYNC</dispatcher>
<dispatcher>ERROR</dispatcher>
</filter-mapping>
Here is the only entry in pretty-config.xml
<url-mapping id="login">
<pattern value="/login" />
<view-id value="/login.jsf" />
</url-mapping>
1. I do request /login, the page loaded.
2. Input user ID / password to process login
3. Click submit then
I expect it will invoke all the JSF phases. The application phase will query
database and validate login.
But the result is even Submit (POST), it invokes only RESTORE_VIEW and
RENDER_RESPONSE phases. Acts same as GET request.
Thanks,
Bernard.
Original comment by bernard...@gmail.com
on 22 Feb 2012 at 8:29
Does it work if you bypass PrettyFaces by accessing "/login.jsf" directly?
Original comment by chkalt
on 22 Feb 2012 at 8:40
Hi,
Yes, it does.
Original comment by bernard...@gmail.com
on 22 Feb 2012 at 8:42
Could you please provide a minimal sample application that reproduces this
issue? This have to be some kind of configuration issue. This is working fine
in every of my applications and you are the first person reporting this. We
definitively need more details to help you here. Like the container you are
using, the JSF implementation and version of the implementation.
Would you mind moving this to the forums?
http://ocpsoft.org/support/
Christian
Original comment by chkalt
on 22 Feb 2012 at 9:00
Also please include the XHTML code for your login page. Thank you.
Original comment by lincolnb...@gmail.com
on 22 Feb 2012 at 11:51
We have moved the project to GitHub.
If this issue is still relevant, please reopen it here:
https://github.com/ocpsoft/prettyfaces/issues
Original comment by chkalt
on 7 Mar 2012 at 6:18
Original issue reported on code.google.com by
bernard...@gmail.com
on 22 Feb 2012 at 7:06