I have a question regarding something isnt working for me:
I have a custom annotation
validation works as expected
Code:
...
@MaxDouble(value=100.0)
private Double someAttributeName;
...
I have a message:
Code:
messages.properties
...
mykey1=... {value} ...
...
this works but prints 100.0 in the message
i want it formatted as currency
Code:
messages.properties
...
mykey1=... {value,number,currency} ...
...
this doesnt work it prints this in the message
... {value,number,currency} ...
hibernate.validator.version = 4.1.0.Final
com.sun.faces.jsf.version = 2.0.2
org.richfaces.version = 3.3.3.Final
jdk6 -> MessageFormat
according to jdk6 Messageformat it should work.
plz help
howto format it
my fallback idea is to:
in the validator override the message handling and