[
https://issues.jboss.org/browse/RF-13735?page=com.atlassian.jira.plugin.s...
]
Matej Novotny commented on RF-13735:
------------------------------------
[~scheruga] could you please provide a piece of your code with bean annotations you are
using?
From your description I am not able to reproduce this behaviour.
These are the results I am getting using @NotNull and *not using* the workaround:
{code}
@NotNull(message = "Cannot be null")
@Override
public String getValue() {
return value;
}
{code}
* If I set input value to {{" "}} (one empty space), no message is displayed -
correct, the input is not null
* If I set the value to {{""}} (nothing), message is correctly displayed -
correct, the input is null
@NotBlank message overridden by @NotNull message during CSV
-----------------------------------------------------------
Key: RF-13735
URL:
https://issues.jboss.org/browse/RF-13735
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component
Affects Versions: 4.3.7
Environment: Windows 7
Tomcat 8.0.5
Reporter: Horst Scheruga
Assignee: Matej Novotny
Priority: Minor
I use Bean Validation and set the following anotation
@NotNull(message = "my message")
During Client Side Validation this message is only shown if the value is not null and
empty (e.g. " ") if it is null, the default null message comes up instead!
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)