Ignore:
Timestamp:
Nov 2, 2009, 3:25:26 PM (15 years ago)
Author:
gav
Message:

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.

Location:
trunk/grails-app/views/task
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/task/create.gsp

    r151 r178  
    55        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    66        <meta name="layout" content="main" />
    7         <title>Create Task</title>         
     7        <title>Create Task</title>
    88    </head>
    99    <body>
    1010        <div class="nav">
    11             <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span>
    1211            <span class="menuButton"><g:link class="list" action="list">Task List</g:link></span>
    1312        </div>
     
    5049                                </td>
    5150                                <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'targetStartDate','errors')}">
    52                                     <g:datePicker name="targetStartDate" value="${taskInstance?.targetStartDate}" ></g:datePicker>
     51                                    <g:datePicker name="targetStartDate" value="${taskInstance?.targetStartDate}" precision="minute" ></g:datePicker>
    5352                                </td>
    5453                            </tr>
     
    5958                                </td>
    6059                                <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'targetCompletionDate','errors')}">
    61                                     <g:datePicker name="targetCompletionDate" value="${taskInstance?.targetCompletionDate}" ></g:datePicker>
     60                                    <g:datePicker name="targetCompletionDate" value="${taskInstance?.targetCompletionDate}" precision="minute" ></g:datePicker>
    6261                                </td>
    6362                            </tr>
  • trunk/grails-app/views/task/edit.gsp

    r151 r178  
    99    <body>
    1010        <div class="nav">
    11             <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span>
    1211            <span class="menuButton"><g:link class="list" action="list">Task List</g:link></span>
    1312            <span class="menuButton"><g:link class="create" action="create">New Task</g:link></span>
     
    5352                                </td>
    5453                                <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'targetStartDate','errors')}">
    55                                     <g:datePicker name="targetStartDate" value="${taskInstance?.targetStartDate}" ></g:datePicker>
     54                                    <g:datePicker name="targetStartDate" value="${taskInstance?.targetStartDate}" precision="minute" ></g:datePicker>
    5655                                </td>
    5756                            </tr>
     
    6261                                </td>
    6362                                <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'targetCompletionDate','errors')}">
    64                                     <g:datePicker name="targetCompletionDate" value="${taskInstance?.targetCompletionDate}" ></g:datePicker>
     63                                    <g:datePicker name="targetCompletionDate" value="${taskInstance?.targetCompletionDate}" precision="minute" ></g:datePicker>
    6564                                </td>
    6665                            </tr>
  • trunk/grails-app/views/task/list.gsp

    r151 r178  
    99    <body>
    1010        <div class="nav">
    11             <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span>
    1211            <span class="menuButton"><g:link class="create" action="create">New Task</g:link></span>
    1312        </div>
  • trunk/grails-app/views/task/show.gsp

    r151 r178  
    99    <body>
    1010        <div class="nav">
    11             <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span>
    1211            <span class="menuButton"><g:link class="list" action="list">Task List</g:link></span>
    1312            <span class="menuButton"><g:link class="create" action="create">New Task</g:link></span>
Note: See TracChangeset for help on using the changeset viewer.