title: <p:datatable> partial process does not reflect changes immediately
body: <p>I have a code like:</p>
  
  <pre><code>&lt;p:dataTable style="padding-top: 5px" var="leaveDetails" value="#{userLeaveBean.leaveDetails}" id="leaveDataTable" editable="true"&gt;
                      &lt;p:column headerText="Leave Starts on" width="230"&gt;
                              &lt;p:calendar valueChangeListener="#{userLeaveBean.handleFromDateChanege}" value="#{leaveDetails.dtLeaveFromDate}" pattern="dd-MMM-yyyy" size="16" showOn="button" id="editFrom"&gt;
                                  &lt;p:ajax event="dateSelect"/&gt;
                              &lt;/p:calendar&gt;
                              &lt;h:selectOneRadio value="#{leaveDetails.strStartTiming}" valueChangeListener="#{userLeaveBean.handleRadioFirstValueChange}"&gt;
                                  &lt;f:selectItem itemValue="morning" itemLabel="Morning"/&gt;
                                  &lt;f:selectItem itemValue="afternoon" itemLabel="Afternoon" /&gt;
                                  &lt;p:ajax event="click"/&gt;
                              &lt;/h:selectOneRadio&gt;
                      &lt;/p:column&gt;
                      &lt;p:column headerText="Leave Ends on" width="230"&gt;
                              &lt;p:calendar valueChangeListener="#{userLeaveBean.handleToDateChanege}" value="#{leaveDetails.dtLeaveToDate}" pattern="dd-MMM-yyyy" size="16" showOn="button" id="editTo"&gt;
                                  &lt;p:ajax event="dateSelect"/&gt;
                              &lt;/p:calendar&gt;
                              &lt;h:selectOneRadio value="#{leaveDetails.strEndTiming}" valueChangeListener="#{userLeaveBean.handleRadioSecondValueChange}"&gt;
                                  &lt;f:selectItem itemValue="noon" itemLabel="Noon"/&gt;
                                  &lt;f:selectItem itemValue="endofday" itemLabel="End Of Day"/&gt;
                                  &lt;p:ajax event="click"/&gt;
                              &lt;/h:selectOneRadio&gt;
                      &lt;/p:column&gt;
                      &lt;p:column headerText="Days" width="40" id="total"&gt;
                          &lt;h:outputText value="#{leaveDetails.totalLeaveDays}"/&gt;
                      &lt;/p:column&gt;
                      &lt;p:column headerText="Creation" width="100"&gt;
                          &lt;h:outputText value="#{leaveDetails.dtApplicationDate}"&gt;
                              &lt;f:convertDateTime pattern="EEEE,dd-MMM-yyyy"/&gt;
                          &lt;/h:outputText&gt;
                      &lt;/p:column&gt;
                      &lt;p:column headerText="Status" width="100"&gt;
                          &lt;h:outputText value="#{leaveDetails.strLeaveStatus}"/&gt;
                      &lt;/p:column&gt;
                      &lt;p:column headerText="Edit" width="40" rendered="#{leaveDetails.strLeaveStatus == 'Canceled' or leaveDetails.strLeaveStatus == 'Availed'}"&gt;
                              &lt;p:commandLink actionListener="#{userLeaveBean.editAppliedLeave}" title="Edit" disabled="true" update="leaveDataTable" immediate="true" partialSubmit="true"&gt;
                                  &lt;h:graphicImage url="resources/images/edit.JPG"/&gt;
                                  &lt;f:attribute name="userId" value="#{employee.name}"/&gt;
                                  &lt;f:attribute name="editFirstHalf" value="#{leaveDetails.strStartTiming}"/&gt;
                                  &lt;f:attribute name="editSecondHalf" value="#{leaveDetails.strEndTiming}"/&gt;
                                  &lt;f:attribute name="editFrom" value="#{leaveDetails.dtLeaveFromDate}"/&gt;
                                  &lt;f:attribute name="editTo" value="#{leaveDetails.dtLeaveToDate}"/&gt;
                                  &lt;f:attribute name="leaveId" value="#{leaveDetails.strLeaveId}"/&gt;
                              &lt;/p:commandLink&gt;
                      &lt;/p:column&gt;
                      &lt;p:column headerText="Edit" width="40" rendered="#{leaveDetails.strLeaveStatus != 'Canceled'}"&gt;
                              &lt;p:commandLink actionListener="#{userLeaveBean.editAppliedLeave}" title="Edit" disabled="false" update="leaveDataTable" immediate="true" process="@this" &gt;
                                  &lt;h:graphicImage url="resources/images/edit.JPG"/&gt;
                                  &lt;f:attribute name="userId" value="#{employee.name}"/&gt;
                                  &lt;f:attribute name="editFirstHalf" value="#{leaveDetails.strStartTiming}"/&gt;
                                  &lt;f:attribute name="editSecondHalf" value="#{leaveDetails.strEndTiming}"/&gt;
                                  &lt;f:attribute name="editFrom" value="#{leaveDetails.dtLeaveFromDate}"/&gt;
                                  &lt;f:attribute name="editTo" value="#{leaveDetails.dtLeaveToDate}"/&gt;
                                  &lt;f:attribute name="leaveId" value="#{leaveDetails.strLeaveId}"/&gt;
                              &lt;/p:commandLink&gt;
                      &lt;/p:column&gt;
                      &lt;p:column headerText="Cancel" width="60" rendered="#{leaveDetails.strLeaveStatus == 'Canceled' or leaveDetails.strLeaveStatus == 'Availed'}"&gt;
                              &lt;p:commandLink actionListener="#{userLeaveBean.cancelForLeave}" title="Cancel Request" disabled="true" process="@this" update="leaveDataTable" immediate="false"&gt;
                                  &lt;h:graphicImage url="resources/images/cancel.gif"/&gt;
                                  &lt;f:attribute name="userId" value="#{employee.name}"/&gt;
                                  &lt;f:attribute name="leaveId" value="#{leaveDetails.strLeaveId}"/&gt;
                              &lt;/p:commandLink&gt;
                      &lt;/p:column&gt;
                      &lt;p:column headerText="Cancel" width="60" rendered="#{leaveDetails.strLeaveStatus != 'Canceled'}"&gt;
                              &lt;p:commandLink actionListener="#{userLeaveBean.cancelForLeave}" title="Cancel Request" disabled="false" process="@this" update="leaveDataTable" immediate="false" ajax="true"&gt;
                                  &lt;h:graphicImage url="resources/images/cancel.gif"/&gt;
                                  &lt;f:attribute name="userId" value="#{employee.name}"/&gt;
                                  &lt;f:attribute name="leaveId" value="#{leaveDetails.strLeaveId}"/&gt;
                              &lt;/p:commandLink&gt;
                      &lt;/p:column&gt;
                  &lt;/p:dataTable&gt;
  </code></pre>
  
  <p>This part of code is written in a <code>&lt;p:datatable&gt;</code>.That means Row operation of a <code>&lt;p:datatable&gt;</code>.On clicking the <code>&lt;p:commandLink&gt;</code> some execution is happened, and I want it to reflect on the <code>&lt;p:datatable&gt;</code> immediatley. But it does not happen.</p>
  
  <p>If I refresh the page, then the changes reflects for the row of the <code>&lt;p:datatable&gt;</code>. How can I modify my code to reflect the changes immediately.</p>
  
  <p>Working on JSF2.0, primefaces 3.4.2, Jboss As7.1.1final and JDK6.0.
  Bean is in <code>@ViewScoped</code>.
  Please suggest.
  Thanks in advance.</p>