I am using JSF 2.0. My url is not changing while navigating to another page. In faces-config.xml
.
<navigation-rule>
<from-view-id>/pages/common_attribute_list.xhtml</from-view-id>
<navigation-case>
<from-outcome>editManageCommon</from-outcome>
<to-view-id>/pages/add_common_attribute.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
I am not using <redirect>
in navigation cases, because I have also to show faces messages in another pages. If I add <redirect>
it stops showing faces message. How can I change the URL without adding <redirect>
?