Ignore:
Timestamp:
Dec 16, 2010, 3:42:15 PM (12 years ago)
Author:
t.w.abma@…
Message:
  • rewrite of the Importer Wizard into an Ajaxflow
File:
1 edited

Legend:

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

    r1216 r1277  
    3737        style   : 'addMore',
    3838        onClose : function(scope) {
    39             //refreshWebFlow();?
     39            refreshFlow();           
    4040             //location.reload();
    41              updatefield = '<input type = "hidden" name="updatefield" value="true" / >';
     41             /*updatefield = '<input type = "hidden" name="updatefield" value="true" / >';
    4242             $('#missingpropertiesform').append(updatefield);
    43              $('#missingpropertiesform').submit();
     43             $('#missingpropertiesform').submit();*/
    4444        }
    4545    });
    46 
    4746
    4847  });
     
    6362  });
    6463</script>
    65 
    66 <g:if test="${invalidentities}">
    67   <p><b>There are ${invalidentities} entities which could not be validated, they are indicated by a red color, please correct them before continuing.</b></p>
     64 
     65<g:if test="${importer_invalidentities}"><br/><br/>
     66  <b>There are ${importer_invalidentities} entities which could not be validated, they are indicated by a red color, please correct them before continuing.</b>
    6867</g:if>
    6968
    7069<div class="wizard" id="wizard">
    71 <g:form name="missingpropertiesform" id="missingpropertiesform" action="saveMissingProperties">
    7270    <div class="table">
    7371        <g:set var="showHeader" value="${true}"/>
     
    9290    </div>
    9391    <div>
    94         <br/>
    95         <input type="submit" value="Accept changes">
     92        <br/>   
    9693    </div>
    97 </g:form>   
    9894</div>
Note: See TracChangeset for help on using the changeset viewer.