Ignore:
Timestamp:
Oct 25, 2010, 4:23:39 PM (9 years ago)
Author:
robert@…
Message:

Fixed bug #15

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/personAffiliation/list.gsp

    r959 r987  
    44    <head>
    55        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    6         <meta name="layout" content="main" />
     6        <meta name="layout" content="${layout}" />
    77        <g:set var="entityName" value="${message(code: 'personAffiliation.label', default: 'PersonAffiliation')}" />
    88        <title><g:message code="default.list.label" args="['Affiliation']" /></title>
     
    1919                        <tr>
    2020                       
    21                             <g:sortableColumn property="institute" title="${message(code: 'personAffiliation.institute.label', default: 'Institute')}" />
    22                             <g:sortableColumn property="department" title="${message(code: 'personAffiliation.department.label', default: 'Department')}" />
     21                            <g:sortableColumn params="${extraparams}"  property="institute" title="${message(code: 'personAffiliation.institute.label', default: 'Institute')}" />
     22                            <g:sortableColumn params="${extraparams}"  property="department" title="${message(code: 'personAffiliation.department.label', default: 'Department')}" />
    2323                       
    2424                        </tr>
     
    2828                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
    2929                       
    30                             <td><g:link action="show" id="${personAffiliationInstance.id}">${fieldValue(bean: personAffiliationInstance, field: "institute")}</g:link></td>
     30                            <td><g:link params="${extraparams}"  action="show" id="${personAffiliationInstance.id}">${fieldValue(bean: personAffiliationInstance, field: "institute")}</g:link></td>
    3131                            <td>${fieldValue(bean: personAffiliationInstance, field: "department")}</td>
    3232                        </tr>
     
    3636            </div>
    3737            <div class="buttons">
    38                 <span class="button"><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span>
     38                <span class="button"><g:link class="create" params="${extraparams}"  action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span>
     39                                <span class="button"><g:link class="otherList" controller="person" action="list" params="${extraparams}">Edit Persons</g:link></span>
    3940            </div>
    4041            <div class="paginateButtons">
    41                 <g:paginate total="${personAffiliationInstanceTotal}" prev="&laquo; Previous" next="&raquo; Next" />
     42                <g:paginate params="${extraparams}"  total="${personAffiliationInstanceTotal}" prev="&laquo; Previous" next="&raquo; Next" />
    4243            </div>
    4344        </div>
Note: See TracChangeset for help on using the changeset viewer.