ICEfaces
  1. ICEfaces
  2. ICE-7783

Action and Value Change Events are called multiple times for components using a component binding

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: EE-2.0.0.GA, 3.0
    • Fix Version/s: 3.0.1, EE-3.0.0.GA
    • Component/s: Framework, ICE-Components
    • Labels:
      None
    • Environment:
      All
    • Workaround Exists:
      Yes
    • Workaround Description:
      First step is to remove all component bindings. If this is not possible then switching to an action method instead of an actionListener seems to work better.

      Description

      If an ice:commandButton uses a component binding , the actionListener method can be called multiple times. The action method is always called only once.

      The same issue can be seen with an inputText component, the valueChangeListener is called multiple times with a component binding.

      It also looks like the more you interact with these components the more the listeners are called. First click of the button the AL is called twice, second click its called four times, and so on.

      This behavior can be seen in both a Window and Session scoped beans.

        Activity

        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P1
        Ken Fyten made changes -
        Fix Version/s EE-3.0.0.GA [ 10262 ]
        Ted Goddard made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Ken Fyten made changes -
        Fix Version/s 3.0.1 [ 10282 ]
        Assignee Priority P1
        Assignee Ted Goddard [ ted.goddard ]
        Arran Mccullough made changes -
        Attachment Case10907Example2.zip [ 14077 ]
        Attachment Case10907Example2.war [ 14078 ]
        Arran Mccullough made changes -
        Summary Action and Value Change Events are called multiple times for components using a binding in Window Scope Action and Value Change Events are called multiple times for components using a component binding
        Environment Window Scope All
        Description If an ice:commandButton uses a component binding in a Window Scope bean, the actionListener method can be called multiple times. The action method is always called only once.

        The same issue can be seen with an inputText component, the valueChangeListener is called multiple times with a component binding in Window Scope.

        It also looks like the more you interact with these components the more the listeners are called. First click of the button the AL is called twice, second click its called four times, and so on.
        If an ice:commandButton uses a component binding , the actionListener method can be called multiple times. The action method is always called only once.

        The same issue can be seen with an inputText component, the valueChangeListener is called multiple times with a component binding.

        It also looks like the more you interact with these components the more the listeners are called. First click of the button the AL is called twice, second click its called four times, and so on.

        This behavior can be seen in both a Window and Session scoped beans.
        Arran Mccullough made changes -
        Field Original Value New Value
        Salesforce Case [5007000000KFyLS]
        Arran Mccullough created issue -

          People

          • Assignee:
            Ted Goddard
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: