grails-validation

    4熱度

    1回答

    我試圖讓Grails的驗證對象的名單中的內容,如果我告訴代碼首先可能會更容易: class Item { Contact recipient = new Contact() List extraRecipients = [] static hasMany = [ extraRecipients:Contact ] static c

    6熱度

    2回答

    在messages.properties在Grails應用程序文件我看到諸如驗證消息的示例: User.password.size=Size of bar must be between {0} and {1} 它適用於 class User { String password static constraints = { password(size:5..1