Changeset 159 for trunk


Ignore:
Timestamp:
Oct 21, 2009, 8:14:21 PM (15 years ago)
Author:
gav
Message:

Regen non-detailed TaskRecurringSchedule? views with new templates.

Location:
trunk/grails-app
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/TaskRecurringScheduleController.groovy

    r131 r159  
    2727        if(taskRecurringScheduleInstance) {
    2828            try {
    29                 taskRecurringScheduleInstance.delete()
     29                taskRecurringScheduleInstance.delete(flush:true)
    3030                flash.message = "TaskRecurringSchedule ${params.id} deleted"
    3131                redirect(action:list)
     
    7777        else {
    7878            flash.message = "TaskRecurringSchedule not found with id ${params.id}"
    79             redirect(action:edit,id:params.id)
     79            redirect(action:list)
    8080        }
    8181    }
  • trunk/grails-app/views/taskRecurringSchedule/create.gsp

    r157 r159  
    99    <body>
    1010        <div class="nav">
    11             <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
     11            <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span>
    1212            <span class="menuButton"><g:link class="list" action="list">TaskRecurringSchedule List</g:link></span>
    1313        </div>
     
    5959                                </td>
    6060                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'lastGeneratedDate','errors')}">
    61                                     <g:datePicker name="lastGeneratedDate" value="${taskRecurringScheduleInstance?.lastGeneratedDate}" noSelection="['':'']"></g:datePicker>
     61                                    <g:datePicker name="lastGeneratedDate" value="${taskRecurringScheduleInstance?.lastGeneratedDate}" precision="minute" noSelection="['':'']"></g:datePicker>
    6262                                </td>
    6363                            </tr>
     
    9595                                </td>
    9696                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextGenerationDate','errors')}">
    97                                     <g:datePicker name="nextGenerationDate" value="${taskRecurringScheduleInstance?.nextGenerationDate}" ></g:datePicker>
     97                                    <g:datePicker name="nextGenerationDate" value="${taskRecurringScheduleInstance?.nextGenerationDate}" precision="minute" ></g:datePicker>
    9898                                </td>
    9999                            </tr>
     
    104104                                </td>
    105105                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextTargetCompletionDate','errors')}">
    106                                     <g:datePicker name="nextTargetCompletionDate" value="${taskRecurringScheduleInstance?.nextTargetCompletionDate}" ></g:datePicker>
     106                                    <g:datePicker name="nextTargetCompletionDate" value="${taskRecurringScheduleInstance?.nextTargetCompletionDate}" precision="minute" ></g:datePicker>
    107107                                </td>
    108108                            </tr>
     
    113113                                </td>
    114114                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextTargetStartDate','errors')}">
    115                                     <g:datePicker name="nextTargetStartDate" value="${taskRecurringScheduleInstance?.nextTargetStartDate}" ></g:datePicker>
     115                                    <g:datePicker name="nextTargetStartDate" value="${taskRecurringScheduleInstance?.nextTargetStartDate}" precision="minute" ></g:datePicker>
    116116                                </td>
    117117                            </tr>
     
    131131                                </td>
    132132                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'startDate','errors')}">
    133                                     <g:datePicker name="startDate" value="${taskRecurringScheduleInstance?.startDate}" ></g:datePicker>
     133                                    <g:datePicker name="startDate" value="${taskRecurringScheduleInstance?.startDate}" precision="minute" ></g:datePicker>
    134134                                </td>
    135135                            </tr>
  • trunk/grails-app/views/taskRecurringSchedule/edit.gsp

    r157 r159  
    99    <body>
    1010        <div class="nav">
    11             <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
     11            <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span>
    1212            <span class="menuButton"><g:link class="list" action="list">TaskRecurringSchedule List</g:link></span>
    1313            <span class="menuButton"><g:link class="create" action="create">New TaskRecurringSchedule</g:link></span>
     
    6262                                </td>
    6363                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'lastGeneratedDate','errors')}">
    64                                     <g:datePicker name="lastGeneratedDate" value="${taskRecurringScheduleInstance?.lastGeneratedDate}" noSelection="['':'']"></g:datePicker>
     64                                    <g:datePicker name="lastGeneratedDate" value="${taskRecurringScheduleInstance?.lastGeneratedDate}" precision="minute" noSelection="['':'']"></g:datePicker>
    6565                                </td>
    6666                            </tr>
     
    9898                                </td>
    9999                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextGenerationDate','errors')}">
    100                                     <g:datePicker name="nextGenerationDate" value="${taskRecurringScheduleInstance?.nextGenerationDate}" ></g:datePicker>
     100                                    <g:datePicker name="nextGenerationDate" value="${taskRecurringScheduleInstance?.nextGenerationDate}" precision="minute" ></g:datePicker>
    101101                                </td>
    102102                            </tr>
     
    107107                                </td>
    108108                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextTargetCompletionDate','errors')}">
    109                                     <g:datePicker name="nextTargetCompletionDate" value="${taskRecurringScheduleInstance?.nextTargetCompletionDate}" ></g:datePicker>
     109                                    <g:datePicker name="nextTargetCompletionDate" value="${taskRecurringScheduleInstance?.nextTargetCompletionDate}" precision="minute" ></g:datePicker>
    110110                                </td>
    111111                            </tr>
     
    116116                                </td>
    117117                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextTargetStartDate','errors')}">
    118                                     <g:datePicker name="nextTargetStartDate" value="${taskRecurringScheduleInstance?.nextTargetStartDate}" ></g:datePicker>
     118                                    <g:datePicker name="nextTargetStartDate" value="${taskRecurringScheduleInstance?.nextTargetStartDate}" precision="minute" ></g:datePicker>
    119119                                </td>
    120120                            </tr>
     
    134134                                </td>
    135135                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'startDate','errors')}">
    136                                     <g:datePicker name="startDate" value="${taskRecurringScheduleInstance?.startDate}" ></g:datePicker>
     136                                    <g:datePicker name="startDate" value="${taskRecurringScheduleInstance?.startDate}" precision="minute" ></g:datePicker>
    137137                                </td>
    138138                            </tr>
  • trunk/grails-app/views/taskRecurringSchedule/list.gsp

    r157 r159  
    99    <body>
    1010        <div class="nav">
    11             <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
     11            <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span>
    1212            <span class="menuButton"><g:link class="create" action="create">New TaskRecurringSchedule</g:link></span>
    1313        </div>
  • trunk/grails-app/views/taskRecurringSchedule/show.gsp

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