• srikrishna_adm2011.3922319118806626E12
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
Hi All,

I'm using same standard controller and same extention class for my page1 and page2. when i redirect from page1 to page2, i want to do some action in page 2 and i'm not getting any data of extention class calculated as a part of page1 in my vf page2. i put system.debug in my extention class and they are null when i perform any action in page 2 (like clicking button). I read many blogs and everywhere its suggested that having same controller will retain data accross the pages. I'm not sure what i'm missing here.

I'm redirecitng like this
PageReference page = new PageReference('Apex/Page2');
page.setRedirect(false);
return page;
Addition Info: Page 1 has standard set controller and page 2 has standard controller

Thanks in Advance
Srikrishna