Re: ADF, PrettyFaces and a persistent query param

Splash Forums PrettyFaces Users ADF, PrettyFaces and a persistent query param Re: ADF, PrettyFaces and a persistent query param

#21568

Hey clemmonsm,

a very interesting issue. Actually I thought that the original query parameters are preserved by PrettyFaces if you access a mapping. As far as I can tell PrettyFaces simply wraps the HttpServletRequest and just adds query parameters to the existing ones.

Could you perhaps test this? You could simply choose some action method and manually read the query parameters from the HttpServletRequest to check if the parameter is still there.

Another possible cause of this issue is that PrettyFaces also wraps the HttpServletResponse and hooks into encodeURL(). I think ADF also does this to add this special query parameter to the generated URLs. Perhaps this isn’t working correctly if both frameworks modify the URL? Perhaps the order is important?

Christian