Changeset 369
- Timestamp:
- Feb 17, 2010, 10:36:16 PM (15 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/AssetSubItemDetailedController.groovy
r359 r369 98 98 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_AssetManager', 'ROLE_AssetUser']) 99 99 def show = { 100 101 // In the case of an actionSubmit button, rewrite action name from 'index'. 102 if(params._action_Show) 103 { params.action='show' } 104 100 105 def assetSubItemInstance = AssetSubItem.get( params.id ) 101 106 … … 127 132 128 133 def edit = { 134 135 // In the case of an actionSubmit button, rewrite action name from 'index'. 136 if(params._action_Edit) 137 { params.action='edit' } 138 129 139 def assetSubItemInstance = AssetSubItem.get( params.id ) 130 140 -
trunk/grails-app/views/assetSubItemDetailed/create.gsp
r336 r369 6 6 <meta name="layout" content="main" /> 7 7 <title>Create AssetSubItem</title> 8 <nav:resources override="true"/> 8 9 </head> 9 10 <body> 10 11 <div class="nav"> 11 < span class="menuButton"><g:link class="list" action="search">Sub Item Search</g:link></span>12 <nav:renderSubItems group="navAlt"/> 12 13 </div> 13 14 <div class="body"> 14 <h1>Create Sub Item</h1>15 15 <g:render template="/shared/messages" /> 16 16 <g:hasErrors bean="${assetSubItemInstance}"> -
trunk/grails-app/views/assetSubItemDetailed/edit.gsp
r354 r369 6 6 <meta name="layout" content="main" /> 7 7 <title>Edit AssetSubItem</title> 8 <nav:resources override="true"/> 8 9 </head> 9 10 <body> 10 11 <div class="nav"> 11 < span class="menuButton"><g:link class="list" action="search">Sub Item Search</g:link></span>12 <nav:renderSubItems group="navAlt"/> 12 13 </div> 13 14 <div class="body"> 14 <h1>Edit Sub Item</h1>15 15 <g:render template="/shared/messages" /> 16 16 <g:hasErrors bean="${assetSubItemInstance}"> -
trunk/grails-app/views/assetSubItemDetailed/search.gsp
r356 r369 12 12 <body> 13 13 <div class="nav"> 14 < span class="menuButton"><g:link class="create" action="create">New Sub Item</g:link></span>14 <nav:renderSubItems group="navAlt"/> 15 15 </div> 16 16 <div class="body"> 17 <h1>Sub Item Search</h1>18 17 <g:render template="/shared/messages" /> 19 18 -
trunk/grails-app/views/assetSubItemDetailed/show.gsp
r336 r369 6 6 <meta name="layout" content="main" /> 7 7 <title>Show AssetSubItem</title> 8 <nav:resources override="true"/> 8 9 </head> 9 10 <body> 10 11 <div class="nav"> 11 <span class="menuButton"><g:link class="list" action="search">Sub Item Search</g:link></span> 12 <span class="menuButton"><g:link class="create" action="create">New Sub Item</g:link></span> 12 <nav:renderSubItems group="navAlt"/> 13 13 </div> 14 14 <div class="body"> 15 <h1>Show Sub Item</h1>16 15 <g:render template="/shared/messages" /> 17 16 <div class="dialog">
Note: See TracChangeset
for help on using the changeset viewer.