I have 2 select tags as,
<td><g:select name="Year" from="${2004..2014}" optionValue="${Year}" /></td>
<td><g:select name="Month" from="${['January','February','March','April','May','Jun','July','August','September','October','November','December']}" optionValue="${month}" /></td>
Now I want gsp to show me the current year and month in the year and month selection field instead of displaying the first year and month in the list.
how to reach it? .. can someone answer me please.
thanks in advance Lakshmi
laxmi source
share