You need to sign in to do that
Don't have an account?

Retaining Query String after rendering
I have a visualforce page. There are javascript validations on submitting the page. Once submitted the query string parameter is not retained in the URL.
Can anyone suggest on how to retain the query string.
The target page is not a new page, the same page is rendered again after submitting with different message
Thanks in advance
Can anyone suggest on how to retain the query string.
The target page is not a new page, the same page is rendered again after submitting with different message
Thanks in advance
There are two options for that.
1. You can use actionfunction to rerender a specific part if you want to instead of whole page.
2. Get your query string in controller side and then put that back while sending page reference to vf page again.
So It will be better if you can share your code
Thanks,
Himanshu