In html:
<select>
<option value="1">Yes</option>
<option value="0">No</option>
</select>
In grails, I write:
<g:select name="gender" from="${['0': 'no','1': 'yes']}" value="${studenInstance?.gender}" />
but i dont display ''no', 'yes' in browser web. How do i do?:bored::bored::bored::bored::bored::bored:
<select>
<option value="1">Yes</option>
<option value="0">No</option>
</select>
In grails, I write:
<g:select name="gender" from="${['0': 'no','1': 'yes']}" value="${studenInstance?.gender}" />
but i dont display ''no', 'yes' in browser web. How do i do?:bored::bored::bored::bored::bored::bored: