Nov 9th, 2012, 09:19 AM
Non-Flow Pages and JSF
I have an application based on the booking-faces sample.
There are two types of pages. The flow-related pages are located under "WEB-INF/flows/**".
And the non-flow pages are located directly under "WEB-INF".
The user can change the display language by submitting a special h:form at any time.
When I look into the rendered html code I can see the form with an action attribute like this:
When I submit this form I will get an error:
/WEB-INF/WEB-INF/home.xhtml Not Found in ExternalContext as a Resource
Within a flow the action attribute looks correctly:
It seems to me that I can't use the h:form tag within non-flow pages.
Is that right?