Timeline for What is the difference between System.currentPageReference() and ApexPages.currentPage()?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 2, 2013 at 17:45 | comment | added | sfdcfox♦ | The error may have been elsewhere on the controller code, though. I think the question was sort of a red herring in this case, but that's okay. Either that, or you experienced a bug of some sort. | |
Dec 2, 2013 at 17:25 | vote | accept | VarunC | ||
Dec 2, 2013 at 17:25 | comment | added | VarunC | thnx for the answers, I'm markign your as accepted one since it has POC :-) ... for my question I got curious on this because I was using System.currentpageReference() to get current page parameter, named 'id', on a VF page which has been added as a Visualforce Page to a Standard Pagelayout and it reported an Exception stating that my variable was never initialized with value (which I fetched from page parameter 'id'. But it worked second time I loaded the page. | |
Dec 2, 2013 at 9:01 | history | answered | sfdcfox♦ | CC BY-SA 3.0 |