Changeset 1654 for trunk/grails-app


Ignore:
Timestamp:
Mar 21, 2011, 10:34:04 AM (10 years ago)
Author:
robert@…
Message:

Fixed a bug in uploading files. The bug appeared in the simple wizard, but probably also in other places

Location:
trunk/grails-app
Files:
2 edited

Legend:

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

    r1509 r1654  
    8080        // Return data to the user
    8181        if( newfilename ) {
    82             render( newfilename );
     82            render( text: newfilename, contentType: "text/plain" );
    8383        } else {
    8484            response.status = 500;
  • trunk/grails-app/views/simpleWizard/simpleWizard/samples.gsp

    r1610 r1654  
    4040                                    </td>
    4141                                    <td width="100px">
     42                                        ${sampleForm?.importFile}
    4243                                                <af:fileField name="importfile" value="${sampleForm?.importFile}"/>
    4344                                    </td>
Note: See TracChangeset for help on using the changeset viewer.