Grails Problem with custom error messages

后端 未结 5 843
庸人自扰
庸人自扰 2021-02-05 16:30

I am currently trying to specify custom error messages in grails for the default constraints but so far all I get back is the default error message.

I know that I have t

5条回答
  •  北荒
    北荒 (楼主)
    2021-02-05 17:07

    I use fully qualified class names in my messages.properties

    com.shareyourlove.User.password.blank=Some custom message
    

提交回复
热议问题