Ignore:
Timestamp:
Apr 12, 2010, 3:11:34 PM (12 years ago)
Author:
keesvb
Message:

changed TemplateEntity?.giveFields to reflect ordering as well, also applied ordering to TemplateFieldListItems?, updated Sandbox to display mouse template fields

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/sandbox/index.gsp

    r299 r338  
    3232<h2>Events</h2>
    3333<% println studyInstance.events.eventDescription.protocol.name %>
     34<h2>Subject Fields</h2>
     35<table>
     36        <tr>
     37                <td>Source</td>
     38                <td>Name</td>
     39                <td>Type</td>
     40        </tr>
     41        <g:each in="${subject.giveDomainFields()}" var="field">
     42            <tr>
     43                    <td>Domain field</td>
     44                        <td>${field.key}</td>
     45                         <td>${field.value}</td>
     46                </tr>
     47        </g:each>
     48        <g:each in="${subject.giveFields()}" var="field">
     49            <tr>
     50                        <td>Template field</td>
     51                    <td>${field.name}</td>
     52                         <td>${field.type}</td>
     53                </tr>
     54        </g:each>
     55
     56</table>
    3457</body>
    3558</html>
Note: See TracChangeset for help on using the changeset viewer.