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
test269test269 

Redirecting page based on the picklist

Hi All,

  I have a Vf page.In this one field as picklist name type:one,two three these are picklist values.I hve selected two and redirect to 2 second page.In this second page i placed button as back .Whenever click on back button.The page redirects and the picklist value remains same.How can we do this.Any one can u please help me.

 

 

 

Thansk in advance.

atul_Bharmalatul_Bharmal

Hi you can place the below tag between picklist and call a methodfrom controller where you can redicrect to the required page

and on the next page just place a button and redicrect back to the base page. hope this helps....

 

<apex:actionSupport event="onchange" action="{!someMethod}" rerender="pgBlck" status="status"/>