Ignore:
Timestamp:
Feb 1, 2011, 5:33:41 PM (10 years ago)
Author:
t.w.abma@…
Message:
  • importer doesn't crash on empty (null) rows in an Excel sheet anymore
  • template editor can be opened and the selected form fields will be remembered after a refresh
  • fixed Template lookup
File:
1 edited

Legend:

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

    r1461 r1469  
    2323            </td>
    2424            <td width="100px">
    25                 <af:fileFieldElement name="importfile" value=""/>
     25                <wizard:fileFieldElement name="importfile" value="${importer_params?.importfile}"/>
    2626            </td>
    2727        </tr>
     
    3131            </td>
    3232            <td width="100px">
    33                 <g:select name="sheetindex" from="${1..25}"/>
     33                <g:select name="sheetindex" from="${1..25}" value="${importer_params?.sheetindex}"/>
    3434            </td>
    3535        </tr>
     
    3939            </td>
    4040            <td width="100px">
    41                 <g:select name="headerrow" from="${1..10}"/>
     41                <g:select name="headerrow" from="${1..10}" value="${importer_params?.headerrow}"/>
    4242            </td>
    4343        </tr>
     
    4747            </td>
    4848            <td width="100px">
    49                 <g:select name="datamatrix_start" from="${2..10}"/>
     49                <g:select name="datamatrix_start" from="${2..10}" value="${importer_params?.datamatrix_start}"/>
    5050            </td>
    5151        </tr>
     
    5555            </td>
    5656            <td>
    57                 <g:select name="study.id" from="${studies}" optionKey="id"/>
     57                <g:select name="study.id" from="${studies}" optionKey="id" value="${importer_params?.study?.id}"/>
    5858            </td>
    5959        </tr>
     
    6767                id="entity"
    6868                from="${GdtService.cachedEntities}"
     69        value="${importer_params?.entity}"
    6970                optionValue="${{it.name}}"
    7071                optionKey="${{it.encoded}}"
     
    8182            </td>
    8283            <td>
    83                 <g:select rel="typetemplate" entity="none" name="template_id" optionKey="id" optionValue="name" from="[]" />
     84                <g:select rel="typetemplate" entity="none" name="template_id" optionKey="id" optionValue="name" from="[]" value="${importer_params?.template_id}"/>
    8485            </td>
    8586        </tr>
Note: See TracChangeset for help on using the changeset viewer.