Reply To: Get view-id from arbitrary pretty-url

Splash Forums Rewrite Users Get view-id from arbitrary pretty-url Reply To: Get view-id from arbitrary pretty-url

#24705

djmj
Participant

I added rewrite-servlet-2.0.5.Final.jar to use rewrite but those two classes are not available.

It is a basic redirect pattern. After login or other operation user gets redirected to previous page.

<o:viewParam name="from" value="#{bean.from}" converter="package.converter.RewriteUrlConverter"/>

Furthermore a button for back navigation should be placed on the site:

<h:link value="Go back to previous page" outcome="#{bean.from}/> <– does not works with rewritten url needs view-id