3 Replies Latest reply on Jun 21, 2013 9:25 PM by Brian Leathem

    rich:inputNumberSpinner/a4j:ajax listener ignored for upclick/downclick events

    Marek Będkowski Newbie

      Hi

       

      I have a small problem with inputNumberSpinner.

       

      When I try to assign listener to up/downclick events the listener gets ignored eg.

       

       

               <rich:inputNumberSpinner value="#{home.spinNumber}">
                         <a4j:ajax event="upclick" render="out" execute="@this" listener="#{home.upClick}" />
                         <a4j:ajax event="downclick" render="out" execute="@this" listener="#{home.downClick}" />
               </rich:inputNumberSpinner>
               <h:outputText value="#{home.spinNumber}" id="out" />
      

       

      But when I assign listener to click or change event listener gets fired as expected, eg.

       

       

               <rich:inputNumberSpinner value="#{home.spinNumber}">
                         <a4j:ajax event="click" render="out" execute="@this" listener="#{home.upClick}" />
               </rich:inputNumberSpinner>
               <h:outputText value="#{home.spinNumber}" id="out" />
      

       

      Am I doing smth wrong or it's a bug?