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/09 16:34:18 UTC
[jira] [Updated] (TOMAHAWK-1680) add the possibility to disable an
individual t:radio
[ 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)