简体   繁体   中英

grails g:field error message

How do I customize the error message? It doesn't state in the documentation.

<g:field type="number" name="isbn" min="5" max="10" required="true" />

它不在标签参考中,而是在Grails指南中: http : //grails.org/doc/latest/guide/single.html#validationAndInternationalization

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM