You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Andreas Wuest (JIRA)" <de...@myfaces.apache.org> on 2016/02/04 11:12:39 UTC
[jira] [Created] (TOMAHAWK-1680) add the possibility to disable an
individual t:radio
Andreas Wuest created TOMAHAWK-1680:
---------------------------------------
Summary: add the possibility to disable an individual t:radio
Key: TOMAHAWK-1680
URL: https://issues.apache.org/jira/browse/TOMAHAWK-1680
Project: MyFaces Tomahawk
Issue Type: Wish
Components: selectOneRadio / radio
Affects Versions: 1.1.14
Environment: Win 7 / Linux
Reporter: Andreas Wuest
Hello,
please add the possibility to disable an individual t:radio Radio Button. At the moment it is only possible to enable/disable a complete group defined via t:selectOneRadio. However it is not possible to enabled / disable an individual radio button from the group. It is only possible to enable / disable all or none.
Example:
define the group with all the possible elements
<t:selectOneRadio id="radioGrpFSGuarantor" layout="spread" value="#{clientRolesDlg.roleFSGuarantor}">
<f:selectItems value="#{clientRolesDlg.selectRolesList}" />
<f:ajax execute="@form" listener="#clientRolesDlg.onRoleChanged" />
</t:selectOneRadio>
<ui:repeat id="rClientRowStatus" value="#{clientRolesDlg.rows}" var="clientRow" varStatus="clientRowStatus">
<tr>
<td>
<t:outputText id="otHasData" value="#{clientRow}" />
</td>
<td >
<t:radio for=":globalForm:radioGrpFSCustomer" index="#{clientRowStatus.index}" disabled="true|false" /> <-------------- additional disable attribute
</td>
</tr>
</ui:repeat>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)