0 Replies Latest reply on Nov 6, 2013 6:02 AM by Mohsin Khan

    a4j:support on change event refresh whole page

    Mohsin Khan Newbie

      Hi,

       

      We have a4j:support on change event for h:selectOneMenu, When we first vist the page and select the items from selectOneMenu the whole page is getting rendered, if we select second time other item from  selectOneMenu it is not refreshing whole page. We are not able to figure what may be the problem why it is refreshing whole page for the first time.

       

      It would helpful if any one has information regarding this.

       

      Thanks inadvance

      Mohsin

       

      <h:selectOneMenu id="transactionType"

                                          value="#{partyPaymentOrReceiptReportBean.partyPaymentOrReceiptCriteriaReport.accountCategoryId}"

                                          required="false" label="#{msg.accountcategory}">

                                          <f:selectItems

                                              value="#{partyPaymentOrReceiptReportBean.accountCategoryList}" />

                                          <a4j:support event="onchange" ajaxSingle="true" immediate="true"/>

                                      </h:selectOneMenu>