Re: How can I get “nice” URL from JSF outcome programatically?

Splash Forums Rewrite Users How can I get "nice" URL from JSF outcome programatically? Re: How can I get “nice” URL from JSF outcome programatically?

#22866

FacesContext.getCurrentInstance().getExternalContext().encodeURL("/user.html?id=10");

or…

((ConfigurableNavigationHandler) FacesContext.getCurrentInstance().getApplication().getNavigationHandler()).getNavigationCase(context, fromAction, outcome).getRedirectURL(facesContext)