Re: Path default add parameter to parameters

Splash Forums Rewrite Users Path default add parameter to parameters Re: Path default add parameter to parameters

#22935

RedShadow
Participant

Well i will give you a hint on what i want to achieve ^^

The mapping should be as follows, where the left side of the “rules” is kind of a regex:

/test(.*) (Forward =>) /test/login.xhtml (when not logged in)

/test(.*) (Forward =>) /test/test.xhtml (when logged in)

Both /test/login.xhtml and /test/test.xhtml should be URL encoded to /test when for example used in JSF like:

<h:link outcome=”/test/login.xhtml” value=”Login”/>