Skip to main content
1 of 2
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.

Derek F
  • 64.1k
  • 15
  • 55
  • 104