Splash › Forums › PrettyFaces Users › ADF, PrettyFaces and a persistent query param › Re: ADF, PrettyFaces and a persistent query param
Thank you for the reply.
I was able to obtain the param value from HttpServletRequest and append it to the target url like so:
String targetURL = context.getContextPath() + builder.build(mapping, true, params)
+ "?_adf.ctrl-state=" + request.getParameterValues("_adf.ctrl-state");
Knowing this, it appears as though my best bet for navigation throughout the site will be to use Java redirects since pretty:link and PF command actions will not persist the ADF param.
Can you think of any customization I could perform that would allow the use of pretty:link and PF command actions in this scenario?
Again, thank you for your insight.
If you find our tools useful, please consider making a donation to help us stay online and building software!