[
https://issues.apache.org/jira/browse/TOMAHAWK-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Wuest updated TOMAHAWK-1680:
------------------------------------
Status: Patch Available (was: Open)
> 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
> Attachments: ExtendedHtmlRadioRenderer.java
>
>
> 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
> {code}
> <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>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)