Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <apex:commandButton action="{!submit}" value="Submit"/>
- public void submit()
- PageReference pageRef = new PageReference(ApexPages.currentPage().getUrl());
- pageRef.setRedirect(true);
- return pageRef;
Add Comment
Please, Sign In to add comment