• recio14
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hi

 

I am working on a vf page where, if a user does some operation without selecting list of records, we need to return the same page with apex pageMessages. but, when error message is displayed after url refresh, parameters from page are lost. i.e. apex/page_name?id=xyz is returned as apex/page_name.

 

if i use setredirect(true) in controller class, then error message is not displayed.

 

Please provide a solution.

 

Thanks