Use domain class properties in scaffolded templates