Ignore:
Timestamp:
Dec 27, 2009, 8:13:08 PM (15 years ago)
Author:
gav
Message:

Refactor AssignedGroup to use a serviced controller.

Location:
trunk/grails-app/views/assignedGroupDetailed
Files:
3 edited

Legend:

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

    r242 r247  
    2121            </g:hasErrors>
    2222            <g:form action="save" method="post" >
    23                 <input type="hidden" name="task.id" value="${assignedGroupInstance?.task?.id}" />
     23                <g:hiddenField name="task.id" value="${assignedGroupInstance?.task?.id}" />
    2424                <div class="dialog">
    2525                    <table>
  • trunk/grails-app/views/assignedGroupDetailed/edit.gsp

    r242 r247  
    2121            </g:hasErrors>
    2222            <g:form method="post" >
    23                 <input type="hidden" name="id" value="${assignedGroupInstance?.id}" />
    24                 <input type="hidden" name="version" value="${assignedGroupInstance?.version}" />
     23                <g:hiddenField name="id" value="${assignedGroupInstance?.id}" />
     24                <g:hiddenField name="task.id" value="${assignedGroupInstance?.task?.id}" />
     25                <g:hiddenField name="version" value="${assignedGroupInstance?.version}" />
    2526                <div class="dialog">
    2627                    <table>
  • trunk/grails-app/views/assignedGroupDetailed/show.gsp

    r242 r247  
    5151            <div class="buttons">
    5252                <g:form>
    53                     <input type="hidden" name="id" value="${assignedGroupInstance?.id}" />
     53                    <g:hiddenField name="id" value="${assignedGroupInstance?.id}" />
     54                    <g:hiddenField name="task.id" value="${assignedGroupInstance?.task?.id}" />
    5455                    <span class="button"><g:actionSubmit class="edit" value="Edit" /></span>
    5556                    <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.