Index: /trunk/grails-app/views/inventoryItemPurchaseDetailed/search.gsp
===================================================================
--- /trunk/grails-app/views/inventoryItemPurchaseDetailed/search.gsp	(revision 476)
+++ /trunk/grails-app/views/inventoryItemPurchaseDetailed/search.gsp	(revision 477)
@@ -15,7 +15,4 @@
         <div class="body">
             <g:render template="/shared/messages" />
-            <g:if test="${params.message}">
-                <div class="message">${params.message}</div>
-            </g:if>
             <filterpane:currentCriteria domainBean="InventoryItemPurchase"
                                     action="search"
Index: /trunk/grails-app/views/person/create.gsp
===================================================================
--- /trunk/grails-app/views/person/create.gsp	(revision 476)
+++ /trunk/grails-app/views/person/create.gsp	(revision 477)
@@ -12,10 +12,5 @@
 
     <div class="body">
-        <g:if test="${flash.message}">
-        <div class="message">${flash.message}</div>
-        </g:if>
-        <g:if test="${params.message}">
-            <div class="message">${params.message}</div>
-        </g:if>
+        <g:render template="/shared/messages" />
         <g:hasErrors bean="${person}">
         <div class="errors">
Index: /trunk/grails-app/views/person/edit.gsp
===================================================================
--- /trunk/grails-app/views/person/edit.gsp	(revision 476)
+++ /trunk/grails-app/views/person/edit.gsp	(revision 477)
@@ -12,10 +12,5 @@
 
     <div class="body">
-        <g:if test="${flash.message}">
-        <div class="message">${flash.message}</div>
-        </g:if>
-        <g:if test="${params.message}">
-            <div class="message">${params.message}</div>
-        </g:if>
+        <g:render template="/shared/messages" />
         <g:hasErrors bean="${person}">
         <div class="errors">
Index: /trunk/grails-app/views/shared/_messages.gsp
===================================================================
--- /trunk/grails-app/views/shared/_messages.gsp	(revision 476)
+++ /trunk/grails-app/views/shared/_messages.gsp	(revision 477)
@@ -5,2 +5,8 @@
     <div class="message_error">${flash.errorMessage}</div>
 </g:if>
+<g:if test="${params.message}">
+    <div class="message">${params.message}</div>
+</g:if>
+<g:if test="${params.errorMessage}">
+    <div class="message_error">${params.errorMessage}</div>
+</g:if>
