Changeset 862 for trunk/grails-app/controllers
- Timestamp:
- Mar 13, 2011, 7:06:34 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/EntryDetailedController.groovy
r859 r862 153 153 154 154 def model = ['entryList': entryList] 155 def taskModel = ['taskInstance': entryList[0].task] 155 156 156 157 render(contentType:"text/json") { 157 158 updates = array { 158 159 element([ mode: 'replace', target:"$params.target", content: g.render(template: 'list', model:model) ]) 160 element([ mode: 'replace', 161 target:".tabHeader", 162 content: g.render(template: '/taskDetailed/showTabHeader', model:taskModel) ]) 163 element([ mode: 'replace', 164 target:"#taskControlButtons", 165 content: g.render(template: '/taskDetailed/showTaskControlButtons', model:taskModel) ]) 159 166 } 160 167 }
Note: See TracChangeset
for help on using the changeset viewer.