[richfaces-issues] [JBoss JIRA] (RF-11833) Label for calendar results in non-valid markup

Brian Leathem (JIRA) jira-events at lists.jboss.org
Wed Feb 29 14:48:37 EST 2012


     [ https://issues.jboss.org/browse/RF-11833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem updated RF-11833:
-------------------------------

    Fix Version/s: 4.2.1.Final
                       (was: 4.2-Tracking)
         Priority: Trivial  (was: Major)

    
> Label for calendar results in non-valid markup
> ----------------------------------------------
>
>                 Key: RF-11833
>                 URL: https://issues.jboss.org/browse/RF-11833
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.1.0.Final
>            Reporter: Pavol Pitonak
>            Priority: Trivial
>             Fix For: 4.2.1.Final
>
>
> The code in first code snippet results in markup below which is not valid. The for attribute of the label element must refer to a form control, e.g. the actual input inside calendar (that with ID dateForm:fromDateInputDate).
> {code:xml}
> <h:outputLabel value="From date" for="fromDate" />
> <rich:calendar id="fromDate" .../>
> {code}
> {code:xml}
> <label for="dateForm:fromDate">From date</label>
> <span class="calendar" id="dateForm:fromDate">
>   <span id="dateForm:fromDatePopup" style="white-space: nowrap;">
>     <input class="rf-cal-inp " id="dateForm:fromDateInputDate" name="dateForm:fromDateInputDate" readonly="readonly" style="vertical-align: middle; " type="text" value="Nov 19, 2011" />
>   ...
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list