return color;
this.color = color;
ActionErrors errors = new ActionErrors(); if ( VALID_COLORS.indexOf(color) == -1 ) { errors.add("color", new ActionError("error.colorField.notValid")); } return errors;