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.
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.