Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.2-EE-GA
-
Fix Version/s: 1.8.2-EE-GA_P02
-
Component/s: ICE-Components
-
Labels:None
-
Environment:-
Description
The attached test case has a dataTable with 3 selectOneRadio components. The row level object of the table has a boolean attribute bound to the required attribute of the selectOnRadio component. In this case, only the first selectOneRadio is required. Here are the steps to reproduce the issue:
1. Leave all fields unchecked and click submit. The first selectOneRadio will fire a validation error indicating the value is required, which is correct.
2. If you now check the first selectOneRadio and click the submit button, the two non-required selectOneRadio components will fire validation errors indicating they are required fields. This is incorrect as the required attribute of each is still set to false.
1. Leave all fields unchecked and click submit. The first selectOneRadio will fire a validation error indicating the value is required, which is correct.
2. If you now check the first selectOneRadio and click the submit button, the two non-required selectOneRadio components will fire validation errors indicating they are required fields. This is incorrect as the required attribute of each is still set to false.
-
Hide
- sc9079.war
- 6.16 MB
- Tyler Johnson
-
- META-INF/MANIFEST.MF 0.0 kB
- WEB-INF/lib/backport-util-concurrent.jar 319 kB
- WEB-INF/.../TableBean$QuestionItem.class 1 kB
- WEB-INF/lib/commons-digester.jar 140 kB
- WEB-INF/lib/FastInfoset.jar 285 kB
- pageA.jspx 2 kB
- WEB-INF/lib/icefaces-comps.jar 1.95 MB
- WEB-INF/lib/jxl.jar 708 kB
- WEB-INF/classes/.../sortable/TableBean.java 1 kB
- WEB-INF/classes/.../SortableList.class 1 kB
- WEB-INF/.../krysalis-jCharts-1.0.0-alpha-1.jar 151 kB
- WEB-INF/lib/commons-beanutils.jar 226 kB
- WEB-INF/faces-config.xml 0.7 kB
- WEB-INF/classes/.DS_Store 6 kB
- WEB-INF/lib/commons-fileupload.jar 56 kB
- WEB-INF/lib/jsf-impl.jar 816 kB
- index.jsp 0.2 kB
- WEB-INF/lib/jsf-api.jar 350 kB
- WEB-INF/lib/icefaces.jar 1.19 MB
- WEB-INF/web.xml 4 kB
- WEB-INF/lib/commons-logging.jar 52 kB
- WEB-INF/classes/.../sortable/TableBean.class 1 kB
- WEB-INF/lib/commons-collections.jar 558 kB
- WEB-INF/classes/.../SortableList.java 2 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Stale code removed.
Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\panelseries\UISeries.java
Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\panelseries\UISeries.java
Completed: At revision: 21177
Show
Adnan Durrani
added a comment - Stale code removed.
Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\panelseries\UISeries.java
Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\panelseries\UISeries.java
Completed: At revision: 21177
Each table row renders an asterisk * if that row is required, and it's only rendered for the first row, so it looked like the bottom two rows should know they're not required. That's what makes it so puzzling.