Ignore:
Timestamp:
Apr 12, 2010, 3:11:34 PM (11 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

Location:
trunk/grails-app/domain/dbnp/studycapturing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/dbnp/studycapturing/TemplateEntity.groovy

    r336 r338  
    332332        * Return all templated fields defined in the underlying template of this entity
    333333        */
    334         def Set<TemplateField> giveFields() {
     334        def List<TemplateField> giveFields() {
    335335                return this.template.fields;
    336336        }
  • trunk/grails-app/domain/dbnp/studycapturing/TemplateField.groovy

    r300 r338  
    1515        String comment // help string for the user interface
    1616
    17     static hasMany = [listEntries : TemplateFieldListItem] // to store the entries to choose from when the type is 'item from predefined list'
     17        List listEntries
     18        static hasMany = [listEntries : TemplateFieldListItem] // to store the entries to choose from when the type is 'item from predefined list'
    1819
    1920        static constraints = {
Note: See TracChangeset for help on using the changeset viewer.