Ignore:
Timestamp:
Sep 1, 2009, 10:10:43 PM (15 years ago)
Author:
gav
Message:

Update to grails-1.1.1 release.
Fix WorkDone? and Fault entries not showing after update, now using criteria.
Work on TaskRecurringSchedule, add DateUtilService class, regenerate views to suite.
Finally have correct rollback behaviour on TaskRecurringSchedule? domain object updates by using transactions.
Added name to copyright since the license has no meaning without it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/taskRecurringSchedule/edit.gsp

    r131 r137  
    5050                            <tr class="prop">
    5151                                <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">
    5270                                    <label for="isEnabled">Is Enabled:</label>
    5371                                </td>
     
    6886                            <tr class="prop">
    6987                                <td valign="top" class="name">
    70                                     <label for="period">Period:</label>
     88                                    <label for="nextGenerationDate">Next Generation Date:</label>
    7189                                </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>
    7492                                </td>
    7593                            </tr>
     
    8199                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'recurEvery','errors')}">
    82100                                    <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>
    83110                                </td>
    84111                            </tr>
Note: See TracChangeset for help on using the changeset viewer.