Ignore:
Timestamp:
May 1, 2009, 3:27:41 PM (15 years ago)
Author:
gav
Message:

Run generate-all on all controllers and views except Person and Authority.
Extensive work on Asset domain and application now compiles and runs well.
Update BootStrap? to suite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/personGroup/edit.gsp

    r60 r122  
    2525            <g:form method="post" >
    2626                <input type="hidden" name="id" value="${personGroupInstance?.id}" />
     27                <input type="hidden" name="version" value="${personGroupInstance?.version}" />
    2728                <div class="dialog">
    2829                    <table>
     
    7071                                </td>
    7172                                <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"
     74from="${Person.list()}"
     75size="5" multiple="yes" optionKey="id"
     76value="${personGroupInstance?.persons}" />
    7977
    8078                                </td>
Note: See TracChangeset for help on using the changeset viewer.