Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.2-EE-GA
-
Fix Version/s: 1.8.3, 1.8.2-EE-GA_P02, 2.0.0
-
Component/s: ICE-Components
-
Labels:None
-
Environment:All
Description
The ValueChangeListener is called twice when clicking on the selectOneRadio components label and standardRequestScope=true.
It is called only once when clicking on the actual button. Also if using the ICEfaces extending request scope or session scope the listener is always called once.
It is called only once when clicking on the actual button. Also if using the ICEfaces extending request scope or session scope the listener is always called once.
Issue Links
- is duplicated by
-
ICE-6108 ValueChangeListener called twice when clicking on selectOneRadio label
- Closed
Activity
Arran Mccullough
created issue -
Arran Mccullough
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [5007000000As6qc] |
Arran Mccullough
made changes -
Attachment | Case9082Example.war [ 12300 ] |
Arran Mccullough
made changes -
Attachment | Case9082Example.zip [ 12301 ] |
Ken Fyten
made changes -
Fix Version/s | 1.8.2-EE-GA_P02 [ 10226 ] |
Ken Fyten
made changes -
Assignee Priority | P1 | |
Assignee | Mark Collette [ mark.collette ] |
Ken Fyten
made changes -
Assignee | Mark Collette [ mark.collette ] | Ted Goddard [ ted.goddard ] |
Ted Goddard
made changes -
Assignee | Ted Goddard [ ted.goddard ] | Ken Fyten [ ken.fyten ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23029 | Thu Nov 04 10:20:33 MDT 2010 | yip.ng | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ext/HtmlSelectOneRadio.java
|
Ken Fyten
made changes -
Fix Version/s | 2.0.0 [ 10230 ] | |
Fix Version/s | 1.8.3 [ 10211 ] | |
Assignee | Ken Fyten [ ken.fyten ] | Yip Ng [ yip.ng ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23031 | Thu Nov 04 10:31:06 MDT 2010 | yip.ng | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/ext/HtmlSelectOneRadio.java
|
yip.ng
made changes -
Attachment | screenshot-01.png [ 12651 ] | |
Attachment | screenshot-02.png [ 12652 ] |
yip.ng
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23052 | Mon Nov 08 13:56:41 MST 2010 | yip.ng | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/SelectManyCheckboxListRenderer.java
MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/RadioRenderer.java MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ext/HtmlSelectOneRadio.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23053 | Mon Nov 08 13:58:20 MST 2010 | yip.ng | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/compat/core/src/main/java/com/icesoft/faces/renderkit/dom_html_basic/RadioRenderer.java
MODIFY /icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/ext/HtmlSelectOneRadio.java MODIFY /icefaces2/trunk/icefaces/compat/core/src/main/java/com/icesoft/faces/renderkit/dom_html_basic/SelectManyCheckboxListRenderer.java |
yip.ng
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P1 |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #28206 | Wed Mar 07 09:48:24 MST 2012 | arran.mccullough | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/patches/sf-10973/icefaces/component/src/com/icesoft/faces/component/ext/HtmlSelectOneRadio.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #28207 | Wed Mar 07 09:53:16 MST 2012 | arran.mccullough | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/patches/sf-10973/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/RadioRenderer.java
MODIFY /icefaces/scratchpads/patches/sf-10973/icefaces/component/src/com/icesoft/faces/component/ext/HtmlSelectOneRadio.java MODIFY /icefaces/scratchpads/patches/sf-10973/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/SelectManyCheckboxListRenderer.java |
This does not appear to be a framework issue. The following HTML example also displays two "click" alerts:
<html>
<body>
<fieldset onclick="alert('click');">
<input type="radio" id="coke" value="Coke" />
<label for="coke">coke</label>
<input id="sprite" type="radio" value="Sprite" />
<label for="sprite">sprite</label>
</fieldset>
</body>
</html>
If the onclick handler is applied to each label, however a single alert is displayed, so it may be desirable to modify the component renderer to apply the onclick attribute in this way.