Ignore:
Timestamp:
Mar 22, 2011, 4:33:49 PM (10 years ago)
Author:
t.w.abma@…
Message:
  • importer wizard webtest working
  • native file input HTML element didn't work inside AjaxFlow, so used hidden importfile variable
  • added check for development or test environment in configuration file
  • added webtestfiles folder to web-apps containing Excel files to test
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/importer/pages/_page_one.gsp

    r1536 r1658  
    2222                Choose your Excel file to import:
    2323            </td>
    24             <td width="100px">
    25                 <af:fileFieldElement name="importfile" value="${importer_params?.importfile}"/>
     24            <td width="100px">         
     25        <g:if env="test">
     26          <input type="hidden" name="importfile" value="NTC_Experiment_test4.xls"/>
     27        </g:if>
     28        <g:elseif env="development">
     29          <af:fileFieldElement name="importfile" value="${importer_params?.importfile}"/>
     30        </g:elseif>
     31
    2632            </td>
    2733        </tr>
Note: See TracChangeset for help on using the changeset viewer.