Details
-
Type: Bug
-
Status: Closed
-
Priority: 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.
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 -
Since the same behavior is reproduced without ICEfaces, this is not an ICEfaces bug, and is evidently due to a change in behavior with JSF 2.0 vs 1.2.