- Timestamp:
- Jul 26, 2010, 1:33:50 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/InventoryItemDetailedController.groovy
r634 r635 34 34 } 35 35 forward(action: 'search', params: params) 36 } 37 38 /** 39 * Display the import view. 40 */ 41 def importInventoryItemPictures = { 42 } 43 44 /** 45 * Handle the import save. 46 */ 47 def importInventoryItemPicturesSave = { 48 def result = inventoryItemService.importInventoryItemPictures(request) 49 50 if(!result.error) { 51 def logFileLink = g.link(controller: "appCore", action: "appLog") {"log"} 52 flash.message = g.message(code: "inventoryItemPictures.import.success", args: [logFileLink]) 53 redirect(action:search) 54 return 55 } 56 57 flash.errorMessage = g.message(code: result.error.code, args: result.error.args) 58 redirect(action: importInventoryItemPictures) 36 59 } 37 60
Note: See TracChangeset
for help on using the changeset viewer.