ICEfaces
  1. ICEfaces
  2. ICE-9813

ice:jsEventListener - actionListener/action methods not called

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P01
    • Fix Version/s: EE-3.3.0.GA_P02
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All
    • Assignee Priority:
      P1
    • Workaround Exists:
      Yes
    • Workaround Description:
      If applicable, convert to either the ACE components or the Standard JSF components and use their ace:ajax or f:ajax tags accordingly.

      Description

      When using the ice:jsEventListener to capture a specific key press or event, the actionListener/action assigned to the component is never fired. The handler script is run without any issues but when this returns true, the listener isn't invoked.

      The following is shown in the browser console: [window.compat] TypeError: Ice.Parameter is undefined

        Activity

        Hide
        Arran Mccullough added a comment -

        Attached test case that shows a few different scenarios where the action/actionListener methods are not called.

        Note: the icefaces jar files have been removed from the war due to size restrictions.

        Show
        Arran Mccullough added a comment - Attached test case that shows a few different scenarios where the action/actionListener methods are not called. Note: the icefaces jar files have been removed from the war due to size restrictions.
        Hide
        Mircea Toma added a comment - - edited

        Modified Ice.registerEventListener function to avoid using deprecated API. Modified iceSubmitPartial function to accept additional parameters. Modified PartialSubmitPhaseListener to find the containing form for the source element when the source is the form itself.

        Show
        Mircea Toma added a comment - - edited Modified Ice.registerEventListener function to avoid using deprecated API. Modified iceSubmitPartial function to accept additional parameters. Modified PartialSubmitPhaseListener to find the containing form for the source element when the source is the form itself.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: