source: trunk/grails-app/views/shared/_messages.gsp @ 807

Last change on this file since 807 was 477, checked in by gav, 15 years ago

Move params.message and params.errorMessage to shared messages template.

File size: 396 bytes
RevLine 
[182]1<g:if test="${flash.message}">
2    <div class="message">${flash.message}</div>
3</g:if>
[281]4<g:if test="${flash.errorMessage}">
5    <div class="message_error">${flash.errorMessage}</div>
[182]6</g:if>
[477]7<g:if test="${params.message}">
8    <div class="message">${params.message}</div>
9</g:if>
10<g:if test="${params.errorMessage}">
11    <div class="message_error">${params.errorMessage}</div>
12</g:if>
Note: See TracBrowser for help on using the repository browser.