command object validation on gsp and controller