Changeset 122 for trunk/grails-app/views/personGroup
- Timestamp:
- May 1, 2009, 3:27:41 PM (16 years ago)
- Location:
- trunk/grails-app/views/personGroup
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/personGroup/edit.gsp
r60 r122 25 25 <g:form method="post" > 26 26 <input type="hidden" name="id" value="${personGroupInstance?.id}" /> 27 <input type="hidden" name="version" value="${personGroupInstance?.version}" /> 27 28 <div class="dialog"> 28 29 <table> … … 70 71 </td> 71 72 <td valign="top" class="value ${hasErrors(bean:personGroupInstance,field:'persons','errors')}"> 72 73 <ul> 74 <g:each var="p" in="${personGroupInstance?.persons?}"> 75 <li><g:link controller="person" action="show" id="${p.id}">${p?.encodeAsHTML()}</g:link></li> 76 </g:each> 77 </ul> 78 <g:link controller="person" params="['personGroup.id':personGroupInstance?.id]" action="create">Add Person</g:link> 73 <g:select name="persons" 74 from="${Person.list()}" 75 size="5" multiple="yes" optionKey="id" 76 value="${personGroupInstance?.persons}" /> 79 77 80 78 </td> -
trunk/grails-app/views/personGroup/list.gsp
r60 r122 54 54 </div> 55 55 <div class="paginateButtons"> 56 <g:paginate total="${ PersonGroup.count()}" />56 <g:paginate total="${personGroupInstanceTotal}" /> 57 57 </div> 58 58 </div> -
trunk/grails-app/views/personGroup/show.gsp
r60 r122 61 61 <td valign="top" class="name">Persons:</td> 62 62 63 <td valign="top" class="value">${fieldValue(bean:personGroupInstance, field:'persons')}</td> 63 <td valign="top" style="text-align:left;" class="value"> 64 <ul> 65 <g:each var="p" in="${personGroupInstance.persons}"> 66 <li><g:link controller="person" action="show" id="${p.id}">${p?.encodeAsHTML()}</g:link></li> 67 </g:each> 68 </ul> 69 </td> 64 70 65 71 </tr>
Note: See TracChangeset
for help on using the changeset viewer.