2 Replies Latest reply on Feb 29, 2008 6:02 PM by tony.herstell1

    rich:inputNumberSpinner seems to ignore parts of page to re-

    tony.herstell1

      Given:

      <rich:inputNumberSpinner id="riderNumbers" immediate="true" enableManualInput="false" minValue="1" maxValue="6" step="1" value="#{eachResource.riders}">
       <a4j:support event="onchange" eventsQueue="eventsQueue" requestDelay="2000" limitToList="true" reRender="bookingTotalPrice, booking_days, slots, bookingResourceAttemptMessages"/>
      </rich:inputNumberSpinner>


      I would expect ONLY the given blocks in reRender to be re-rendered.

      I am however, having all the page re-rendered...

      What am I doing wrong?

      Does spinner ignore the reRender parts as the doco does not say it does?

      Its not causing a problem other than a serious drain on the server as the page does a LOT of working out server-side to render!

        • 1. Re: rich:inputNumberSpinner seems to ignore parts of page to
          tony.herstell1

          From log

          debug[11:58:12,001]: Event occurs, create waiting for request in queue eventsQueue
          debug[11:58:14,016]: End delay waiting, make request in queue eventsQueue
          debug[11:58:14,016]: NEW AJAX REQUEST !!! with form :j_id12
          debug[11:58:14,016]: Append text control j_id12:j_id23:j_id30:1:j_id92:0:riderNumbers with value [2] and value attribute [1]
          debug[11:58:14,016]: Append hidden control j_id12:j_id132:allocation_calendarInputDate with value [01 March 2008] and value attribute [01 March 2008]
          debug[11:58:14,016]: Append hidden control j_id12:j_id132:allocation_calendarInputCurrentDate with value [03/2008] and value attribute [03/2008]
          debug[11:58:14,016]: Append hidden control j_id12 with value [j_id12] and value attribute [j_id12]
          debug[11:58:14,016]: Append hidden control autoScroll with value [] and value attribute []
          debug[11:58:14,016]: Append hidden control j_id12:_idcl with value [] and value attribute []
          debug[11:58:14,016]: Append hidden control j_id12:_link_hidden_ with value [] and value attribute []
          debug[11:58:14,016]: Append hidden control javax.faces.ViewState with value [_id59] and value attribute [_id59]
          debug[11:58:14,016]: parameter j_id12:j_id23:j_id30:1:j_id92:0:j_id105 with value j_id12:j_id23:j_id30:1:j_id92:0:j_id105
          debug[11:58:14,016]: Start XmlHttpRequest
          debug[11:58:14,016]: Reqest state : 1

          • 2. Re: rich:inputNumberSpinner seems to ignore parts of page to
            tony.herstell1

            Solved:

            ajaxSingle="true"