Re: Redirection on URLMapping after login with Seam Faces

Splash Forums PrettyFaces Users Redirection on URLMapping after login with Seam Faces Re: Redirection on URLMapping after login with Seam Faces

#21450

jboga
Participant

OK, problem solved.

I didn’t see that you could put a name to custom regex path parameter.

For example :

@URLMapping(id="myurlmapping", pattern="/vertical/#{/[a-z\.]+/ nameOfTheQueryParam : verticalBean.alias}",

viewId="/private/vertical.jsf")

which transforms ‘/vertical/jeremy’ in ‘/private/vertical.jsf?nameOfTheQueryParam=jeremy’

I thought that only Named Path Parameters and EL-injected path parameters could received a name.

Hope this will be helpful for others.

Thanks PrettyFaces :-)