Many thanks for your information regarding your intention about the future way of your code.
Meanwhile I implemented the breadcrumb menu successfully based on FacesContext.getCurrentInstance().getViewRoot().getViewId() instead of PrettyContext.getCurrentInstance().getRequestURL(). So there is no dependency to PrettyFaces anymore.
Now I like to try rewriting my URL by using Rewrite instead of PrettyFaces, as proposed by you.
What would you recommend, how could I store an URL fragment (the part after the hash sign # in an URL) as a view parameter for future use in the breadcrumb menu?
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.