Hello, One can specify the order of view elements in GSP file by specifying it in the validation block of the corresponding domain class. If the lass is inherited, the parameter of parent class is always displayed first. For eg
class A {
string a
String b
static constraints = {
b()
a()
}
}
class B extends A{
String c
String d
static constraints = {
d()
c()
b() //parameter from the parent
a() //parameter from the parent
}
}
the order is b,a,d,c. How can I make it d,c,b,a not tampering with gsp.
thanks..