Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何自定义错误消息?它没有在文档中说明。
<g:field type="number" name="isbn" min="5" max="10" required="true" />
它不在标签参考中,而是在 Grails 指南中:http: //grails.org/doc/latest/guide/single.html#validationAndInternationalization