<apex:page controller="CreateExaminationController" >
<apex:form >
<apex:pageblock >
<apex:pageblocksection >
<apex:pageblockSectionItem >Course : </apex:pageblockSectionItem>
<apex:pageblocksectionItem >
<apex:selectList value="{!selectedCourse}" size="1">
<apex:selectOptions value="{!AllCourses}"></apex:selectOptions>
<apex:actionSupport event="onchange" reRender="blockSubjects"/>
</apex:selectList>
</apex:pageblocksectionItem>
</apex:pageblocksection>
<apex:pageblocksection id="blockSubjects" >
<apex:pageblockSectionItem >Subjects : </apex:pageblockSectionItem>
<apex:pageblocksectionItem >
<apex:selectList value="{!selectedSubject}" size="1">
<apex:selectOptions value="{!CourseSubject}"></apex:selectOptions>
<apex:actionSupport event="onchange" reRender="studentSubjectTable"/>
</apex:selectList>
</apex:pageblocksectionItem>
</apex:pageblocksection>
</apex:pageblock>
<apex:pageblock >
<apex:pageblockbuttons >
<apex:commandButton value="Process Selected" action="{!processSelected}" rerender="studentSubjectTable" />
</apex:pageblockbuttons>
<apex:pageblockTable id="studentSubjectTable" value="{!contacts}" var="item">
<apex:column >
<apex:inputCheckbox value="{!item.selected}" />
</apex:column>
<apex:column value="{!item.con.Name}"/>
<apex:column value="{!item.con.Email}"/>
<apex:column value="{!item.con.Phone}"/>
</apex:pageblockTable>
</apex:pageblock>
</apex:form>
</apex:page>
I want to rerender PageBlockTable studentSubjectTable on change of SelectList selectedSubject as well as on click of Button processSelected. But now, the PageBlockTable only rerenders after I click processSelected Button.