I want to refresh the entire service console on clicking of the save button on the visual force page. The button is an inline visual force page. Any ideas?
<apex:includeScript value="/soap/ajax/26.0/connection.js"/>
<apex:includeScript value="/support/console/26.0/integration.js"/>
<script type="text/javascript">
function focusAndSave() {
document.getElementById('focusMe').click();
}
</script>
<apex:form >
<apex:pageBlock id="pb">
<apex:pageMessages id="errMsgsId"></apex:pageMessages>
<input type="text" id="focusMe" style="display:none" />
<apex:pageBlockTable id="table" value="{!candidateMap}" var="c">
<apex:column value="{!candidateMap[c].Contact__r.Name}"/>
<apex:column value="{!candidateMap[c].Submitted_at__c}"/>
<apex:column value="{!candidateMap[c].Interview_Availability__c}"/>
<apex:column value="{!candidateMap[c].Notice_Available__c}"/>
<apex:column headervalue="Stage">
<apex:outputfield value="{!candidateMap[c].Stage__c}">
<apex:inlineEditSupport event="ondblclick"/>
</apex:outputfield>
</apex:column>
<apex:column headervalue="Ideally looking for">
<apex:outputfield value="{!candidateMap[c].Ideally_looking_for__c}">
<apex:inlineEditSupport event="ondblclick"/>
</apex:outputfield>
</apex:column>
<apex:column headervalue="Action">
<apex:commandLink value="Save" action="{!saveCandidate}" rerender="errMsgsId,table" onclick="focusAndSave()" oncomplete="testGetFocusedPrimaryTabId()">
<apex:param name="candidateId" value="{!candidateMap[c].Id}" assignTo="{!candidateId}"/>
</apex:commandLink>
</apex:column>
</apex:pageBlockTable>
<apex:panelGrid columns="7" style="margin: 0 auto;">
<apex:outputLabel value="{!noOfRecords} records found"></apex:outputLabel>
<apex:commandButton status="fetchStatus" reRender="pb" value="|<" action="{!first}" disabled="{!!hasPrevious}" title="First Page"/>
<apex:commandButton status="fetchStatus" reRender="pb" value="<" action="{!previous}" disabled="{!!hasPrevious}" title="Previous Page"/>
<apex:commandButton status="fetchStatus" reRender="pb" value=">" action="{!next}" disabled="{!!hasNext}" title="Next Page"/>
<apex:commandButton status="fetchStatus" reRender="pb" value=">|" action="{!last}" disabled="{!!hasNext}" title="Last Page"/>
<apex:outputLabel value="Page {!pageNumber} of {!pagecount}"></apex:outputLabel>
</apex:panelGrid>
</apex:pageBlock>
</apex:form>