You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Carsten E. (JIRA)" <de...@myfaces.apache.org> on 2006/08/07 15:48:14 UTC

[jira] Commented: (MYFACES-1337) id of selectItem not rendered when used inside selectOneRadio

    [ http://issues.apache.org/jira/browse/MYFACES-1337?page=comments#action_12426215 ] 
            
Carsten E. commented on MYFACES-1337:
-------------------------------------

The tag library documents the Attribute "id" for f:selectItem. It would be usefull to render the attribute value as the id of the html input type "radio". 

> id of selectItem not rendered when used inside selectOneRadio
> -------------------------------------------------------------
>
>                 Key: MYFACES-1337
>                 URL: http://issues.apache.org/jira/browse/MYFACES-1337
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>            Reporter: Roman Kalukiewicz
>            Priority: Minor
>
> In jsp page I have
> <h:selectOneRadio>
> <f:selectItem itemLabel="Y" itemValue="Y"/>
> <f:selectItem itemLabel="M" itemValue="M"/>
> <f:selectItem itemLabel="D" itemValue="D"/>
> <f:selectItem itemLabel="F" itemValue="F" id="optionId"/>
> </h:selectOneRadio>
> It is rendered as set of <input type="radio" /> but there is no id attribute.
> It can be usefull when you want to check state of this radio via java-script.
> MyFaces should render those id attributes in such radio and checkBox elements.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira