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/entry
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/entry/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 Entry</title>         
     7        <title>Create Entry</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">Entry List</g:link></span>
    1312        </div>
     
    5049                                </td>
    5150                                <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'dateDone','errors')}">
    52                                     <g:datePicker name="dateDone" value="${entryInstance?.dateDone}" ></g:datePicker>
     51                                    <g:datePicker name="dateDone" value="${entryInstance?.dateDone}" precision="minute" ></g:datePicker>
    5352                                </td>
    5453                            </tr>
     
    7776                                </td>
    7877                                <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'dateEntered','errors')}">
    79                                     <g:datePicker name="dateEntered" value="${entryInstance?.dateEntered}" ></g:datePicker>
     78                                    <g:datePicker name="dateEntered" value="${entryInstance?.dateEntered}" precision="minute" ></g:datePicker>
    8079                                </td>
    8180                            </tr>
  • trunk/grails-app/views/entry/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">Entry List</g:link></span>
    1312            <span class="menuButton"><g:link class="create" action="create">New Entry</g:link></span>
     
    5352                                </td>
    5453                                <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'dateDone','errors')}">
    55                                     <g:datePicker name="dateDone" value="${entryInstance?.dateDone}" ></g:datePicker>
     54                                    <g:datePicker name="dateDone" value="${entryInstance?.dateDone}" precision="minute" ></g:datePicker>
    5655                                </td>
    5756                            </tr>
     
    8079                                </td>
    8180                                <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'dateEntered','errors')}">
    82                                     <g:datePicker name="dateEntered" value="${entryInstance?.dateEntered}" ></g:datePicker>
     81                                    <g:datePicker name="dateEntered" value="${entryInstance?.dateEntered}" precision="minute" ></g:datePicker>
    8382                                </td>
    8483                            </tr>
  • trunk/grails-app/views/entry/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 Entry</g:link></span>
    1312        </div>
  • trunk/grails-app/views/entry/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">Entry List</g:link></span>
    1312            <span class="menuButton"><g:link class="create" action="create">New Entry</g:link></span>
Note: See TracChangeset for help on using the changeset viewer.