Ignore:
Timestamp:
Mar 5, 2010, 3:21:52 PM (9 years ago)
Author:
duh
Message:

Refectored version of the wizard

  • initial template page has been removed, now is a generic 'start' page where one (in the future) may create a new study, or load and modify an already stored study
  • study page incorporates study template select element, but does not yet incorporate the study template fields
  • subjects page now allows creation of subjects based on a template. This change also implied the study page altogether had to change into a seperate table entity. Now the the page lists as many tables as unique templates have been selected. These tables contain all subjects that were added using that particular template. NOTE: data is not stored yet, due to the fact that templateEntity does not work properly yey (key/value pairs need to be set correctly when calling the setTemplate method)
  • the JavaScript? now handles multiple tables in a page as well, and automatically initializes any underlying slider div if that is required
File:
1 edited

Legend:

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

    r236 r238  
    1212 */
    1313class Template implements Serializable {
    14 
    1514        String name
    1615        Class entity
     
    2120        static constraints = {
    2221                name(unique:['entity'])
    23 
    2422        }
    2523
     
    6462                def results = []
    6563
    66                 // this should not work in static context, however it does so I'll keep
     64                // 'this' should not work in static context, however it does so I'll keep
    6765                // this in for now :)
    6866                this.findAll().each() {
Note: See TracChangeset for help on using the changeset viewer.