Improves the information provided about importing and loadAll Gradle task loadTenant Gradle task should be used when necessary
84 lines
3.5 KiB
Plaintext
84 lines
3.5 KiB
Plaintext
<#--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
|
|
<div class="page-title"><span>${uiLabelMap.WebtoolsImportToDataSource}</span></div>
|
|
<p>${uiLabelMap.WebtoolsXMLImportInfo}</p>
|
|
<#assign tenantUsed = Static["org.apache.ofbiz.entity.util.EntityUtilProperties"].getPropertyValue("general", "multitenant", "N", delegator)>
|
|
<#if tenantUsed=="Y">
|
|
<p>${uiLabelMap.WebtoolsXMLImportInfoBewareTenant1}</p>
|
|
<p>${uiLabelMap.WebtoolsXMLImportInfoBewareTenant2}</p>
|
|
</#if>
|
|
<hr />
|
|
|
|
<form class="basic-form" method="post" action="<@ofbizUrl>entityImportDir</@ofbizUrl>">
|
|
<table class="basic-table" cellspacing="0">
|
|
<tbody>
|
|
<tr>
|
|
<td class="label">
|
|
<label>${uiLabelMap.WebtoolsAbsolutePath}:</label>
|
|
</td>
|
|
<td>
|
|
<input type="text" size="60" name="path" value="${path!}"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">
|
|
</td>
|
|
<td>
|
|
<label><input type="checkbox" name="onlyInserts" <#if onlyInserts??>checked="checked"</#if>/>${uiLabelMap.WebtoolsOnlyInserts}</label>
|
|
<label><input type="checkbox" name="maintainTimeStamps" <#if keepStamps??>checked="checked"</#if>/>${uiLabelMap.WebtoolsMaintainTimestamps}</label>
|
|
<label><input type="checkbox" name="createDummyFks" <#if createDummyFks??>checked="checked"</#if>/>${uiLabelMap.WebtoolsCreateDummyFks}</label>
|
|
<label><input type="checkbox" name="deleteFiles" <#if (deleteFiles??)>checked="checked"</#if>/>${uiLabelMap.WebtoolsDeleteFiles}</label>
|
|
<label><input type="checkbox" name="checkDataOnly" <#if checkDataOnly??>checked="checked"</#if>/>${uiLabelMap.WebtoolsCheckDataOnly}</label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">
|
|
<label>${uiLabelMap.WebtoolsTimeoutSeconds}</label>
|
|
</td>
|
|
<td>
|
|
<input type="text" size="6" value="${txTimeoutStr?default("7200")}" name="txTimeout"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">
|
|
<label>${uiLabelMap.WebtoolsPause}</label>
|
|
</td>
|
|
<td>
|
|
<input type="text" size="6" value="${filePauseStr?default("0")}" name="filePause"/><br />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">
|
|
</td>
|
|
<td colspan="4">
|
|
<input type="submit" value="${uiLabelMap.WebtoolsImportFile}"/>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</form>
|
|
<#if messages??>
|
|
<hr />
|
|
<h1>${uiLabelMap.WebtoolsResults}:</h1>
|
|
<#list messages as message>
|
|
<p>${message}</p>
|
|
</#list>
|
|
</#if>
|