add require attribute <g:id>