Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: 3.2, EE-3.2.0.BETA
-
Fix Version/s: 3.3
-
Component/s: Bridge, ICE-Components
-
Labels:None
-
Environment:IE9 Compat, IE8, IE7
-
Assignee Priority:P2
-
Salesforce Case Reference:
-
Workaround Exists:Yes
-
Workaround Description:
Description
The <icecore:singleSubmit> tag is used on a form. This form contains an ice:selectRadioButton with a "Yes" and a "No" option. The "No" option is selected by default. Sample code:
<ice:selectOneRadio id="testRadio"
value="#{testBean.value}" required="true">
<f:selectItem itemValue="YES" itemLabel="Yes" />
<f:selectItem itemValue="NO" itemLabel="No" />
</ice:selectOneRadio>
When tabbing through this component, the selection is lost and the required message is shown. The setter for the value does not get called. Once another singleSubmit occurs the value is shown again.
This seems to happen on the initial load of the page. If focus is cycled through again this issue isn't seen. Also if the default value is set to "Yes" or the order of the SelectItems is changed then this issue isn't seen.
It also is an issue with the h:selectOneRadio button. This issue is likely related to the behavior reported inICE-8577
<ice:selectOneRadio id="testRadio"
value="#{testBean.value}" required="true">
<f:selectItem itemValue="YES" itemLabel="Yes" />
<f:selectItem itemValue="NO" itemLabel="No" />
</ice:selectOneRadio>
When tabbing through this component, the selection is lost and the required message is shown. The setter for the value does not get called. Once another singleSubmit occurs the value is shown again.
This seems to happen on the initial load of the page. If focus is cycled through again this issue isn't seen. Also if the default value is set to "Yes" or the order of the SelectItems is changed then this issue isn't seen.
It also is an issue with the h:selectOneRadio button. This issue is likely related to the behavior reported in
Issue Links
- duplicates
-
ICE-8577 focus is lost on the form on the first update
- Closed
Attached test case that shows issue.
Steps:
ICE-8577tab back into the first input field).To reproduce again, clear the session cookies and browser cache.