[
https://issues.jboss.org/browse/RF-11833?page=com.atlassian.jira.plugin.s...
]
Brian Leathem updated RF-11833:
-------------------------------
Fix Version/s: (was: 4.2.1.CR1)
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
Assignee: Lukáš Fryč
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