Question:
When I am clicking Save & New the record is inserting and giving the same page but the problem is it is giving the same values which has been entered on the before page.
When I am clicking Save & New the record is inserting and giving the same page but the problem is it is giving the same values which has been entered on the before page.
Solution:
PageReference pr=Page.MyPage; pr.setRedirect(true); return pr;
No comments:
Post a Comment