Ignore:
Timestamp:
Mar 9, 2009, 10:31:40 AM (16 years ago)
Author:
gav
Message:

Add TaskPriority? and TaskType? domains, generate views and controllers.
Tweak security extensively.
Use 'extend BaseController?' to pass ROLE_USER to most controllers.
Add parentTask and subTask to Task Domain.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/TaskRewrite/src/grails-app/views/task/create.gsp

    r66 r69  
    6060                                <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'taskStatus','errors')}">
    6161                                    <g:select optionKey="id" from="${TaskStatus.list()}" name="taskStatus.id" value="${taskInstance?.taskStatus?.id}" ></g:select>
     62                                </td>
     63                            </tr>
     64                       
     65                            <tr class="prop">
     66                                <td valign="top" class="name">
     67                                    <label for="parentTask">Parent Task:</label>
     68                                </td>
     69                                <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'parentTask','errors')}">
     70                                    <g:select optionKey="id" from="${Task.list()}" name="parentTask.id" value="${taskInstance?.parentTask?.id}" noSelection="['null':'']"></g:select>
    6271                                </td>
    6372                            </tr>
Note: See TracChangeset for help on using the changeset viewer.