8 Replies Latest reply on Jun 28, 2010 7:33 AM by Nick Belaevski

    oncomplte and rerender

    praveen jain Novice

      hi

      i have a button

      <a:commandButton value="Approve" styleClass="searchButton"
                                  reRender="refundDetailPage"
                                  rendered="#{AuthorizationFacade.authorizeMenu('Approve refunds') and AuthorizationFacade.authorizeAction(refundDetailsItem.refundDetailsData,WPCConstants.getAcceptable())}"
                                  action="#{ActionFacade.doAction(refundDetailsItem.refundDetailsData,'SET_REFUND')}"
                                  oncomplete="callWDL('#{ActionFacade.wdlURL}','#{ActionFacade.wdlRequestXMLString}','SET_REFUND')">
                              </a:commandButton>

      but the problem is that rerendering is not working ? can you tell me when Rerender calls? it is before oncomplete or after oncomplete?

      can i please a console output or some check which gives me sequence of function called? i want Rerender after oncomplete ?