Changeset 151


Ignore:
Timestamp:
Jan 29, 2010, 6:26:23 PM (13 years ago)
Author:
jahn
Message:

Some cleaning up done.

File:
1 edited

Legend:

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

    r150 r151  
    4747
    4848    def showMyProtocol = {
    49         println params  // dbg, remove
    5049
    5150        def protocol = ( params.protocolid) ?  Protocol.get(params.protocolid) : Protocol.find("for Protocol id")
     
    5352        def protocolInstance = event.eventDescription.protocol
    5453
    55         println params
    56         println event
    57         println protocol
    58         println protocolInstance
    59 
    6054        if( protocolInstance && protocolInstance && protocol.id==protocolInstance.id ) {
    6155            def parameterStringValues = event.parameterStringValues
    62             println parameterStringValues
    63             print "showFull"
    6456            render( view:"showMyProtocolFilled", model:["protocolInstance":protocolInstance,"event":event,"parameterStringValues":parameterStringValues] )
    6557        }
    6658        else {
    67             print "showEmpty"
    6859            if(protocol!=null) render( view: "showMyProtocolEmpty", model:["protocolInstance":protocol] )
    6960            else               render( "NULL" )
    7061        }
    7162}
    72 
    7363
    7464
Note: See TracChangeset for help on using the changeset viewer.