[
https://issues.jboss.org/browse/RF-12511?page=com.atlassian.jira.plugin.s...
]
Jan Papousek updated RF-12511:
------------------------------
Steps to Reproduce:
# deploy metamer and open
http://localhost:8080/metamer/faces/components/richValidator/customMessag...
# click on the "set wrong values (1)"
# submit the form
-- correct messages are displayed
# click on the "set wrong values (2)"
# submit the form
-- wrong messages (long and double) are displayed
Forum Reference:
https://community.jboss.org/message/641771 (was:
https://community.jboss.org/message/641771)
using f:validateDoubleRange but default message not the
validatorMessage is displayed
-------------------------------------------------------------------------------------
Key: RF-12511
URL:
https://issues.jboss.org/browse/RF-12511
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.2.0.Final
Reporter: Radim Hanus
Assignee: Jan Papousek
The validatorMessage is displayed when the input is left empty but when I insert wrong
value for instance "XX" the the default validator message is displayed not the
validatorMessage. The same behaviour if fallbacking to server side validation.
facelet snippet:
{code}
<h:panelGrid columns="3">
<h:outputText value="#{labels.decimal}:"/>
<h:inputText id="decimal"
validatorMessage="#{msgs.NaDecimal}" value="#{myBean.decimal}">
<f:validateDoubleRange/>
<f:validateRequired/>
<rich:validator event="blur"/>
</h:inputText>
<rich:message for="decimal"/>
...
{code}
--
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