how to change constraints errors messange in grails

Posted by nightingale2k1 on Stack Overflow See other posts from Stack Overflow or by nightingale2k1
Published on 2010-06-02T14:49:39Z Indexed on 2010/06/02 14:53 UTC
Read the original article Hit count: 199

Filed under:
|
|

Hi,

I have domain with constraints like min value must greater than 0

I have no idea how to change the message if the constraints are not passed.

which file i need to edit to do that ?

I also need to display the value as well .. like

"you cannot make any transaction because your balance is less than 100. Your current balance is xxxx "

© Stack Overflow or respective owner

Related posts about java

Related posts about spring