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

Last change on this file since 178 was 178, checked in by gav, 14 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
Line 
1
2
3<html>
4    <head>
5        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
6        <meta name="layout" content="main" />
7        <title>TaskRecurringSchedule List</title>
8    </head>
9    <body>
10        <div class="nav">
11            <span class="menuButton"><g:link class="create" action="create">New TaskRecurringSchedule</g:link></span>
12        </div>
13        <div class="body">
14            <h1>TaskRecurringSchedule List</h1>
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                       
25                                <g:sortableColumn property="taskId" title="Recurring Schedule for Task" />
26                       
27                                <g:sortableColumn property="recurEvery" title="Recur Every" />
28                               
29                                <g:sortableColumn property="recurPeriod" title="Recur Period" />
30                               
31                                <g:sortableColumn property="isEnabled" title="Is Enabled" />
32
33                            <th></th>
34                           
35                        </tr>
36                    </thead>
37                    <tbody>
38                    <g:each in="${taskRecurringScheduleInstanceList}" status="i" var="taskRecurringScheduleInstance">
39                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskRecurringScheduleDetailed/show/${taskRecurringScheduleInstance.id}"'/>
40
41                       
42                            <td><g:link action="show" id="${taskRecurringScheduleInstance.id}">${fieldValue(bean:taskRecurringScheduleInstance, field:'id')}</g:link></td>
43                       
44                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'task')}</td>
45                       
46                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'recurEvery')}</td>
47                       
48                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'recurPeriod')}</td>
49                       
50                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'isEnabled')}</td>
51
52                            <td>
53                                <g:link action="show" id="${taskRecurringScheduleInstance.id}">
54                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
55                                </g:link>
56                            </td>
57                       
58                        </tr>
59                    </g:each>
60                    </tbody>
61                </table>
62            </div>
63            <div class="paginateButtons">
64                <g:paginate total="${taskRecurringScheduleInstanceTotal}" />
65            </div>
66        </div>
67    </body>
68</html>
Note: See TracBrowser for help on using the repository browser.