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

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

#20022

voltman
Participant

Hi,

The pattern like you provided:

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

was my first shot and it’s doesn’t work on links like:

search/q:smth1/p:smth2/ – 404 error

where it still does work for

search/q:smth1/ – OK

My frist thought was that it natuarlly breaks at ‘/’ sign as u pointed that in documntation, so i’ve tried different greedy patterns that include the magic slash sign but they did fail aswell. So that is why I’m asking