Re: [solved] Dynamic number of ‘/’ characters

Splash Forums PrettyFaces Users [solved] Dynamic number of ‘/’ characters Re: [solved] Dynamic number of ‘/’ characters

#20021

Hi guys. It should still work the same way in PrettyFaces 3 – Except the API for accessing the URL has changed.

URL url = PrettyContext.getCurrentInstance().getRequestURL();
QueryString query = PrettyContext.getCurrentInstance().getRequestQueryString();

But voltman, your pattern is wrong :) use something like this instead:

<pattern>/search/#{ /.*/ someBean.somevariable}/</pattern>

bomadil, does this answer your question?