Skip to main content
1 件の回答
  1. 2020年6月4日 12:06
    Hi bhargavi,

     

    When you call "page" from controller1, pass the values from Controller1 in URL:

     

    Like this:

     

    PageReference pageRef = new PageReference('/apex/myVfPage?accountId=<Variable-name>');

     

    Then use this value in page directly :

     

    var AccountId = '{!$myVfPage.parameters.accountId}';

     

    Similarly, pass this value to Controller2 via "apex:actionFunction" or {get,set} variables.

     

    Thank You.