My visual page having a pageBlockTable inside a tab. Also there is a button inside the same tab named Refresh. I need to refresh the pageBlockTable using the refresh button. The following code is not working
Code:
<apex:tab label="Info" name="info" id="info">
<apex:form id="tabForm1">
<apex:commandbutton value="Refresh" reRender="tabForm1"/>
<apex:pageBlockTable value="{!getAllInfo}" var="a">
<apex:column value="{!a.id}"/>
</apex:pageBlockTable>
</apex:form>
</apex:tab>