HDIV config to set parameters in hidden fields instead of URL

478 Views Asked by At

I am using Spring MVC 4.1.7.RELEASE and HDIV 2.1.11. I have set HdivRequestDataValueProcessor to intercept internal redirects in Controller code as below.

return "redirect:"+"/user/account"

This is resulting in the HDIV state parameter getting set in the URL. In the HdivRequestDataValueProcessor code, I saw that it is using the LinkUrlProcessor to write the HDIV state as a request parameter to the redirected url.

Is there a way to configure HDIV to have this parameter as a hidden field instead of in the url?

1

There are 1 best solutions below

1
On

There is no way to do that. You can not use a hidden field in a redirect.

Fernando Lozano (HDIV Team)