Last change
on this file since 910 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:
1.6 KB
|
Rev | Line | |
---|
[59] | 1 | <head> |
---|
[150] | 2 | <meta name="layout" content="main" /> |
---|
| 3 | <title>Authority List</title> |
---|
[59] | 4 | </head> |
---|
| 5 | |
---|
| 6 | <body> |
---|
| 7 | |
---|
[150] | 8 | <div class="nav"> |
---|
| 9 | <span class="menuButton"><g:link class="create" action="create">New Authority</g:link></span> |
---|
| 10 | </div> |
---|
[59] | 11 | |
---|
[150] | 12 | <div class="body"> |
---|
| 13 | <h1>Authority List</h1> |
---|
| 14 | <g:if test="${flash.message}"> |
---|
| 15 | <div class="message">${flash.message}</div> |
---|
| 16 | </g:if> |
---|
| 17 | <div class="list"> |
---|
| 18 | <table> |
---|
| 19 | <thead> |
---|
| 20 | <tr> |
---|
| 21 | <g:sortableColumn property="id" title="ID" /> |
---|
| 22 | <g:sortableColumn property="authority" title="Authority Name" /> |
---|
| 23 | <g:sortableColumn property="description" title="Description" /> |
---|
| 24 | <th> </th> |
---|
| 25 | </tr> |
---|
| 26 | </thead> |
---|
| 27 | <tbody> |
---|
| 28 | <g:each in="${authorityList}" status="i" var="authority"> |
---|
| 29 | <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> |
---|
| 30 | <td>${authority.id}</td> |
---|
| 31 | <td>${authority.authority?.encodeAsHTML()}</td> |
---|
| 32 | <td>${authority.description?.encodeAsHTML()}</td> |
---|
| 33 | <td class="actionButtons"> |
---|
| 34 | <span class="actionButton"> |
---|
| 35 | <g:link action="show" id="${authority.id}">Show</g:link> |
---|
| 36 | </span> |
---|
| 37 | </td> |
---|
| 38 | </tr> |
---|
| 39 | </g:each> |
---|
| 40 | </tbody> |
---|
| 41 | </table> |
---|
| 42 | </div> |
---|
[59] | 43 | |
---|
[150] | 44 | <div class="paginateButtons"> |
---|
| 45 | <g:paginate total="${Authority.count()}" /> |
---|
| 46 | </div> |
---|
| 47 | </div> |
---|
[59] | 48 | </body> |
---|
Note: See
TracBrowser
for help on using the repository browser.