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

#21569

clemmonsm
Participant

Hi Christian,

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")[0];

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.