7 Replies Latest reply on Apr 28, 2009 10:21 AM by Nick Belaevski

    Render response Performance

    Lotfi Mellouk Master

      Hi all,

      Im using <h:commandButton/> and a4j:support, for navigation. the page takes a long time to be rendered.
      the page contains
      1) panel grid
      2)3 rich:panels : each rich:panel contains many comboBox

      the code for navigation is:

      <rich:tab label="one" id="menu_tab"
       name="#{menu.OnetabName}" action="index" disabled="#{menu.disabledOne}">
      <h:commandButton value="Quick Search" action="search"
      styleClass="#{menu.viewUsersStyle}" immediate="true" disabled="#{menu.disabledSearch}">
      <a4j:support event="onclick"
       actionListener="#{menuManager.viewManageUsersControl}" ajaxSingle="true" process="menu_tab">
      </a4j:support>
      </h:commandButton>
      
      ..
      ..
      </rich:tab>
      


      JSF phases trace:
      INFO com.BasePhaseListener 2009-04-27 16:19:28,883 - BEFORE RESTORE_VIEW(1)
      INFO com.BasePhaseListener 2009-04-27 16:19:28,883 - BEFORE RESTORE_VIEW(1)
      INFO com.BasePhaseListener 2009-04-27 16:19:28,945 - AFTER RESTORE_VIEW(1)
      INFO com.BasePhaseListener 2009-04-27 16:19:28,945 - BEFORE APPLY_REQUEST_VALUES(2)
      INFO com.BasePhaseListener 2009-04-27 16:19:28,961 - AFTER APPLY_REQUEST_VALUES(2)
      INFO com.BasePhaseListener 2009-04-27 16:19:28,961 - BEFORE RENDER_RESPONSE(6)
      INFO com.BasePhaseListener 2009-04-27 16:19:28,976 - AFTER RESTORE_VIEW(1)
      INFO com.BasePhaseListener 2009-04-27 16:19:28,976 - BEFORE APPLY_REQUEST_VALUES(2)
      INFO com.BasePhaseListener 2009-04-27 16:19:28,976 - AFTER APPLY_REQUEST_VALUES(2)
      INFO com.BasePhaseListener 2009-04-27 16:19:28,976 - BEFORE RESTORE_VIEW(1)
      INFO com.BasePhaseListener 2009-04-27 16:19:28,976 - AFTER RESTORE_VIEW(1)
      INFO com.BasePhaseListener 2009-04-27 16:19:28,976 - BEFORE RENDER_RESPONSE(6)
      INFO com.BasePhaseListener 2009-04-27 16:19:29,445 - AFTER RENDER_RESPONSE(6)
      INFO com.BasePhaseListener 2009-04-27 16:19:30,258 - AFTER RENDER_RESPONSE(6)
      


      Can you give me some advises to improve render page..

      Best regards!