I am new to the StackOverflow , though I've been following it for quite a while. The issue is : I have a JSF page like a confirmation page where the users land from a different page. Now the confirmation page contains a whole lot of templates(which have some header and footer tiles and CSS,JS), which show up very well when I land there.
There is a form in the confirmation page with couple of attributes to submit .And when there is an error and I click on submit , all the templates are lost and I just get the /faces/confPage.xhtml with the error message.
Below is my code and result:
`
<h:form id="configForm" >
------
------
<h:commandButton type="submit" id="xxxButton" value="Click here to
Apply Changes" action="#{xxxBean.saveDataListTest}"
styleClass="applybutton" >
</h:commandButton>
</div>
</h:form>
`
This is just a section of the xhtml I have shown. My regular url to which all the pages point to is localhost:7001/XXX_GUI/faces/ , and this is when the styles display property with all templates. BUt when I hit submit and if there are errors on the page, the url goes : localhost:7001/XXX_GUI/faces/configPage.xhtml instead of the former.
FYI - I have used in the faces-config.xml for the outcome. But looks like when there is an error on the page , the Navigation rules are not called at all.
Excuse my wording and format as this is my first post.
Any help would be greatly appreciated.