Details
-
Type:
New Feature
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.5
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Operating System: All
Platform: PC
-
Support Case References:
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial
Description
We need a new mechanism to support the ability for developers to define a
logical group for selectOneRadio components.
selectOneRadio components that are assigned to the same logical group will
affect each others state as follows:
1. Only one selectOneRadio component can be selected at one time in a logical
group.
2. Selecting a selectOneRadio component will automatically deselect any
previously selected selectOneRadio component in the same logical group.
This mechanism will make it possible to have multiple logical groupings of
selecOneRadio components on the same page, whereas today all selectOneRadio
components interact with each other on the same page, which is very limiting.
This concept is similar to the logical grouping of valid target
panelPositionable components so we should ensure that the mechanism used to
define the member groups in both cases is consistent.
logical group for selectOneRadio components.
selectOneRadio components that are assigned to the same logical group will
affect each others state as follows:
1. Only one selectOneRadio component can be selected at one time in a logical
group.
2. Selecting a selectOneRadio component will automatically deselect any
previously selected selectOneRadio component in the same logical group.
This mechanism will make it possible to have multiple logical groupings of
selecOneRadio components on the same page, whereas today all selectOneRadio
components interact with each other on the same page, which is very limiting.
This concept is similar to the logical grouping of valid target
panelPositionable components so we should ensure that the mechanism used to
define the member groups in both cases is consistent.
Activity
Field | Original Value | New Value |
---|---|---|
issue.field.bugzillaimportkey | 782 | 12020 |
Affects Version/s | 1.5 [ 10027 ] | |
Affects Version/s | 1.0.1 [ 10025 ] |
Fix Version/s | 2.0 [ 10032 ] |
Assignee | Adnan Durrani [ adnan.durrani ] |
Support Case References | https://www.icesoft.ca:4443/supportilla/show_bug.cgi?id=4310 |
Attachment | Test_MultipleRadioButtons.war [ 10673 ] |
Attachment | Test_MultipleRadioButtons.rar [ 10674 ] |
Fix Version/s | 1.7 [ 10080 ] | |
Assignee | Adnan Durrani [ adnan.durrani ] |
Fix Version/s | 1.7DR#3 [ 10112 ] | |
Fix Version/s | 1.7 [ 10080 ] |
Summary | New selectOneRadio grouping mechanism | New selectOneRadio + selectManyCheckbox grouping mechanism |
Assignee | Adnan Durrani [ adnan.durrani ] | Yip Ng [ yip.ng ] |
Attachment | screenshot-1.jpg [ 10730 ] |
Priority | Minor [ 4 ] | Major [ 3 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #15171 | Tue Nov 13 17:39:36 MST 2007 | yip.ng | Added implementation of checkboxes with a "spread" layout as in MyFaces. |
Files Changed | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Attachment | screenshot-2.jpg [ 10731 ] |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Issue Type | Improvement [ 4 ] | New Feature [ 2 ] |
Affects | [Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial] |
Fix Version/s | 1.7 [ 10080 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Yip Ng [ yip.ng ] |
This feature has been moved to the next release, I discussed this issue with
the Ken and Philip. Ken suggested that we should implement this feature for
both selectOneRadio and selectManyCheckbox all together and should follow the
same attributes and terminology as Myfaces did for their checkbox component.
Please see the code snippet of myfaces' checkbox implementation:
{textBean.bindItem1}<x:selectManyCheckbox id="myCheckbox" layout="spread" binding="#
" >
{textBean.items2}<f:selectItems value="#
"/>
</x:selectManyCheckbox>
<h:dataTable var="data4" value="#
{textBean.dataModel2}">
{textBean.dataModel2.rowIndex}<h:column>
<x:checkbox for="myCheckbox" index="#
"/>
</h:column>
</h:dataTable>