[ 
http://www.stripesframework.org/jira/browse/STS-332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Frederic Daoud closed STS-332.
------------------------------

    Resolution: Not a Bug

Supply the id to tie to your label.

> <stripes:label tag doesn't correspond the label to the data control like it 
> should
> ----------------------------------------------------------------------------------
>
>                 Key: STS-332
>                 URL: http://www.stripesframework.org/jira/browse/STS-332
>             Project: Stripes
>          Issue Type: Bug
>          Components: Tag Library
>    Affects Versions: Release 1.4.2
>            Reporter: Will Gayther
>            Priority: Minor
>
> Here's the html label tag:
> <input type="radio" name="choiceID" id="answer1" value="2" />
> <label for="answer1"> Spiderman</label>
> One of the neat things about using the label tag is that when you click on 
> the label associated with the radio button, the radio button gets clicked. 
> Notice that the label/for matches up with the radio/id.
> Here's the stripes label tag:
> <stripes:radio name="testA" value="0" />
> <stripes:label for="testA">Test A: </stripes:label>
> Here's the html generated by the stripes label tag:
> <input value="0" type="radio" name="testA" />
> <label class="null" for="testA">Test A: </label>
> Notice that the label/for does NOT match up with the radio/id.
> In the example, the label/for value SHOULD match up with the radio/id value. 
> Because it does not (it doesn't even have an id in this particular example), 
> clicking on the label does not select the radio button like it should.
> P.S. And <label class="null" seems like a bug, to.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to