You need to sign in to do that
Don't have an account?
EPSWDEV
PageReference to previous page.
I know I can construct a page reference to a objects detail page. however how do I construct the page reference to a previous page. Essentially I am trying to implement a cancel button that when its clicked, the custom controller would pass a page reference to the previous page. if I use the standard cancel functionality (not implement cancel method in the custom controller) it gives me an error to fill out one of the required fields on the page.
Thanks
PS: I know I can just use javascript --> history.back() but want to know if there is a way to do this by page reference, plus not sure is history.back() brings a cached page.
Message Edited by EPSWDEV on 01-09-2009 08:57 AM
Thanks
PS: I know I can just use javascript --> history.back() but want to know if there is a way to do this by page reference, plus not sure is history.back() brings a cached page.
Message Edited by EPSWDEV on 01-09-2009 08:57 AM