function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
charu_dattacharu_datta 

URL parameters not passed in IE 9

 

Hi All,

 

  I am facing a IE 9 browser specific problem.

I am unable pass parameters in URL when I am redirecting the user to a new page.

 

Here is the code snippet

 

PageReference secondPage = new pagereference('/apex/ViewPage');

secondPage .getParameters().put('id', i.id);
secondPage .setRedirect(true);
return secondPage ;

 

 

The new redirected page URL has no id parameter.

 

I even tried hard coding the id in the URL but does not work. The redirected page has jQuery embedded in it.

 

Would really appreciate any inputs.

 

Thanks,

Charu

Suresh RaghuramSuresh Raghuram

using javascript from the visualforce page pass this id in url and you should also create a parameters in the constructor.