function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

action="{!save}" does not refresh parent page

im using action="{!save}" on my VF page in SF1. But when it close the window it does not refresh the page

how to fix it?
Akhil TandonAkhil Tandon
I guess you are using command button on VF Page. Please use thcode give below.
Give id to the page and use the redender tag on command button to refresh the page.

<apex:page id="pg">
    <apex:form >
        <apex:commandButton value="Save" action="{!Save}" reRender="pg"/>

If it helps you, please mark is as best answer, so it will be helpful for other developers.
Dushyant SonwarDushyant Sonwar
Hi Smith ,
To refresh the page in Salesforce1 , you need to use the Salesforce1 javascript library for navigation and refresh.
Thanks. But it will use cached copy