Splash › Forums › PrettyFaces Users › Seam security and pretty faces › Re: Seam security and pretty faces
If you configure the mapping like this the query parameter should work for an URL like /event/123. So there is definitively something wrong in your case.
From your code I saw that you are using @RequestParam to inject the query parameter. What kind of annotation is this? I’ve never seen this before.
Could you try to read the query parameter using:
HttpServletRequest request = (HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest();
String value = request.getParameter( "eventId" );
I just want to know if this works.
If you find our tools useful, please consider making a donation to help us stay online and building software!