Ignore:
Timestamp:
Jan 26, 2011, 3:29:08 AM (13 years ago)
Author:
gav
Message:

Domain change, adjust TaskProcedure to Task relationship.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/features/taskProcedureRework/grails-app/views/taskProcedureDetailed/create.gsp

    r754 r758  
    2222            </g:hasErrors>
    2323            <g:form action="save" method="post" >
    24             <input type="hidden" name="taskInstance.id" value="${taskInstance?.id}" />
     24            <input type="hidden" name="parentTask.id" value="${taskInstance.id}" />
    2525
    2626                <div class="dialog">
     
    2828                        <tbody>
    2929
    30                             <g:if test="${taskInstance}">
    31                                 <tr class="prop">
    32                                     <td valign="top" class="name">
    33                                         <label for="taskInstance">Linking with Task:</label>
    34                                     </td>
    35                                     <td valign="top" name="taskInstance" class="value">
    36                                         ${taskInstance}
    37                                     </td>
    38                                 </tr>
    39                             </g:if>
     30                            <tr class="prop">
     31                                <td valign="top" class="name">
     32                                    <label for="taskInstance">Parent Task:</label>
     33                                </td>
     34                                <td valign="top" name="taskInstance" class="value">
     35                                    <g:link controller="taskDetailed" action="show" id="${taskInstance.id}">
     36                                        ${taskInstance.encodeAsHTML()}
     37                                    </g:link>
     38                                </td>
     39                            </tr>
    4040
    4141                        </tbody>
Note: See TracChangeset for help on using the changeset viewer.