- Timestamp:
- Jan 21, 2010, 7:06:51 AM (15 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/AssetDetailedController.groovy
r278 r281 25 25 flash.message = g.message(code: "asset.tree.import.success") 26 26 else 27 flash. warning= g.message(code: result.error.code, args: result.error.args)27 flash.errorMessage = g.message(code: result.error.code, args: result.error.args) 28 28 29 29 redirect(action: importAssetTree) … … 282 282 283 283 if(result.error.code != "default.create.failure") { 284 flash. warning= g.message(code: result.error.code, args: ["Asset"])284 flash.errorMessage = g.message(code: result.error.code, args: ["Asset"]) 285 285 } 286 286 -
trunk/grails-app/views/shared/_messages.gsp
r277 r281 2 2 <div class="message">${flash.message}</div> 3 3 </g:if> 4 <g:if test="${flash. warning}">5 <div class="message_error">${flash. warning}</div>4 <g:if test="${flash.errorMessage}"> 5 <div class="message_error">${flash.errorMessage}</div> 6 6 </g:if>
Note: See TracChangeset
for help on using the changeset viewer.