Ignore:
Timestamp:
Jan 21, 2010, 6:45:54 AM (15 years ago)
Author:
gav
Message:

Generate-all for Asset and AssetSubItem.

File:
1 edited

Legend:

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

    r271 r280  
    8686                                </td>
    8787                                <td valign="top" class="value ${hasErrors(bean:assetInstance,field:'assetSubItems','errors')}">
    88                                    
    89 <ul>
    90 <g:each var="a" in="${assetInstance?.assetSubItems?}">
    91     <li><g:link controller="assetSubItem" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>
    92 </g:each>
    93 </ul>
    94 <g:link controller="assetSubItem" params="['asset.id':assetInstance?.id]" action="create">Add AssetSubItem</g:link>
     88                                    <g:select name="assetSubItems"
     89from="${AssetSubItem.list()}"
     90size="5" multiple="yes" optionKey="id"
     91value="${assetInstance?.assetSubItems}" />
    9592
    9693                                </td>
Note: See TracChangeset for help on using the changeset viewer.