Could you give me more details about the documentation not working? I would love to fix it!
I still need more information to help you. Rewrite can do anything you want, but I’m not really certain about what you want. From what I can tell so far, you just want to issue a redirect to a random page in the application. This can be done using the Servlet API, and a rule like I proposed above (and even the one you wrote) should work fine. So far your question doesn’t seem related to rewrite, rather how you can implement a particular feature in your application 🙂 So I’d like to help, but I need more info.
Please provide (in addition to your current configuration and relevant code):
1) The expected behavior.
2) The behavior you are observing.
so basically, if i call this url http://localhost/project/private/somethingcrypted. prettyfaces will get somethingcrypted param and transform it to the real name of page (for example login). finally, rewrite can find corresponding page login.xhtml
i hope if this clear up my issue, please help…thnx in advance
This reply was modified 2 years, 3 months ago by arcturus.
Yeah, that should work fine. You might also consider using a .transposedBy(Transposition x) instead of using a Converter. You might have to convert/transpose both ways “login -> 345678965” and “345678965 -> login” depending on inbound vs. outbound processing.