You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Michael Heinen (JIRA)" <de...@myfaces.apache.org> on 2008/10/31 14:29:45 UTC

[jira] Reopened: (TOMAHAWK-1301) render ids of radio buttons

     [ https://issues.apache.org/jira/browse/TOMAHAWK-1301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Heinen reopened TOMAHAWK-1301:
--------------------------------------


This is not working in 1.1.7

Sample:
<h:form id="ccwForm_p1">
<t:selectOneRadio id="aname"
  value="#{MyController.bla}"
  layout="pageDirection">
  <f:selectItems value="#{MyController.items}"/>

Rendered 
name="ccwInc:ccwForm_p1:aname"

An id attribute, as described in previous comment,  is not rendered at all

> render ids of radio buttons
> ---------------------------
>
>                 Key: TOMAHAWK-1301
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1301
>             Project: MyFaces Tomahawk
>          Issue Type: Improvement
>          Components: selectOneRadio / radio
>            Reporter: Michael Heinen
>            Assignee: Leonardo Uribe
>             Fix For: 1.1.7
>
>         Attachments: 1301.zip
>
>
> I miss the id attribute in radio buttons (input tags) rendered via t:selectOneRadio.
> This is required in order for easier javascript access and for better accessibility during Selenium testing.
> Therefore I request an additional boolean attribute renderChildIds.
> The index of the radio buttons should be rendered in brackets, e.g. myform:mybutton[0] - myform:mybutton[n]
> I'll try to provide a patch

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Reopened: (TOMAHAWK-1301) render ids of radio buttons

Posted by Mary Gowl <mg...@gmail.com>.
Hi,

I am very new to JSF and Tomahawk. But I am using Tomahawk radio button. can
you give some example how to get the values in backing beans and how to
control radio button in server side.

Thanks,
Mary

My Faces - Dev mailing list wrote:
> 
> 
>      [
> https://issues.apache.org/jira/browse/TOMAHAWK-1301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
> ]
> 
> Michael Heinen reopened TOMAHAWK-1301:
> --------------------------------------
> 
> 
> This is not working in 1.1.7
> 
> Sample:
> <h:form id="ccwForm_p1">
> <t:selectOneRadio id="aname"
>   value="#{MyController.bla}"
>   layout="pageDirection">
>   <f:selectItems value="#{MyController.items}"/>
> 
> Rendered 
> name="ccwInc:ccwForm_p1:aname"
> 
> An id attribute, as described in previous comment,  is not rendered at all
> 
>> render ids of radio buttons
>> ---------------------------
>>
>>                 Key: TOMAHAWK-1301
>>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1301
>>             Project: MyFaces Tomahawk
>>          Issue Type: Improvement
>>          Components: selectOneRadio / radio
>>            Reporter: Michael Heinen
>>            Assignee: Leonardo Uribe
>>             Fix For: 1.1.7
>>
>>         Attachments: 1301.zip
>>
>>
>> I miss the id attribute in radio buttons (input tags) rendered via
>> t:selectOneRadio.
>> This is required in order for easier javascript access and for better
>> accessibility during Selenium testing.
>> Therefore I request an additional boolean attribute renderChildIds.
>> The index of the radio buttons should be rendered in brackets, e.g.
>> myform:mybutton[0] - myform:mybutton[n]
>> I'll try to provide a patch
> 
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/-jira--Created%3A-%28TOMAHAWK-1301%29-render-ids-of-radio-buttons-tp18528082p24076068.html
Sent from the My Faces - Dev mailing list archive at Nabble.com.