Files
ofbiz-framework/framework/webtools/template/entity/EntityImportDir.ftl
T
Jacques Le Roux be6270e583 Improved: Data of tenant specific component gets loaded in all instances (OFBIZ-6065)
The tenant relevant Gradle tasks are:

OFBiz Server tasks
------------------
createTenant - Create a new tenant in your environment
loadAdminUserLogin - Create admin user with temporary password equal to ofbiz.
You must provide userLoginId
loadAll - Load default data; meant for OFBiz development, testing, and demo
purposes
loadTenant - Load data using tenantId

loadAll is the new "ant load-data" and should clearly only used for
"OFBiz development, testing, and demo purposes".

Remains the import functionalities. We don't want to get to far with that,
a warning is enough.

Thanks: Pierre Smits for report
2022-07-27 16:22:20 +02:00

80 lines
3.3 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>
<p>${uiLabelMap.WebtoolsXMLImportInfoBewareTenant}</p>
<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>