How can I refresh a visualforce page after the save button on the page is clicked? I've tried a few methods, and none have provided the behavior I am looking for.
window.location.reload()
window.location.reload(true)
Returning the page's url from a function.
public pagerefrence methodname(){ PageReference pr = new PageReference('/apex/VFPage'); pr.setRedirect(true); }
rerender
's specified, or other code which is preventing a rerender.