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.
-
Hide
- Test_MultipleRadioButtons.war
- 4.40 MB
- Michael Thiem
-
- META-INF/MANIFEST.MF 0.0 kB
- WEB-INF/.../DataTablePaginatorBean$1.class 1 kB
- WEB-INF/.../DataTablePaginatorBean.class 5 kB
- WEB-INF/classes/.../NavigationBean.class 0.6 kB
- WEB-INF/classes/.../PageContentBean.class 4 kB
- WEB-INF/classes/test/Person.class 2 kB
- WEB-INF/classes/.../RowSelectorBean.class 0.9 kB
- WEB-INF/classes/test/SortableList.class 1 kB
- WEB-INF/classes/test/StyleBean.class 2 kB
- WEB-INF/classes/.../TreeNavigation.class 13 kB
- WEB-INF/.../CustomRadioComponent.class 2 kB
- WEB-INF/.../CustomRadioRenderer.class 7 kB
- WEB-INF/classes/.../CustomRadioTag.class 2 kB
- WEB-INF/custom_radio.tld 0.9 kB
- WEB-INF/faces-config.xml 2 kB
- WEB-INF/html_basic.tld 244 kB
- WEB-INF/jsf_core.tld 25 kB
- WEB-INF/lib/backport-util-concurrent.jar 343 kB
- WEB-INF/lib/commons-beanutils.jar 100 kB
- WEB-INF/lib/commons-collections.jar 164 kB
- WEB-INF/lib/commons-digester.jar 96 kB
- WEB-INF/lib/commons-fileupload.jar 52 kB
- WEB-INF/lib/commons-logging.jar 27 kB
- WEB-INF/lib/el-api.jar 24 kB
- WEB-INF/lib/el-ri.jar 97 kB
- WEB-INF/lib/icefaces-comps.jar 621 kB
- WEB-INF/lib/icefaces.jar 687 kB
- WEB-INF/lib/jsf-api.jar 324 kB
- WEB-INF/lib/jsf-impl.jar 602 kB
- WEB-INF/lib/jstl.jar 17 kB
-
- Test_MultipleRadioButtons.rar
- 60 kB
- Michael Thiem
-
- screenshot-1.jpg
- 166 kB
-
- screenshot-2.jpg
- 165 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Screenshot showing separate group of radio buttons (Select destination). The implementation is similar to that of MyFaces:
<ice:selectOneRadio id="SlctDest" layout="spread".../>
...
<ice:radio for="SlctDest" index="0"/>
...
<ice:radio for="SlctDest" index="3"/>
Screenshot showing separate group of checkboxes (Select foods). The implementation is similar to that of MyFaces:
<ice:selectManyCheckbox id="SlctFoods" layout="spread".../>
...
<ice:checkbox for="SlctFoods" index="0"/>
...
<ice:checkbox for="SlctFoods" index="3"/>
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>