[
https://issues.jboss.org/browse/RF-12594?page=com.atlassian.jira.plugin.s...
]
Brian Leathem updated RF-12594:
-------------------------------
Steps to Reproduce:
{code}
<h:form id="searchParticipant">
<rich:calendar enableManualInput="true" value="#{bean.value}"
id="dob" locale="US"
popup="true" datePattern="MMddyyyy"
showApplyButton="false"
converterMessage="Use MMDDYYYY format" />
<a4j:commandButton type="submit" value="Search"
id="searchButton" execute="@form"
render=":searchResutPanel"
action="#{participantSummaryManagedBean.search}" />
</h:form>
{code}
After submitting the form without inputting any data the converterMessage message is
displayed. Expected result is that "null" is submitted for the calendar value.
was:
<h:form id="searchParticipant">
<rich:calendar enableManualInput="true" value="#{bean.value}"
id="dob" locale="US" popup="true"
datePattern="MMddyyyy" showApplyButton="false"
converterMessage="Use MMDDYYYY format" />
<a4j:commandButton type="submit" value="Search"
id="searchButton" execute="@form"
render=":searchResutPanel"
action="#{participantSummaryManagedBean.search}" />
</h:form>
After submitting the form without inputting any data the converterMessage message is
displayed. Expected result is that "null" is submitted for the calendar value.
rich:calendar defaultText causes conversion error if not populated.
-------------------------------------------------------------------
Key: RF-12594
URL:
https://issues.jboss.org/browse/RF-12594
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-input
Affects Versions: 4.2.2.Final, 4.2.3.Final, 4.3.0.M2
Reporter: Justin Rosenberg
If the defaultText attribute is set for a rich:calendar object and no value is entered, a
conversion error occurs. It seems like the submission is trying to parse the defaultText
value into a date.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira