Changeset 585


Ignore:
Timestamp:
Jun 18, 2010, 12:49:53 PM (9 years ago)
Author:
duh
Message:
  • fixed issue with the wizard not working on Apache Tomcat production hosting (odd, as the problem did not surface in development)
Location:
trunk/grails-app
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/studycapturing/WizardController.groovy

    r578 r585  
    144144                                flow.remove('eventGroups')
    145145                                flow.remove('eventTemplates')
    146                                 println flow
    147146
    148147                                // set 'quicksave' variable
  • trunk/grails-app/taglib/dbnp/studycapturing/WizardTagLib.groovy

    r571 r585  
    12201220                // add a dummy field
    12211221                selectAttrs.from.add(0,'')
     1222                selectAttrs.keys.add(0,'')
    12221223
    12231224                out << "Person: " + select(selectAttrs)
     
    12291230         */
    12301231        def _roleSelect = { attrs ->
    1231                 println(attrs);
    12321232                def selectAttrs = new LinkedHashMap();
    12331233
     
    12431243                // add a dummy field
    12441244                selectAttrs.from.add(0,'')
     1245                selectAttrs.keys.add(0,'')
    12451246
    12461247                out << "Role: " + select(selectAttrs)
  • trunk/grails-app/views/wizard/pages/_study.gsp

    r527 r585  
    2727                Depending on the chosen template specific fields can be filled out. If none of the templates contain all the necessary fields, a new template can be defined (based on other templates).
    2828        </wizard:templateElement>
    29         <g:if test="${study}"><wizard:templateElements entity="${study}" /></g:if>
    30 
     29        <g:if test="${study}">
     30        <wizard:templateElements entity="${study}" />
    3131        <wizard:publicationSelectElement name="publication" value="${study?.publications}" />
    3232        <wizard:contactSelectElement name="contacts" value="${study?.persons}" />
     33        </g:if>
    3334
    3435</wizard:pageContent>
Note: See TracChangeset for help on using the changeset viewer.