Re: PrettyFaces Navigation?

Splash Forums PrettyFaces Users PrettyFaces Navigation? Re: PrettyFaces Navigation?



Hi Lincoln,

I think it is a common issue with PrettyFaces: when JSF navigation rules are used PrettyFaces mapping does not have a chance to re-write outbound URL. I.e. there is no way to have a login URL written like this http://localhost/login if, for example, the following rule matches:





<if>#{not identity.loggedIn}</if>





with url mapping in pretty-config.xml like this:

<url-mapping id="login">
<pattern value="/#{tnt: serviceManager.tenantName}/login"/>
<view-id value="/dir/login.jsf"/>

Could it be caused by Seam Faces’ ViewConfig rule?:


thank you.