Execute a Managed bean from a JSF view in WEB-INF folder
- by JonathanVila
We are initiating in Spring + Primefaces development and the first problem we have encountered is about storing the xhtml pages into the WEB-INF folder.
When we use a faces form in a view located inside the WEB-INF folder, then the commandButton does not execute the managed bean method.
Our bean :
In fact we think the problem is that with JSF , the pages are rendered using a link to the same page as the action of the form, so if the page is located in WEB-INF it is not public accessible.
We know that having all our xhtml views in the web folder instead of WEB-INF actually solves the issue, but we would like to store that pages into WEB-INF.
Thank you.