Forum Post: Re: Perform Page Reload After Record Is Saved - New Ui

  • Thread starter Thread starter IramK
  • Start date Start date
Status
Not open for further replies.
I

IramK

Guest
Hello Siraj, I have the above mentioned code on form submit as given below that checks if the server validation is complete and the return page type is the view page but on form submit, the server validation returns false (which is correct) and the return page type returns 2 (Edit page). Any suggestions on how I can make sure the submission is complete? if(rb.newui.page.PageContext.isRedirectedOnServerValidation() == false && rb.newui.page.PageContext.getPageType() == 1) { window.top.location.reload(); }

Continue reading...
 
Status
Not open for further replies.
Back
Top