[
https://issues.apache.org/jira/browse/TOMAHAWK-1438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730955#action_12730955
]
Leonardo Uribe commented on TOMAHAWK-1438:
------------------------------------------
I don't think it is broken. Just look the code:
<f:selectItem itemLabel="" itemValue="HOME"/>
If no itemLabel is used, no value will be output on t:radio as label. Try
something like this:
<f:selectItem itemLabel="Some label for HOME value" itemValue="HOME"/>
The issues fixed on 1.1.9 for this component are: TOMAHAWK-1429, TOMAHAWK-1395
and TOMAHAWK-1393 (duplicate of TOMAHAWK-1371) . Maybe take a look a them could
help.
If no objections I'll close this issue as invalid (no errors detected on test
for this component, and the behavior described is expected).
> <t:selectOneRadio> is broken when migrating from 1.1.8 to 1.1.9
> ---------------------------------------------------------------
>
> Key: TOMAHAWK-1438
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-1438
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: selectOneRadio / radio
> Affects Versions: 1.1.9
> Environment: windows xp, jsf 1.2.6, java 6
> Reporter: reverttoconsole
>
> I migrated from 1.1.8 to 1.1.9 to see if my application would be stable. On
> one page, <t:selectOneRadio> buttons was not showing up at all. I researched
> for a bit but couldn't find any solution. I don't think I can afford to test
> every case for a migration so decided to drop the idea (we have our app in
> production already).
> I'm unable to give a test case but I can share the code used on the page:
> <t:selectOneRadio id="defaultPhoneType"
> value="${controller.preferedPhoneType}" layout="spread">
> <f:selectItem itemLabel="" itemValue="HOME"/>
> <f:selectItem itemLabel="" itemValue="WORK"/>
> <f:selectItem itemLabel="" itemValue="CELL"/>
> </t:selectOneRadio>
> <!-- somewhere in the same page -->
> <fieldset>
> <legend><span>xyz</span></legend>
> <ul class="fieldRows phoneSet">
> <li class="noteRow">
> Note: One preferred phone number is
> required
> </li>
> <li class="phoneRow">
> <t:outputLabel
> value="#{dictionary.home} #{dictionary.phone}:" styleClass="phonePrefLabel" />
> <t:radio for="defaultPhoneType"
> index="0" /> <!-- this doesn't show up on 1.1.9 tomahawk but works in 1.1.8)
> .....
> .....
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.