- Timestamp:
- Dec 24, 2009, 1:54:46 PM (15 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/TaskDetailedController.groovy
r225 r246 401 401 return 402 402 } 403 def possibleParentList = taskService.possibleParentList(taskInstance) 404 return [ taskInstance : taskInstance, possibleParentList: possibleParentList ] 403 // def possibleParentList = taskService.possibleParentList(taskInstance) 404 // return [ taskInstance : taskInstance, possibleParentList: possibleParentList ] 405 return [ taskInstance : taskInstance ] 405 406 } 406 407 } -
trunk/grails-app/views/taskDetailed/create.gsp
r214 r246 117 117 </tr> 118 118 119 <tr class="prop">119 <!-- <tr class="prop"> 120 120 <td valign="top" class="name"> 121 121 <label for="parentTask">Parent Task:</label> … … 124 124 <g:select optionKey="id" from="${Task.findAllByTrash(false)}" name="parentTask.id" value="${taskInstance?.parentTask?.id}" noSelection="['null':'--None--']"></g:select> 125 125 </td> 126 </tr> 126 </tr> --> 127 127 128 128 <tr class="prop"> -
trunk/grails-app/views/taskDetailed/edit.gsp
r242 r246 36 36 </tr> 37 37 38 <g:if test="${taskInstance.parentTask}"> 39 <tr class="prop"> 40 <td valign="top" class="name">Parent Task:</td> 41 42 <td valign="top" class="value"><g:link controller="taskDetailed" action="show" id="${taskInstance.parentTask.id}">${taskInstance.parentTask.encodeAsHTML()}</g:link></td> 43 44 </tr> 45 </g:if> 46 47 <!-- <tr class="prop"> 48 <td valign="top" class="name"> 49 <label for="parentTask">Parent Task:</label> 50 </td> 51 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'parentTask','errors')}"> 52 <g:select optionKey="id" from="${possibleParentList}" name="parentTask.id" value="${taskInstance?.parentTask?.id}" noSelection="['null':'--None--']"></g:select> 53 </td> 54 </tr>--> 55 38 56 <tr class="prop"> 39 57 <td valign="top" class="name"> … … 119 137 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'scheduled','errors')}"> 120 138 <g:checkBox name="scheduled" value="${taskInstance?.scheduled}" ></g:checkBox> 121 </td>122 </tr>123 124 <tr class="prop">125 <td valign="top" class="name">126 <label for="parentTask">Parent Task:</label>127 </td>128 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'parentTask','errors')}">129 <g:select optionKey="id" from="${possibleParentList}" name="parentTask.id" value="${taskInstance?.parentTask?.id}" noSelection="['null':'--None--']"></g:select>130 139 </td> 131 140 </tr> -
trunk/grails-app/views/taskDetailed/show.gsp
r244 r246 50 50 <td valign="top" class="name">Parent Task:</td> 51 51 52 <td valign="top" class="value"><g:link controller="taskDetailed" action="show" id="${taskInstance.parentTask ?.id}">${taskInstance?.parentTask?.encodeAsHTML()}</g:link></td>52 <td valign="top" class="value"><g:link controller="taskDetailed" action="show" id="${taskInstance.parentTask.id}">${taskInstance.parentTask.encodeAsHTML()}</g:link></td> 53 53 54 54 </tr>
Note: See TracChangeset
for help on using the changeset viewer.