Ignore:
Timestamp:
Apr 21, 2011, 3:49:23 PM (12 years ago)
Author:
s.h.sikkema@…
Message:

fixed bug where preview of small export would fail; changed assay excel export to CSV because of excel limitations; ajaxGetAssays correctly handles case of no available studies; RelTime? is output as human readable string in export; units are displayed in header of export; submit button is disabled when no assays are available; added instructions to assay export

Location:
trunk/grails-app/views/assay/assayExport
Files:
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/assay/assayExport/compileExportData.gsp

    r1716 r1790  
    4242  </table>
    4343
    44   <g:link action="excelExport" event="ok">OK</g:link>
    45   <g:link action="excelExport" event="cancel">Cancel</g:link>
     44  <g:link action="assayExport" event="ok">OK</g:link>
     45  <g:link action="assayExport" event="cancel">Cancel</g:link>
    4646
    4747  </body>
  • trunk/grails-app/views/assay/assayExport/selectAssay.gsp

    r1716 r1790  
    1515        var a = eval(jsonData);
    1616        var sel = $('#'+selectID).empty();
     17
     18        $('#submit').attr("disabled", a.length == 0);
    1719
    1820        $(a).each(function(i, el){
     
    3638  <h1>Select the assay you want to export data from</h1>
    3739
    38   <g:form name="assaySelect" action="excelExport">
     40  With this exporter you can export (meta) data about samples from an assay to an Excel file.
     41  First, select a study from the first list and then select an assay from that study from the second list.<br />
     42
     43  <g:form name="assaySelect" action="assayExport">
    3944    <g:select optionKey="id" optionValue="title" name="studyId" from="${userStudies}" id="study"
    4045      onChange="${remoteFunction(controller:'study',action:'ajaxGetAssays',params:'\'id=\'+escape(this.value)',onComplete: 'updateAssay(XMLHttpRequest.responseText, \'assay\')')}"/>
    4146    <g:select optionKey="id" name="assayId" id="assay" from=""/>
    42     <g:submitButton name="submit" value="Submit"/>
     47    <g:submitButton name="submit" value="Submit" id="submit"/>
    4348  </g:form>
    4449  </body>
  • trunk/grails-app/views/assay/assayExport/selectFields.gsp

    r1716 r1790  
    4040    <h1>Select the columns that you want to be included in the resulting Excel file</h1>
    4141
    42     <g:form name="fieldSelectForm" action="excelExport">
     42    In this step you can make a selection from the available fields stored in the database related to the samples, including measurement data from a module (if available).
     43
     44    <g:form name="fieldSelectForm" action="assayExport">
    4345
    4446      <g:set var="catNum" value="${0}"/>
Note: See TracChangeset for help on using the changeset viewer.