If you fully qualify Enum in a tag, you do not need to place it in RenderArgs.
Your StatusSelect.html tag:
<select name="status">
#{list com.something.StatusEnum.values(), as:'status'}
<option>${status}</option>
#{/list}
</select>
And called from the page:
Then you can add complexity to it by specifying the name attribute and other functions, for example:
<select id="${_id}" name="${_name}" class="${_class}">
<option>${status}</option>
</select>
And the new page tag:
#{StatusSelect id:'status1', name:'status', class:'bold'/}
source
share