• sqyahoo
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
I have try to make page redirect function like this
 
Code:
public PageReference Test(){
 PageReference pageError = new PageReference('/Apex/Error_Page');
 pageError.setRedirect(true);
 
 return pageError;
}

but when the code executed doesn't work in my instance.
The page still in the same page without any text generated (fully blank page). 
In another instance I have try this code and working well.
Anyone know my problems?
 
Thanks.