Last updated by
2 years ago
Page: 1.3.6 Release Notes, Version:2
Grails 1.3.6 Release Notes
Grails is a dynamic web application framework built on Java and Groovy, leveraging best of breed APIs from the Java EE sphere including Spring, Hibernate and SiteMesh. Grails brings to Java and Groovy developers the joys of convention-based rapid development while allowing them to leverage their existing knowledge and capitalize on the proven and performant APIs Java developers have been using for years.Grails 1.3.6 has not been released. This page is a placeholder.
New Features & Improvements
Attributes On link Namespace Tags
Tags in the link namespace now support an attrs attribute.<link:accountDetails attrs="[class: 'fancy']" acctNumber="8675309">Show Account</link:accountDetails>
<a href="/details/8675309" class="fancy">Show Account</a>
GORM Now Supports beforeValidate
class Person {
String name
static constraints = {
name size: 5..45
} def beforeValidate() {
name = name?.trim()
}
}class Person {
String name
String town
Integer age
static constraints = {
name size: 5..45
age range: 4..99
} def beforeValidate(List propertiesBeingValidated) {
// do pre validation work based on propertiesBeingValidated
}
}