Tag - else
Description
The logical else tag. You cannot have text between the closing </g:if> and the opening <g:else>Parameters
NoneExamples
<g:if test="${name == 'fred'}"> Hello Fred! </g:if> <g:else> Hello ${name}! Do I know you? </g:else>
This will NOT work:
<g:if test="${name == 'fred'}"> Hello Fred! </g:if> Some other stuff <g:else> Hello ${name}! Do I know you? </g:else>



