Ignore:
Timestamp:
Feb 3, 2010, 3:50:14 PM (10 years ago)
Author:
tabma
Message:
  • created taglibrary for importer and first implementation detection of (cell) datatypes
Location:
trunk/grails-app/views/importer
Files:
2 added
1 moved

Legend:

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

    • Property svn:keywords set to Date Author Rev
    r158 r169  
    1 <!--
    2   To change this template, choose Tools | Templates
    3   and open the template in the editor.
    4 -->
     1<%
     2        /**
     3         * First step in the importer, showing a preview of the uploaded data
     4         *
     5         * @author Tjeerd Abma
     6         * @since 20100129
     7         * @package importer
     8         *
     9         * Revision information:
     10         * $Rev$
     11         * $Author$
     12         * $Date$
     13         */
     14%>
    515
    616<%@ page contentType="text/html;charset=UTF-8" %>
     
    919  <head>
    1020    <meta name="layout" content="main"/>
     21    <link rel="stylesheet" href="${resource(dir: 'css', file: 'importer.css')}"/>
    1122    <title>Import wizard preview</title>
    1223  </head>
     
    1425    <h1>Import wizard preview</h1>
    1526    <p>Below you see a preview of your imported file, please correct the automatically detected types.</p>
    16     <table>
    17       <tr>
    18         <g:each var="column" in="${header}">
    19           <td>${column}
    20             <select name="celltype">
    21               <option>String</option>
    22               <option>Numeric</option>
    23               <option>Date</option>
    24               <option>Unknown</option>
    25             </td>
    26         </g:each>
    27       </tr>
    28   </table>
     27  <importer:preview header="${header}" datamatrix="${datamatrix}"/>
    2928  </body>
    3029</html>
Note: See TracChangeset for help on using the changeset viewer.