source: trunk/grails-app/views/taskRecurringScheduleDetailed/list.gsp @ 178

Last change on this file since 178 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: 3.0 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                       
[135]25                                <g:sortableColumn property="taskId" title="Recurring Schedule for Task" />
[134]26                       
[135]27                                <g:sortableColumn property="recurEvery" title="Recur Every" />
28                               
[137]29                                <g:sortableColumn property="recurPeriod" title="Recur Period" />
[135]30                               
[134]31                                <g:sortableColumn property="isEnabled" title="Is Enabled" />
[135]32
33                            <th></th>
[122]34                           
35                        </tr>
36                    </thead>
37                    <tbody>
[131]38                    <g:each in="${taskRecurringScheduleInstanceList}" status="i" var="taskRecurringScheduleInstance">
[135]39                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskRecurringScheduleDetailed/show/${taskRecurringScheduleInstance.id}"'/>
40
[122]41                       
[131]42                            <td><g:link action="show" id="${taskRecurringScheduleInstance.id}">${fieldValue(bean:taskRecurringScheduleInstance, field:'id')}</g:link></td>
[122]43                       
[135]44                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'task')}</td>
[122]45                       
[135]46                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'recurEvery')}</td>
[122]47                       
[137]48                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'recurPeriod')}</td>
[135]49                       
[134]50                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'isEnabled')}</td>
[135]51
52                            <td>
53                                <g:link action="show" id="${taskRecurringScheduleInstance.id}">
[151]54                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
[135]55                                </g:link>
56                            </td>
[122]57                       
58                        </tr>
59                    </g:each>
60                    </tbody>
61                </table>
62            </div>
63            <div class="paginateButtons">
[131]64                <g:paginate total="${taskRecurringScheduleInstanceTotal}" />
[122]65            </div>
66        </div>
67    </body>
68</html>
Note: See TracBrowser for help on using the repository browser.