source: trunk/grails-app/views/taskRecurringSchedule/list.gsp @ 193

Last change on this file since 193 was 178, checked in by gav, 15 years ago

Resolve ticket #12 again.
Turn query cache on again since this did not resolve the problem.
Implement fix as per http://jira.codehaus.org/browse/GRAILS-5111, add flush:true to save.
Adjust templates to include above and remove home url.
Re-generate all non detailed views and controllers.
Manually add flush:true and remove home url to detailed views and controllers.

File size: 2.8 KB
RevLine 
[122]1
2
3<html>
4    <head>
5        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
6        <meta name="layout" content="main" />
[131]7        <title>TaskRecurringSchedule List</title>
[122]8    </head>
9    <body>
10        <div class="nav">
[131]11            <span class="menuButton"><g:link class="create" action="create">New TaskRecurringSchedule</g:link></span>
[122]12        </div>
13        <div class="body">
[131]14            <h1>TaskRecurringSchedule List</h1>
[122]15            <g:if test="${flash.message}">
16            <div class="message">${flash.message}</div>
17            </g:if>
18            <div class="list">
19                <table>
20                    <thead>
21                        <tr>
22                       
23                                <g:sortableColumn property="id" title="Id" />
24                       
[157]25                                <g:sortableColumn property="recurEvery" title="Recur Every" />
26                       
27                                <g:sortableColumn property="taskDuration" title="Task Duration" />
28                       
29                                <g:sortableColumn property="generateAhead" title="Generate Ahead" />
30                       
[131]31                                <g:sortableColumn property="lastGeneratedDate" title="Last Generated Date" />
32                       
33                                <th>Last Generated Sub Task</th>
[122]34                           
35                        </tr>
36                    </thead>
37                    <tbody>
[131]38                    <g:each in="${taskRecurringScheduleInstanceList}" status="i" var="taskRecurringScheduleInstance">
[122]39                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
40                       
[131]41                            <td><g:link action="show" id="${taskRecurringScheduleInstance.id}">${fieldValue(bean:taskRecurringScheduleInstance, field:'id')}</g:link></td>
[122]42                       
[157]43                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'recurEvery')}</td>
[122]44                       
[157]45                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'taskDuration')}</td>
[123]46                       
[137]47                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'generateAhead')}</td>
[123]48                       
[157]49                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'lastGeneratedDate')}</td>
[122]50                       
[157]51                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'lastGeneratedSubTask')}</td>
[122]52                       
53                        </tr>
54                    </g:each>
55                    </tbody>
56                </table>
57            </div>
58            <div class="paginateButtons">
[131]59                <g:paginate total="${taskRecurringScheduleInstanceTotal}" />
[122]60            </div>
61        </div>
62    </body>
63</html>
Note: See TracBrowser for help on using the repository browser.