Changeset 249 for trunk/grails-app/views
- Timestamp:
- Dec 27, 2009, 9:56:42 PM (15 years ago)
- Location:
- trunk/grails-app/views
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/assignedPersonDetailed/create.gsp
r242 r249 21 21 </g:hasErrors> 22 22 <g:form action="save" method="post" > 23 < input type="hidden"name="task.id" value="${assignedPersonInstance?.task?.id}" />23 <g:hiddenField name="task.id" value="${assignedPersonInstance?.task?.id}" /> 24 24 <div class="dialog"> 25 25 <table> -
trunk/grails-app/views/assignedPersonDetailed/edit.gsp
r242 r249 21 21 </g:hasErrors> 22 22 <g:form method="post" > 23 <input type="hidden" name="id" value="${assignedPersonInstance?.id}" /> 24 <input type="hidden" name="version" value="${assignedPersonInstance?.version}" /> 23 <g:hiddenField name="id" value="${assignedPersonInstance?.id}" /> 24 <g:hiddenField name="task.id" value="${assignedPersonInstance?.task?.id}" /> 25 <g:hiddenField name="version" value="${assignedPersonInstance?.version}" /> 25 26 <div class="dialog"> 26 27 <table> -
trunk/grails-app/views/assignedPersonDetailed/show.gsp
r147 r249 51 51 <div class="buttons"> 52 52 <g:form> 53 <input type="hidden" name="id" value="${assignedPersonInstance?.id}" /> 53 <g:hiddenField name="id" value="${assignedPersonInstance?.id}" /> 54 <g:hiddenField name="task.id" value="${assignedPersonInstance?.task?.id}" /> 54 55 <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> 55 56 <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> -
trunk/grails-app/views/taskDetailed/show.gsp
r247 r249 204 204 <ul> 205 205 <g:each var="a" in="${taskInstance.assignedPersons}"> 206 <li><g:link controller="assignedPersonDetailed" action="edit" id="${a.id}" >${a?.encodeAsHTML()}</g:link></li>206 <li><g:link controller="assignedPersonDetailed" action="edit" id="${a.id}" params="['task.id':taskInstance.id]">${a?.encodeAsHTML()}</g:link></li> 207 207 </g:each> 208 208 </ul> 209 <g:link controller="assignedPersonDetailed" params="['task.id':taskInstance?.id]" action="create">Add Assigned Person</g:link>209 <g:link controller="assignedPersonDetailed" action="create" params="['task.id':taskInstance?.id]">Add Assigned Person</g:link> 210 210 </td> 211 211
Note: See TracChangeset
for help on using the changeset viewer.