Skip to main content
words are hard
Source Link
Derek F
  • 64.1k
  • 15
  • 55
  • 104

Your visualforce page is calling CloneME() (via the action attribute), which returns precisely nothing (not even null, which is probably why thisyour current controller code isn't getting you intocausing an infinite loop of page reloading).

To redirect to another page, you'll need to change your method signature to return a pagereferencepageReference.

return redirectMe(someId); should then accomplish what you are looking forto do.

Your visualforce page is calling CloneME() (via the action attribute), which returns precisely nothing (not even null, which is probably why this isn't getting you into an infinite loop).

To redirect to another page, you'll need to change your method signature to return a pagereference.

return redirectMe(someId); should then accomplish what you are looking for.

Your visualforce page is calling CloneME() (via the action attribute), which returns precisely nothing (not even null, which is probably why your current controller code isn't causing an infinite loop of page reloading).

To redirect to another page, you'll need to change your method signature to return a pageReference.

return redirectMe(someId); should then accomplish what you are looking to do.

Source Link
Derek F
  • 64.1k
  • 15
  • 55
  • 104

Your visualforce page is calling CloneME() (via the action attribute), which returns precisely nothing (not even null, which is probably why this isn't getting you into an infinite loop).

To redirect to another page, you'll need to change your method signature to return a pagereference.

return redirectMe(someId); should then accomplish what you are looking for.