Changeset 1254
- Timestamp:
- Dec 9, 2010, 5:04:44 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/study/show.gsp
r1253 r1254 91 91 <!-- Show all template and domain fields, if filled --> 92 92 <g:each in="${studyFields}" var="field"> 93 <g:if test="${field ?.isFilledInList( studyList )}">93 <g:if test="${field && field?.isFilledInList( studyList )}"> 94 94 <tr> 95 95 <td>${field}</td> 96 96 <g:each in="${studyList}" var="studyInstance"> 97 97 <td> 98 <g:if test="${studyInstance.fieldExists(field ?.name)}">98 <g:if test="${studyInstance.fieldExists(field.name)}"> 99 99 <wizard:showTemplateField field="${field}" entity="${studyInstance}"/> 100 100 </g:if> … … 117 117 </g:if> 118 118 <g:else> 119 ${studyInstance.giveEventTemplates() ?.name.join(", ")}119 ${studyInstance.giveEventTemplates().name.join(", ")} 120 120 </g:else> 121 121 </td> … … 130 130 </g:if> 131 131 <g:else> 132 ${studyInstance.giveSamplingEventTemplates() ?.name.join(", ")}132 ${studyInstance.giveSamplingEventTemplates().name.join(", ")} 133 133 </g:else> 134 134 </td>
Note: See TracChangeset
for help on using the changeset viewer.