Ignore:
Timestamp:
May 8, 2009, 1:01:56 AM (15 years ago)
Author:
gav
Message:

Reconfigure Planned Maintenance again, now Preventative Maintenance, TaskProcedure? and MaintenanceAction?

Location:
trunk/grails-app/views/taskRecurringSchedule
Files:
4 edited

Legend:

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

    r123 r131  
    55        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    66        <meta name="layout" content="main" />
    7         <title>Create RecurringSchedule</title>         
     7        <title>Create TaskRecurringSchedule</title>         
    88    </head>
    99    <body>
    1010        <div class="nav">
    1111            <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
    12             <span class="menuButton"><g:link class="list" action="list">RecurringSchedule List</g:link></span>
     12            <span class="menuButton"><g:link class="list" action="list">TaskRecurringSchedule List</g:link></span>
    1313        </div>
    1414        <div class="body">
    15             <h1>Create RecurringSchedule</h1>
     15            <h1>Create TaskRecurringSchedule</h1>
    1616            <g:if test="${flash.message}">
    1717            <div class="message">${flash.message}</div>
    1818            </g:if>
    19             <g:hasErrors bean="${recurringScheduleInstance}">
     19            <g:hasErrors bean="${taskRecurringScheduleInstance}">
    2020            <div class="errors">
    21                 <g:renderErrors bean="${recurringScheduleInstance}" as="list" />
     21                <g:renderErrors bean="${taskRecurringScheduleInstance}" as="list" />
    2222            </div>
    2323            </g:hasErrors>
     
    2929                            <tr class="prop">
    3030                                <td valign="top" class="name">
    31                                     <label for="plannedMaintenance">Planned Maintenance:</label>
     31                                    <label for="lastGeneratedDate">Last Generated Date:</label>
    3232                                </td>
    33                                 <td valign="top" class="value ${hasErrors(bean:recurringScheduleInstance,field:'plannedMaintenance','errors')}">
    34                                     <g:select optionKey="id" from="${PlannedMaintenance.list()}" name="plannedMaintenance.id" value="${recurringScheduleInstance?.plannedMaintenance?.id}" noSelection="['null':'']"></g:select>
     33                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'lastGeneratedDate','errors')}">
     34                                    <g:datePicker name="lastGeneratedDate" value="${taskRecurringScheduleInstance?.lastGeneratedDate}" noSelection="['':'']"></g:datePicker>
    3535                                </td>
    3636                            </tr>
     
    3838                            <tr class="prop">
    3939                                <td valign="top" class="name">
    40                                     <label for="lastExecutedDate">Last Executed Date:</label>
     40                                    <label for="lastGeneratedSubTask">Last Generated Sub Task:</label>
    4141                                </td>
    42                                 <td valign="top" class="value ${hasErrors(bean:recurringScheduleInstance,field:'lastExecutedDate','errors')}">
    43                                     <g:datePicker name="lastExecutedDate" value="${recurringScheduleInstance?.lastExecutedDate}" noSelection="['':'']"></g:datePicker>
     42                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'lastGeneratedSubTask','errors')}">
     43                                    <g:select optionKey="id" from="${Task.list()}" name="lastGeneratedSubTask.id" value="${taskRecurringScheduleInstance?.lastGeneratedSubTask?.id}" noSelection="['null':'']"></g:select>
     44                                </td>
     45                            </tr>
     46                       
     47                            <tr class="prop">
     48                                <td valign="top" class="name">
     49                                    <label for="isEnabled">Is Enabled:</label>
     50                                </td>
     51                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'isEnabled','errors')}">
     52                                    <g:checkBox name="isEnabled" value="${taskRecurringScheduleInstance?.isEnabled}" ></g:checkBox>
    4453                                </td>
    4554                            </tr>
     
    4958                                    <label for="nextDueDate">Next Due Date:</label>
    5059                                </td>
    51                                 <td valign="top" class="value ${hasErrors(bean:recurringScheduleInstance,field:'nextDueDate','errors')}">
    52                                     <g:datePicker name="nextDueDate" value="${recurringScheduleInstance?.nextDueDate}" noSelection="['':'']"></g:datePicker>
    53                                 </td>
    54                             </tr>
    55                        
    56                             <tr class="prop">
    57                                 <td valign="top" class="name">
    58                                     <label for="isActive">Is Active:</label>
    59                                 </td>
    60                                 <td valign="top" class="value ${hasErrors(bean:recurringScheduleInstance,field:'isActive','errors')}">
    61                                     <g:checkBox name="isActive" value="${recurringScheduleInstance?.isActive}" ></g:checkBox>
     60                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextDueDate','errors')}">
     61                                    <g:datePicker name="nextDueDate" value="${taskRecurringScheduleInstance?.nextDueDate}" ></g:datePicker>
    6262                                </td>
    6363                            </tr>
     
    6767                                    <label for="period">Period:</label>
    6868                                </td>
    69                                 <td valign="top" class="value ${hasErrors(bean:recurringScheduleInstance,field:'period','errors')}">
    70                                     <g:select optionKey="id" from="${Period.list()}" name="period.id" value="${recurringScheduleInstance?.period?.id}" ></g:select>
     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>
    7171                                </td>
    7272                            </tr>
     
    7676                                    <label for="recurEvery">Recur Every:</label>
    7777                                </td>
    78                                 <td valign="top" class="value ${hasErrors(bean:recurringScheduleInstance,field:'recurEvery','errors')}">
    79                                     <input type="text" id="recurEvery" name="recurEvery" value="${fieldValue(bean:recurringScheduleInstance,field:'recurEvery')}" />
     78                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'recurEvery','errors')}">
     79                                    <input type="text" id="recurEvery" name="recurEvery" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'recurEvery')}" />
    8080                                </td>
    8181                            </tr>
     
    8585                                    <label for="startDate">Start Date:</label>
    8686                                </td>
    87                                 <td valign="top" class="value ${hasErrors(bean:recurringScheduleInstance,field:'startDate','errors')}">
    88                                     <g:datePicker name="startDate" value="${recurringScheduleInstance?.startDate}" ></g:datePicker>
     87                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'startDate','errors')}">
     88                                    <g:datePicker name="startDate" value="${taskRecurringScheduleInstance?.startDate}" ></g:datePicker>
    8989                                </td>
    9090                            </tr>
     
    9494                                    <label for="task">Task:</label>
    9595                                </td>
    96                                 <td valign="top" class="value ${hasErrors(bean:recurringScheduleInstance,field:'task','errors')}">
    97                                     <g:select optionKey="id" from="${Task.list()}" name="task.id" value="${recurringScheduleInstance?.task?.id}" ></g:select>
     96                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'task','errors')}">
     97                                    <g:select optionKey="id" from="${Task.list()}" name="task.id" value="${taskRecurringScheduleInstance?.task?.id}" ></g:select>
    9898                                </td>
    9999                            </tr>
  • trunk/grails-app/views/taskRecurringSchedule/edit.gsp

    r123 r131  
    55        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    66        <meta name="layout" content="main" />
    7         <title>Edit RecurringSchedule</title>
     7        <title>Edit TaskRecurringSchedule</title>
    88    </head>
    99    <body>
    1010        <div class="nav">
    1111            <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
    12             <span class="menuButton"><g:link class="list" action="list">RecurringSchedule List</g:link></span>
    13             <span class="menuButton"><g:link class="create" action="create">New RecurringSchedule</g:link></span>
     12            <span class="menuButton"><g:link class="list" action="list">TaskRecurringSchedule List</g:link></span>
     13            <span class="menuButton"><g:link class="create" action="create">New TaskRecurringSchedule</g:link></span>
    1414        </div>
    1515        <div class="body">
    16             <h1>Edit RecurringSchedule</h1>
     16            <h1>Edit TaskRecurringSchedule</h1>
    1717            <g:if test="${flash.message}">
    1818            <div class="message">${flash.message}</div>
    1919            </g:if>
    20             <g:hasErrors bean="${recurringScheduleInstance}">
     20            <g:hasErrors bean="${taskRecurringScheduleInstance}">
    2121            <div class="errors">
    22                 <g:renderErrors bean="${recurringScheduleInstance}" as="list" />
     22                <g:renderErrors bean="${taskRecurringScheduleInstance}" as="list" />
    2323            </div>
    2424            </g:hasErrors>
    2525            <g:form method="post" >
    26                 <input type="hidden" name="id" value="${recurringScheduleInstance?.id}" />
    27                 <input type="hidden" name="version" value="${recurringScheduleInstance?.version}" />
     26                <input type="hidden" name="id" value="${taskRecurringScheduleInstance?.id}" />
     27                <input type="hidden" name="version" value="${taskRecurringScheduleInstance?.version}" />
    2828                <div class="dialog">
    2929                    <table>
     
    3232                            <tr class="prop">
    3333                                <td valign="top" class="name">
    34                                     <label for="plannedMaintenance">Planned Maintenance:</label>
     34                                    <label for="lastGeneratedDate">Last Generated Date:</label>
    3535                                </td>
    36                                 <td valign="top" class="value ${hasErrors(bean:recurringScheduleInstance,field:'plannedMaintenance','errors')}">
    37                                     <g:select optionKey="id" from="${PlannedMaintenance.list()}" name="plannedMaintenance.id" value="${recurringScheduleInstance?.plannedMaintenance?.id}" noSelection="['null':'']"></g:select>
     36                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'lastGeneratedDate','errors')}">
     37                                    <g:datePicker name="lastGeneratedDate" value="${taskRecurringScheduleInstance?.lastGeneratedDate}" noSelection="['':'']"></g:datePicker>
    3838                                </td>
    3939                            </tr>
     
    4141                            <tr class="prop">
    4242                                <td valign="top" class="name">
    43                                     <label for="lastExecutedDate">Last Executed Date:</label>
     43                                    <label for="lastGeneratedSubTask">Last Generated Sub Task:</label>
    4444                                </td>
    45                                 <td valign="top" class="value ${hasErrors(bean:recurringScheduleInstance,field:'lastExecutedDate','errors')}">
    46                                     <g:datePicker name="lastExecutedDate" value="${recurringScheduleInstance?.lastExecutedDate}" noSelection="['':'']"></g:datePicker>
     45                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'lastGeneratedSubTask','errors')}">
     46                                    <g:select optionKey="id" from="${Task.list()}" name="lastGeneratedSubTask.id" value="${taskRecurringScheduleInstance?.lastGeneratedSubTask?.id}" noSelection="['null':'']"></g:select>
     47                                </td>
     48                            </tr>
     49                       
     50                            <tr class="prop">
     51                                <td valign="top" class="name">
     52                                    <label for="isEnabled">Is Enabled:</label>
     53                                </td>
     54                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'isEnabled','errors')}">
     55                                    <g:checkBox name="isEnabled" value="${taskRecurringScheduleInstance?.isEnabled}" ></g:checkBox>
    4756                                </td>
    4857                            </tr>
     
    5261                                    <label for="nextDueDate">Next Due Date:</label>
    5362                                </td>
    54                                 <td valign="top" class="value ${hasErrors(bean:recurringScheduleInstance,field:'nextDueDate','errors')}">
    55                                     <g:datePicker name="nextDueDate" value="${recurringScheduleInstance?.nextDueDate}" noSelection="['':'']"></g:datePicker>
    56                                 </td>
    57                             </tr>
    58                        
    59                             <tr class="prop">
    60                                 <td valign="top" class="name">
    61                                     <label for="isActive">Is Active:</label>
    62                                 </td>
    63                                 <td valign="top" class="value ${hasErrors(bean:recurringScheduleInstance,field:'isActive','errors')}">
    64                                     <g:checkBox name="isActive" value="${recurringScheduleInstance?.isActive}" ></g:checkBox>
     63                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextDueDate','errors')}">
     64                                    <g:datePicker name="nextDueDate" value="${taskRecurringScheduleInstance?.nextDueDate}" ></g:datePicker>
    6565                                </td>
    6666                            </tr>
     
    7070                                    <label for="period">Period:</label>
    7171                                </td>
    72                                 <td valign="top" class="value ${hasErrors(bean:recurringScheduleInstance,field:'period','errors')}">
    73                                     <g:select optionKey="id" from="${Period.list()}" name="period.id" value="${recurringScheduleInstance?.period?.id}" ></g:select>
     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>
    7474                                </td>
    7575                            </tr>
     
    7979                                    <label for="recurEvery">Recur Every:</label>
    8080                                </td>
    81                                 <td valign="top" class="value ${hasErrors(bean:recurringScheduleInstance,field:'recurEvery','errors')}">
    82                                     <input type="text" id="recurEvery" name="recurEvery" value="${fieldValue(bean:recurringScheduleInstance,field:'recurEvery')}" />
     81                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'recurEvery','errors')}">
     82                                    <input type="text" id="recurEvery" name="recurEvery" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'recurEvery')}" />
    8383                                </td>
    8484                            </tr>
     
    8888                                    <label for="startDate">Start Date:</label>
    8989                                </td>
    90                                 <td valign="top" class="value ${hasErrors(bean:recurringScheduleInstance,field:'startDate','errors')}">
    91                                     <g:datePicker name="startDate" value="${recurringScheduleInstance?.startDate}" ></g:datePicker>
     90                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'startDate','errors')}">
     91                                    <g:datePicker name="startDate" value="${taskRecurringScheduleInstance?.startDate}" ></g:datePicker>
    9292                                </td>
    9393                            </tr>
     
    9797                                    <label for="task">Task:</label>
    9898                                </td>
    99                                 <td valign="top" class="value ${hasErrors(bean:recurringScheduleInstance,field:'task','errors')}">
    100                                     <g:select optionKey="id" from="${Task.list()}" name="task.id" value="${recurringScheduleInstance?.task?.id}" ></g:select>
     99                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'task','errors')}">
     100                                    <g:select optionKey="id" from="${Task.list()}" name="task.id" value="${taskRecurringScheduleInstance?.task?.id}" ></g:select>
    101101                                </td>
    102102                            </tr>
  • trunk/grails-app/views/taskRecurringSchedule/list.gsp

    r123 r131  
    55        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    66        <meta name="layout" content="main" />
    7         <title>RecurringSchedule List</title>
     7        <title>TaskRecurringSchedule List</title>
    88    </head>
    99    <body>
    1010        <div class="nav">
    1111            <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
    12             <span class="menuButton"><g:link class="create" action="create">New RecurringSchedule</g:link></span>
     12            <span class="menuButton"><g:link class="create" action="create">New TaskRecurringSchedule</g:link></span>
    1313        </div>
    1414        <div class="body">
    15             <h1>RecurringSchedule List</h1>
     15            <h1>TaskRecurringSchedule List</h1>
    1616            <g:if test="${flash.message}">
    1717            <div class="message">${flash.message}</div>
     
    2424                                <g:sortableColumn property="id" title="Id" />
    2525                       
    26                                 <th>Planned Maintenance</th>
     26                                <g:sortableColumn property="lastGeneratedDate" title="Last Generated Date" />
     27                       
     28                                <th>Last Generated Sub Task</th>
    2729                           
    28                                 <g:sortableColumn property="lastExecutedDate" title="Last Executed Date" />
     30                                <g:sortableColumn property="isEnabled" title="Is Enabled" />
    2931                       
    3032                                <g:sortableColumn property="nextDueDate" title="Next Due Date" />
    31                        
    32                                 <g:sortableColumn property="isActive" title="Is Active" />
    3333                       
    3434                                <th>Period</th>
     
    3737                    </thead>
    3838                    <tbody>
    39                     <g:each in="${recurringScheduleInstanceList}" status="i" var="recurringScheduleInstance">
     39                    <g:each in="${taskRecurringScheduleInstanceList}" status="i" var="taskRecurringScheduleInstance">
    4040                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
    4141                       
    42                             <td><g:link action="show" id="${recurringScheduleInstance.id}">${fieldValue(bean:recurringScheduleInstance, field:'id')}</g:link></td>
     42                            <td><g:link action="show" id="${taskRecurringScheduleInstance.id}">${fieldValue(bean:taskRecurringScheduleInstance, field:'id')}</g:link></td>
    4343                       
    44                             <td>${fieldValue(bean:recurringScheduleInstance, field:'plannedMaintenance')}</td>
     44                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'lastGeneratedDate')}</td>
    4545                       
    46                             <td>${fieldValue(bean:recurringScheduleInstance, field:'lastExecutedDate')}</td>
     46                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'lastGeneratedSubTask')}</td>
    4747                       
    48                             <td>${fieldValue(bean:recurringScheduleInstance, field:'nextDueDate')}</td>
     48                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'isEnabled')}</td>
    4949                       
    50                             <td>${fieldValue(bean:recurringScheduleInstance, field:'isActive')}</td>
     50                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'nextDueDate')}</td>
    5151                       
    52                             <td>${fieldValue(bean:recurringScheduleInstance, field:'period')}</td>
     52                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'period')}</td>
    5353                       
    5454                        </tr>
     
    5858            </div>
    5959            <div class="paginateButtons">
    60                 <g:paginate total="${recurringScheduleInstanceTotal}" />
     60                <g:paginate total="${taskRecurringScheduleInstanceTotal}" />
    6161            </div>
    6262        </div>
  • trunk/grails-app/views/taskRecurringSchedule/show.gsp

    r123 r131  
    55        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    66        <meta name="layout" content="main" />
    7         <title>Show RecurringSchedule</title>
     7        <title>Show TaskRecurringSchedule</title>
    88    </head>
    99    <body>
    1010        <div class="nav">
    1111            <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
    12             <span class="menuButton"><g:link class="list" action="list">RecurringSchedule List</g:link></span>
    13             <span class="menuButton"><g:link class="create" action="create">New RecurringSchedule</g:link></span>
     12            <span class="menuButton"><g:link class="list" action="list">TaskRecurringSchedule List</g:link></span>
     13            <span class="menuButton"><g:link class="create" action="create">New TaskRecurringSchedule</g:link></span>
    1414        </div>
    1515        <div class="body">
    16             <h1>Show RecurringSchedule</h1>
     16            <h1>Show TaskRecurringSchedule</h1>
    1717            <g:if test="${flash.message}">
    1818            <div class="message">${flash.message}</div>
     
    2626                            <td valign="top" class="name">Id:</td>
    2727                           
    28                             <td valign="top" class="value">${fieldValue(bean:recurringScheduleInstance, field:'id')}</td>
     28                            <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'id')}</td>
    2929                           
    3030                        </tr>
    3131                   
    3232                        <tr class="prop">
    33                             <td valign="top" class="name">Planned Maintenance:</td>
     33                            <td valign="top" class="name">Last Generated Date:</td>
    3434                           
    35                             <td valign="top" class="value"><g:link controller="plannedMaintenance" action="show" id="${recurringScheduleInstance?.plannedMaintenance?.id}">${recurringScheduleInstance?.plannedMaintenance?.encodeAsHTML()}</g:link></td>
     35                            <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'lastGeneratedDate')}</td>
    3636                           
    3737                        </tr>
    3838                   
    3939                        <tr class="prop">
    40                             <td valign="top" class="name">Last Executed Date:</td>
     40                            <td valign="top" class="name">Last Generated Sub Task:</td>
    4141                           
    42                             <td valign="top" class="value">${fieldValue(bean:recurringScheduleInstance, field:'lastExecutedDate')}</td>
     42                            <td valign="top" class="value"><g:link controller="task" action="show" id="${taskRecurringScheduleInstance?.lastGeneratedSubTask?.id}">${taskRecurringScheduleInstance?.lastGeneratedSubTask?.encodeAsHTML()}</g:link></td>
     43                           
     44                        </tr>
     45                   
     46                        <tr class="prop">
     47                            <td valign="top" class="name">Is Enabled:</td>
     48                           
     49                            <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'isEnabled')}</td>
    4350                           
    4451                        </tr>
     
    4754                            <td valign="top" class="name">Next Due Date:</td>
    4855                           
    49                             <td valign="top" class="value">${fieldValue(bean:recurringScheduleInstance, field:'nextDueDate')}</td>
    50                            
    51                         </tr>
    52                    
    53                         <tr class="prop">
    54                             <td valign="top" class="name">Is Active:</td>
    55                            
    56                             <td valign="top" class="value">${fieldValue(bean:recurringScheduleInstance, field:'isActive')}</td>
     56                            <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'nextDueDate')}</td>
    5757                           
    5858                        </tr>
     
    6161                            <td valign="top" class="name">Period:</td>
    6262                           
    63                             <td valign="top" class="value"><g:link controller="period" action="show" id="${recurringScheduleInstance?.period?.id}">${recurringScheduleInstance?.period?.encodeAsHTML()}</g:link></td>
     63                            <td valign="top" class="value"><g:link controller="period" action="show" id="${taskRecurringScheduleInstance?.period?.id}">${taskRecurringScheduleInstance?.period?.encodeAsHTML()}</g:link></td>
    6464                           
    6565                        </tr>
     
    6868                            <td valign="top" class="name">Recur Every:</td>
    6969                           
    70                             <td valign="top" class="value">${fieldValue(bean:recurringScheduleInstance, field:'recurEvery')}</td>
     70                            <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'recurEvery')}</td>
    7171                           
    7272                        </tr>
     
    7575                            <td valign="top" class="name">Start Date:</td>
    7676                           
    77                             <td valign="top" class="value">${fieldValue(bean:recurringScheduleInstance, field:'startDate')}</td>
     77                            <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'startDate')}</td>
    7878                           
    7979                        </tr>
     
    8282                            <td valign="top" class="name">Task:</td>
    8383                           
    84                             <td valign="top" class="value"><g:link controller="task" action="show" id="${recurringScheduleInstance?.task?.id}">${recurringScheduleInstance?.task?.encodeAsHTML()}</g:link></td>
     84                            <td valign="top" class="value"><g:link controller="task" action="show" id="${taskRecurringScheduleInstance?.task?.id}">${taskRecurringScheduleInstance?.task?.encodeAsHTML()}</g:link></td>
    8585                           
    8686                        </tr>
     
    9191            <div class="buttons">
    9292                <g:form>
    93                     <input type="hidden" name="id" value="${recurringScheduleInstance?.id}" />
     93                    <input type="hidden" name="id" value="${taskRecurringScheduleInstance?.id}" />
    9494                    <span class="button"><g:actionSubmit class="edit" value="Edit" /></span>
    9595                    <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
Note: See TracChangeset for help on using the changeset viewer.