git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589550 13f79535-47bb-0310-9956-ffa450edef68
384 lines
19 KiB
XML
384 lines
19 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
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.
|
|
-->
|
|
<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
|
|
<screen name="FindDataResource">
|
|
<section>
|
|
<actions>
|
|
<set field="headerItem" value="DataResource"/>
|
|
<set field="tabButtonItem" value="findDataResource"/>
|
|
<set field="titleProperty" value="PageTitleFindDataResource"/>
|
|
<set field="viewIndex" from-field="requestParameters.VIEW_INDEX" type="Integer"/>
|
|
<set field="viewSize" from-field="requestParameters.VIEW_SIZE" type="Integer" default-value="30"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonDataResourceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-form name="FindDataResource" location="component://content/widget/content/DataResourceForms.xml"/>
|
|
<label style="head1" text="${uiLabelMap.PageTitleListDataResource}"></label>
|
|
<include-form name="ListDataResource" location="component://content/widget/content/DataResourceForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="navigateDataResource">
|
|
<section>
|
|
<actions>
|
|
<set field="layoutSettings.javaScripts[+0]" value="/images/dojo/dojo.js" global="true"/>
|
|
<set field="titleProperty" value="PageTitleNavigateDataResources"/>
|
|
<set field="tabButtonItem" value="navigateDataResource"/>
|
|
<set field="labelTitleProperty" value="PageTitleNavigateDataResources"/>
|
|
<entity-and entity-name="DataCategory" list-name="subCategories">
|
|
<field-map field-name="parentCategoryId" value="ROOT"/>
|
|
</entity-and>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonDataResourceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<widgets>
|
|
<container id="cmsnav" style="left-border">
|
|
<include-screen name="navigateMenu"/>
|
|
</container>
|
|
<container id="cmsmain" style="nocolumns">
|
|
<container id="cmscontent">
|
|
<include-screen name="listDataResources"/>
|
|
</container>
|
|
</container>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<container id="norender" style="tableheadtext">
|
|
<label text="${uiLabelMap.ContentCMSNotExist}"/>
|
|
</container>
|
|
</fail-widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="navigateMenu">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific>
|
|
<html>
|
|
<html-template location="component://content/webapp/content/content/nav.ftl"/>
|
|
</html>
|
|
</platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="listDataResources">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/>
|
|
</actions>
|
|
<widgets>
|
|
<include-form name="ListDataResource" location="component://content/widget/content/DataResourceForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="LookupDataResource">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="title" value="${uiLabelMap.PageTitleLookupDataResource}"/>
|
|
<set field="viewIndex" from-field="requestParameters.VIEW_INDEX" type="Integer"/>
|
|
<set field="viewSize" from-field="requestParameters.VIEW_SIZE" type="Integer" default-value="20"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<decorator-section name="body">
|
|
<include-form name="LookupDataResource" location="component://content/widget/content/DataResourceForms.xml"/>
|
|
<include-form name="ListLookupDataResource" location="component://content/widget/content/DataResourceForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="EditDataResource">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditDataResource"/>
|
|
<set field="headerItem" value="DataResource"/>
|
|
<set field="tabButtonItem" value="editDataResource"/>
|
|
<set field="dataResourceId" from-field="parameters.dataResourceId"/>
|
|
<entity-one entity-name="DataResource" value-name="currentValue"/>
|
|
<entity-and entity-name="DataCategory" list-name="dataCategoryList"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonDataResourceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-form name="EditDataResource" location="component://content/widget/content/DataResourceForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<!--
|
|
<screen name="BrowseDataResource">
|
|
<section>
|
|
<actions>
|
|
<set field="headerItem" value="DataResource"/>
|
|
<set field="currentMenuItemName" to-scope="user" value="browsedataresource"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="common-decorator">
|
|
<decorator-section name="body">
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
-->
|
|
<screen name="UploadImage">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleUploadImageDataResource"/>
|
|
<set field="headerItem" value="DataResource"/>
|
|
<set field="tabButtonItem" value="uploadImage"/>
|
|
<entity-one entity-name="DataResource" value-name="currentValue">
|
|
<field-map field-name="dataResourceId" env-name="parameters.dataResourceId"/>
|
|
</entity-one>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonDataResourceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-form name="ImageUpload" location="component://content/widget/content/DataResourceForms.xml"/>
|
|
<content dataresource-id="${currentValue.dataResourceId}"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<!--screen name="AddDataResource">
|
|
<section>
|
|
<actions>
|
|
<set field="headerItem" value="DataResource"/>
|
|
<set field="currentMenuItemName" to-scope="user" value="adddataresource"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonDataResourceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-form name="AddDataResource" location="component://content/widget/content/DataResourceForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen-->
|
|
<screen name="AddDataResourceText">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleAddDataResourceText"/>
|
|
<set field="headerItem" value="DataResource"/>
|
|
<set field="tabButtonItem" value="adddataresourcetext"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonDataResourceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-form name="AddDataResourceText" location="component://content/widget/content/DataResourceForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="AddDataResourceUrl">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleAddDataResourceUrl"/>
|
|
<set field="headerItem" value="DataResource"/>
|
|
<set field="tabButtonItem" value="adddataresourceurl"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonDataResourceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-form name="AddDataResourceUrl" location="component://content/widget/content/DataResourceForms.xml"/>
|
|
</decorator-section>
|
|
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="AddDataResourceUpload">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleAddDataResourceUpload"/>
|
|
<set field="headerItem" value="DataResource"/>
|
|
<set field="tabButtonItem" value="adddataresourceupload"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonDataResourceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-form name="AddDataResourceUpload" location="component://content/widget/content/DataResourceForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditDataResourceText">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditDataResourceText"/>
|
|
<set field="headerItem" value="DataResource"/>
|
|
<set field="tabButtonItem" value="editdataresourcetext"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonDataResourceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-form name="EditDataResourceText" location="component://content/widget/content/DataResourceForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditDataResourceUrl">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditDataResourceUrl"/>
|
|
<set field="headerItem" value="DataResource"/>
|
|
<set field="tabButtonItem" value="editdataresourceurl"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonDataResourceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-form name="EditDataResourceUrl" location="component://content/widget/content/DataResourceForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditDataResourceUpload">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditDataResourceUpload"/>
|
|
<set field="headerItem" value="DataResource"/>
|
|
<set field="tabButtonItem" value="editdataresourceupload"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonDataResourceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-form name="EditDataResourceUpload" location="component://content/widget/content/DataResourceForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditElectronicText">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditElectronicText"/>
|
|
<set field="headerItem" value="DataResource"/>
|
|
<set field="tabButtonItem" value="editElectronicText"/>
|
|
<entity-one entity-name="DataResource" value-name="currentValue"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonDataResourceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-form name="EditElectronicText" location="component://content/widget/content/DataResourceForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditDataResourceAttribute">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditDataResourceAttribute"/>
|
|
<set field="headerItem" value="DataResource"/>
|
|
<set field="tabButtonItem" value="editDataResourceAttribute"/>
|
|
<entity-one entity-name="DataResource" value-name="currentValue">
|
|
<field-map field-name="dataResourceId" env-name="parameters.dataResourceId"/>
|
|
</entity-one>
|
|
<get-related value-name="currentValue" relation-name="DataResourceAttribute" list-name="dataResourceAttribute"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonDataResourceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-form name="ListDataResourceAttribute" location="component://content/widget/content/DataResourceForms.xml"/>
|
|
<include-form name="AddDataResourceAttribute" location="component://content/widget/content/DataResourceForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditDataResourceRole">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditDataResourceRole"/>
|
|
<set field="headerItem" value="DataResource"/>
|
|
<set field="tabButtonItem" value="editDataResourceRole"/>
|
|
<entity-one entity-name="DataResource" value-name="currentValue">
|
|
<field-map field-name="dataResourceId" env-name="parameters.dataResourceId"/>
|
|
</entity-one>
|
|
<get-related value-name="currentValue" relation-name="DataResourceRole" list-name="dataResourceRole"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonDataResourceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-form name="ListDataResourceRole" location="component://content/widget/content/DataResourceForms.xml"/>
|
|
<include-form name="AddDataResourceRole" location="component://content/widget/content/DataResourceForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditDataResourceProductFeatures">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditDataResourceProductFeatures"/>
|
|
<set field="headerItem" value="DataResource"/>
|
|
<set field="tabButtonItem" value="editDataResourceProductFeatures"/>
|
|
<entity-one entity-name="DataResource" value-name="currentValue">
|
|
<field-map field-name="dataResourceId" env-name="parameters.dataResourceId"/>
|
|
</entity-one>
|
|
<get-related value-name="currentValue" relation-name="ProductFeatureDataResource" list-name="productFeatureDataResource"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonDataResourceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-form name="ListDataResourceProductFeature" location="component://content/widget/content/DataResourceForms.xml"/>
|
|
<include-form name="AddDataResourceProductFeature" location="component://content/widget/content/DataResourceForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditHtmlText">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditHtmlText"/>
|
|
<set field="headerItem" value="DataResource"/>
|
|
<set field="tabButtonItem" value="editHtmlText"/>
|
|
<entity-one entity-name="DataResource" value-name="currentValue"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonDataResourceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-form name="EditHtmlText" location="component://content/widget/content/DataResourceForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
</screens>
|