Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8RC1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:icefaces rev18425
Description
Following scenario :
<ice:selectOneRadio id="woi13" layout="spread" partialSubmit="false"
value="#{...}" disabled="#{...}" disabledClass="rbHideText" enabledClass="rbHideText">
<f:selectItems value="#{list.value}" />
</ice:selectOneRadio>
<ice:dataTable value="#{lista.value}" ...
<ice:column>
<ice:radio for="woi13" index="#{element.value}" />
</ice:column>
<ice:dataTable>
Classes styleClass, disabledClass, enabledClass are not added to output.
BTW
If style patch is imposiible then new feature will be usable.
Spread radio's are generated with label's. In table those labels are not necessary because users got columns.
Ice:radio with new attribute for disabling labels can help users.
<ice:selectOneRadio id="woi13" layout="spread" partialSubmit="false"
value="#{...}" disabled="#{...}" disabledClass="rbHideText" enabledClass="rbHideText">
<f:selectItems value="#{list.value}" />
</ice:selectOneRadio>
<ice:dataTable value="#{lista.value}" ...
<ice:column>
<ice:radio for="woi13" index="#{element.value}" />
</ice:column>
<ice:dataTable>
Classes styleClass, disabledClass, enabledClass are not added to output.
BTW
If style patch is imposiible then new feature will be usable.
Spread radio's are generated with label's. In table those labels are not necessary because users got columns.
Ice:radio with new attribute for disabling labels can help users.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Another bug of ice:radio.
In above sequence of ice:selectOneRadio / f:selectItems / ice:radio spread radios are generated correctly only for regular list of values stared with 0 like 0,1,2,3....
Other sequances are rendered incorrectly, like 1,2,3,4 - some labels and values are multiplicated.
Show
Krashan Brahmanjara
added a comment - Another bug of ice:radio.
In above sequence of ice:selectOneRadio / f:selectItems / ice:radio spread radios are generated correctly only for regular list of values stared with 0 like 0,1,2,3....
Other sequances are rendered incorrectly, like 1,2,3,4 - some labels and values are multiplicated.
Value is a key, not an index. It could be a string, not a number. It is matched to the select item with the same value, not the same index. The index is used solely for layout purposes.
For applying the style to input, see
ICE-4187.