Changeset 159
- Timestamp:
- Oct 21, 2009, 8:14:21 PM (15 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/TaskRecurringScheduleController.groovy
r131 r159 27 27 if(taskRecurringScheduleInstance) { 28 28 try { 29 taskRecurringScheduleInstance.delete( )29 taskRecurringScheduleInstance.delete(flush:true) 30 30 flash.message = "TaskRecurringSchedule ${params.id} deleted" 31 31 redirect(action:list) … … 77 77 else { 78 78 flash.message = "TaskRecurringSchedule not found with id ${params.id}" 79 redirect(action: edit,id:params.id)79 redirect(action:list) 80 80 } 81 81 } -
trunk/grails-app/views/taskRecurringSchedule/create.gsp
r157 r159 9 9 <body> 10 10 <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> 12 12 <span class="menuButton"><g:link class="list" action="list">TaskRecurringSchedule List</g:link></span> 13 13 </div> … … 59 59 </td> 60 60 <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> 62 62 </td> 63 63 </tr> … … 95 95 </td> 96 96 <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> 98 98 </td> 99 99 </tr> … … 104 104 </td> 105 105 <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> 107 107 </td> 108 108 </tr> … … 113 113 </td> 114 114 <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> 116 116 </td> 117 117 </tr> … … 131 131 </td> 132 132 <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> 134 134 </td> 135 135 </tr> -
trunk/grails-app/views/taskRecurringSchedule/edit.gsp
r157 r159 9 9 <body> 10 10 <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> 12 12 <span class="menuButton"><g:link class="list" action="list">TaskRecurringSchedule List</g:link></span> 13 13 <span class="menuButton"><g:link class="create" action="create">New TaskRecurringSchedule</g:link></span> … … 62 62 </td> 63 63 <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> 65 65 </td> 66 66 </tr> … … 98 98 </td> 99 99 <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> 101 101 </td> 102 102 </tr> … … 107 107 </td> 108 108 <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> 110 110 </td> 111 111 </tr> … … 116 116 </td> 117 117 <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> 119 119 </td> 120 120 </tr> … … 134 134 </td> 135 135 <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> 137 137 </td> 138 138 </tr> -
trunk/grails-app/views/taskRecurringSchedule/list.gsp
r157 r159 9 9 <body> 10 10 <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> 12 12 <span class="menuButton"><g:link class="create" action="create">New TaskRecurringSchedule</g:link></span> 13 13 </div> -
trunk/grails-app/views/taskRecurringSchedule/show.gsp
r157 r159 9 9 <body> 10 10 <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> 12 12 <span class="menuButton"><g:link class="list" action="list">TaskRecurringSchedule List</g:link></span> 13 13 <span class="menuButton"><g:link class="create" action="create">New TaskRecurringSchedule</g:link></span>
Note: See TracChangeset
for help on using the changeset viewer.