git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539720 13f79535-47bb-0310-9956-ffa450edef68
69 lines
2.3 KiB
Plaintext
69 lines
2.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.
|
|
-->
|
|
|
|
<h1>${uiLabelMap.WebtoolsReadXPDLFile}</h1>
|
|
<br />
|
|
<p>${uiLabelMap.WebtoolsMessage25}</p>
|
|
<hr/>
|
|
<#if security.hasPermission("WORKFLOW_MAINT", session)>
|
|
<form method="post" action="<@ofbizUrl>readxpdl</@ofbizUrl>">
|
|
<table class="basic-table form-widget-table">
|
|
<tr>
|
|
<td class="label">${uiLabelMap.WebtoolsXpdlFilenameOrUrl}</td>
|
|
<td><input name='XPDL_LOCATION' type="text" size='60' value='${parameters.XPDL_LOCATION?if_exists}'></td>
|
|
<td><span class="label">${uiLabelMap.WebtoolsDataIsUrl}</span><input type="checkbox" name='XPDL_IS_URL'<#if parameters.XPDL_IS_URL?has_content> checked="checked"</#if>></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">${uiLabelMap.WebtoolsImportUpdateToDB}</td>
|
|
<td><input type="checkbox" name='XPDL_IMPORT'></td>
|
|
<td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td>
|
|
<td><input type="submit" value='${uiLabelMap.CommonView}'></td>
|
|
<td> </td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
|
|
<#if parameters.XPDL_LOCATION?has_content>
|
|
<#if messages?has_content>
|
|
<hr/>
|
|
<h1>${uiLabelMap.CommonErrorMessage3}:</h1>
|
|
<div>
|
|
<#list messages as message>
|
|
<p>${message}</p>
|
|
</#list>
|
|
</div>
|
|
</#if>
|
|
|
|
<#if toBeStored?has_content>
|
|
<#list toBeStored as entity>
|
|
<pre>${entity}</pre>
|
|
</#list>
|
|
<hr/>
|
|
<div>${uiLabelMap.WebtoolsMessage26} ${toBeStored.size()} ${uiLabelMap.WebtoolsEntities}.</div>
|
|
<#else>
|
|
<div>${uiLabelMap.WebtoolsNoEntitiesRead}.</div>
|
|
</#if>
|
|
</#if>
|
|
<#else>
|
|
<h3>${uiLabelMap.WebtoolsPermissionWorkflow}</h3>
|
|
</#if>
|