Changeset 137 for trunk/grails-app/views/taskRecurringSchedule
- Timestamp:
- Sep 1, 2009, 10:10:43 PM (15 years ago)
- Location:
- trunk/grails-app/views/taskRecurringSchedule
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/taskRecurringSchedule/create.gsp
r131 r137 47 47 <tr class="prop"> 48 48 <td valign="top" class="name"> 49 <label for="generateAhead">Generate Ahead:</label> 50 </td> 51 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'generateAhead','errors')}"> 52 <input type="text" id="generateAhead" name="generateAhead" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'generateAhead')}" /> 53 </td> 54 </tr> 55 56 <tr class="prop"> 57 <td valign="top" class="name"> 58 <label for="generateAheadPeriod">Generate Ahead Period:</label> 59 </td> 60 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'generateAheadPeriod','errors')}"> 61 <g:select optionKey="id" from="${Period.list()}" name="generateAheadPeriod.id" value="${taskRecurringScheduleInstance?.generateAheadPeriod?.id}" ></g:select> 62 </td> 63 </tr> 64 65 <tr class="prop"> 66 <td valign="top" class="name"> 49 67 <label for="isEnabled">Is Enabled:</label> 50 68 </td> … … 65 83 <tr class="prop"> 66 84 <td valign="top" class="name"> 67 <label for=" period">Period:</label>85 <label for="nextGenerationDate">Next Generation Date:</label> 68 86 </td> 69 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:' period','errors')}">70 <g: select optionKey="id" from="${Period.list()}" name="period.id" value="${taskRecurringScheduleInstance?.period?.id}" ></g:select>87 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextGenerationDate','errors')}"> 88 <g:datePicker name="nextGenerationDate" value="${taskRecurringScheduleInstance?.nextGenerationDate}" ></g:datePicker> 71 89 </td> 72 90 </tr> … … 78 96 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'recurEvery','errors')}"> 79 97 <input type="text" id="recurEvery" name="recurEvery" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'recurEvery')}" /> 98 </td> 99 </tr> 100 101 <tr class="prop"> 102 <td valign="top" class="name"> 103 <label for="recurPeriod">Recur Period:</label> 104 </td> 105 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'recurPeriod','errors')}"> 106 <g:select optionKey="id" from="${Period.list()}" name="recurPeriod.id" value="${taskRecurringScheduleInstance?.recurPeriod?.id}" ></g:select> 80 107 </td> 81 108 </tr> -
trunk/grails-app/views/taskRecurringSchedule/edit.gsp
r131 r137 50 50 <tr class="prop"> 51 51 <td valign="top" class="name"> 52 <label for="generateAhead">Generate Ahead:</label> 53 </td> 54 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'generateAhead','errors')}"> 55 <input type="text" id="generateAhead" name="generateAhead" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'generateAhead')}" /> 56 </td> 57 </tr> 58 59 <tr class="prop"> 60 <td valign="top" class="name"> 61 <label for="generateAheadPeriod">Generate Ahead Period:</label> 62 </td> 63 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'generateAheadPeriod','errors')}"> 64 <g:select optionKey="id" from="${Period.list()}" name="generateAheadPeriod.id" value="${taskRecurringScheduleInstance?.generateAheadPeriod?.id}" ></g:select> 65 </td> 66 </tr> 67 68 <tr class="prop"> 69 <td valign="top" class="name"> 52 70 <label for="isEnabled">Is Enabled:</label> 53 71 </td> … … 68 86 <tr class="prop"> 69 87 <td valign="top" class="name"> 70 <label for=" period">Period:</label>88 <label for="nextGenerationDate">Next Generation Date:</label> 71 89 </td> 72 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:' period','errors')}">73 <g: select optionKey="id" from="${Period.list()}" name="period.id" value="${taskRecurringScheduleInstance?.period?.id}" ></g:select>90 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextGenerationDate','errors')}"> 91 <g:datePicker name="nextGenerationDate" value="${taskRecurringScheduleInstance?.nextGenerationDate}" ></g:datePicker> 74 92 </td> 75 93 </tr> … … 81 99 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'recurEvery','errors')}"> 82 100 <input type="text" id="recurEvery" name="recurEvery" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'recurEvery')}" /> 101 </td> 102 </tr> 103 104 <tr class="prop"> 105 <td valign="top" class="name"> 106 <label for="recurPeriod">Recur Period:</label> 107 </td> 108 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'recurPeriod','errors')}"> 109 <g:select optionKey="id" from="${Period.list()}" name="recurPeriod.id" value="${taskRecurringScheduleInstance?.recurPeriod?.id}" ></g:select> 83 110 </td> 84 111 </tr> -
trunk/grails-app/views/taskRecurringSchedule/list.gsp
r131 r137 28 28 <th>Last Generated Sub Task</th> 29 29 30 <g:sortableColumn property="generateAhead" title="Generate Ahead" /> 31 32 <th>Generate Ahead Period</th> 33 30 34 <g:sortableColumn property="isEnabled" title="Is Enabled" /> 31 35 32 <g:sortableColumn property="nextDueDate" title="Next Due Date" />33 34 <th>Period</th>35 36 36 </tr> 37 37 </thead> … … 46 46 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'lastGeneratedSubTask')}</td> 47 47 48 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'generateAhead')}</td> 49 50 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'generateAheadPeriod')}</td> 51 48 52 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'isEnabled')}</td> 49 50 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'nextDueDate')}</td>51 52 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'period')}</td>53 53 54 54 </tr> -
trunk/grails-app/views/taskRecurringSchedule/show.gsp
r131 r137 45 45 46 46 <tr class="prop"> 47 <td valign="top" class="name">Generate Ahead:</td> 48 49 <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'generateAhead')}</td> 50 51 </tr> 52 53 <tr class="prop"> 54 <td valign="top" class="name">Generate Ahead Period:</td> 55 56 <td valign="top" class="value"><g:link controller="period" action="show" id="${taskRecurringScheduleInstance?.generateAheadPeriod?.id}">${taskRecurringScheduleInstance?.generateAheadPeriod?.encodeAsHTML()}</g:link></td> 57 58 </tr> 59 60 <tr class="prop"> 47 61 <td valign="top" class="name">Is Enabled:</td> 48 62 … … 59 73 60 74 <tr class="prop"> 61 <td valign="top" class="name"> Period:</td>75 <td valign="top" class="name">Next Generation Date:</td> 62 76 63 <td valign="top" class="value"> <g:link controller="period" action="show" id="${taskRecurringScheduleInstance?.period?.id}">${taskRecurringScheduleInstance?.period?.encodeAsHTML()}</g:link></td>77 <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'nextGenerationDate')}</td> 64 78 65 79 </tr> … … 69 83 70 84 <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'recurEvery')}</td> 85 86 </tr> 87 88 <tr class="prop"> 89 <td valign="top" class="name">Recur Period:</td> 90 91 <td valign="top" class="value"><g:link controller="period" action="show" id="${taskRecurringScheduleInstance?.recurPeriod?.id}">${taskRecurringScheduleInstance?.recurPeriod?.encodeAsHTML()}</g:link></td> 71 92 72 93 </tr>
Note: See TracChangeset
for help on using the changeset viewer.