ICEfaces
  1. ICEfaces
  2. ICE-9524

ace:maskedEntry > keypress Ajax Event Failure

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P01, 4.0.BETA
    • Fix Version/s: EE-3.3.0.GA_P01, 4.0.BETA, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces3/trunk revision# 37332
      icefaces-ee-3.3.0.GA_P01/icefaces tag revision# 37405

      Description

      There is an exception on Tomcat6 when testing the ace:ajax listener for the maskedEntry event 'keypress'. The exception can be fixed by changing the method argument from 'KeyPressEvent' to 'AjaxBehaviorEvent', and it does not occur on Tomcat7 when using the KeyPressEvent as the argument (as listed in the tlddoc).

      WARNING: /maskedEntryAjax.xhtml @86,99 listener="#{ajaxTestBean.keyPressEventListener}": Method not found: org.icefaces.maskedEntry.AjaxTestBean@e20ef8.keyPressEventListener(javax.faces.event.AjaxBehaviorEvent)
              javax.el.MethodNotFoundException: /maskedEntryAjax.xhtml @86,99 listener="#{ajaxTestBean.keyPressEventListener}": Method not found: org.icefaces.maskedEntry.AjaxTestBean@e20ef8.keyPressEventListener(javax.faces.event.AjaxBehaviorEvent)
                  at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:109)
                  at org.icefaces.ace.component.ajax.AjaxBehaviorListenerImpl.processAjaxBehavior(AjaxBehaviorListenerImpl.java:82)
                  at javax.faces.event.AjaxBehaviorEvent.processListener(AjaxBehaviorEvent.java:113
          .............

      Test app located here: http://server.ice:8888/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Nightly/maskedEntry

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Cruz Miraback
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: