| <?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" |
| xmlns="http://ofbiz.apache.org/Widget-Screen" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Screen http://ofbiz.apache.org/dtds/widget-screen.xsd"> |
| <screen name="EditDataResourceType"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditDataResourceType"/> |
| <set field="headerItem" value="DataResourceSetupMenu"/> |
| <set field="tabButtonItem" to-scope="user" value="EditDataResourceType"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/> |
| <property-to-field resource="widget" property="widget.form.defaultViewSize" field="viewSizeDefaultValue"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <screenlet id="DataResourceTypePanel" title="${uiLabelMap.PageTitleEditDataResourceType}" collapsible="true"> |
| <include-form name="AddDataResourceType" location="component://content/widget/datasetup/DataSetupForms.xml"/> |
| </screenlet> |
| <include-form name="UpdateDataResourceType" location="component://content/widget/datasetup/DataSetupForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditCharacterSet"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditDataResourceCharacterSet"/> |
| <set field="headerItem" value="DataResourceSetupMenu"/> |
| <set field="tabButtonItem" to-scope="user" value="EditCharacterSet"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/> |
| <property-to-field resource="widget" property="widget.form.defaultViewSize" field="viewSizeDefaultValue"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <screenlet id="DataResourceCharacterSetPanel" title="${uiLabelMap.PageTitleEditDataResourceCharacterSet}" collapsible="true"> |
| <include-form name="AddCharacterSet" location="component://content/widget/datasetup/DataSetupForms.xml"/> |
| </screenlet> |
| <include-form name="UpdateCharacterSet" location="component://content/widget/datasetup/DataSetupForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditDataResourceTypeAttr"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditDataResourceTypeAttr"/> |
| <set field="headerItem" value="DataResourceSetupMenu"/> |
| <set field="tabButtonItem" to-scope="user" value="EditDataResourceTypeAttr"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/> |
| <property-to-field resource="widget" property="widget.form.defaultViewSize" field="viewSizeDefaultValue"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <screenlet id="DataResourceTypeAttrPanel" title="${uiLabelMap.PageTitleEditDataResourceTypeAttr}" collapsible="true"> |
| <include-form name="AddDataResourceTypeAttr" location="component://content/widget/datasetup/DataSetupForms.xml"/> |
| </screenlet> |
| <include-form name="UpdateDataResourceTypeAttr" location="component://content/widget/datasetup/DataSetupForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditFileExtension"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditDataResourceFileExtension"/> |
| <set field="headerItem" value="DataResourceSetupMenu"/> |
| <set field="tabButtonItem" to-scope="user" value="EditFileExtension"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/> |
| <property-to-field resource="widget" property="widget.form.defaultViewSize" field="viewSizeDefaultValue"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <screenlet id="FileExtensionPanel" title="${uiLabelMap.PageTitleEditDataResourceFileExtension}" collapsible="true"> |
| <include-form name="AddFileExtension" location="component://content/widget/datasetup/DataSetupForms.xml"/> |
| </screenlet> |
| <include-form name="UpdateFileExtension" location="component://content/widget/datasetup/DataSetupForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditMetaDataPredicate"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditDataResourceMetaDataPredicate"/> |
| <set field="headerItem" value="DataResourceSetupMenu"/> |
| <set field="tabButtonItem" to-scope="user" value="EditMetaDataPredicate"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/> |
| <property-to-field resource="widget" property="widget.form.defaultViewSize" field="viewSizeDefaultValue"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <screenlet id="MetaDataPredicatePanel" title="${uiLabelMap.PageTitleEditDataResourceMetaDataPredicate}" collapsible="true"> |
| <include-form name="AddMetaDataPredicate" location="component://content/widget/datasetup/DataSetupForms.xml"/> |
| </screenlet> |
| <include-form name="UpdateMetaDataPredicate" location="component://content/widget/datasetup/DataSetupForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditMimeType"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditDataResourceMimeType"/> |
| <set field="headerItem" value="DataResourceSetupMenu"/> |
| <set field="tabButtonItem" to-scope="user" value="EditMimeType"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/> |
| <property-to-field resource="widget" property="widget.form.defaultViewSize" field="viewSizeDefaultValue"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <screenlet id="DataResourceMimeTypePanel" title="${uiLabelMap.PageTitleEditDataResourceMimeType}" collapsible="true"> |
| <include-form name="AddMimeType" location="component://content/widget/datasetup/DataSetupForms.xml"/> |
| </screenlet> |
| <include-form name="UpdateMimeType" location="component://content/widget/datasetup/DataSetupForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditMimeTypeHtmlTemplate"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditDataResourceMimeTypeHtmlTemplate"/> |
| <set field="headerItem" value="DataResourceSetupMenu"/> |
| <set field="tabButtonItem" to-scope="user" value="EditMimeTypeHtmlTemplate"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/> |
| <property-to-field resource="widget" property="widget.form.defaultViewSize" field="viewSizeDefaultValue"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <screenlet id="MimeTypeHtmlTemplatePanel" title="${uiLabelMap.PageTitleEditDataResourceMimeTypeHtmlTemplate}" collapsible="true"> |
| <include-form name="CreateMimeTypeHtmlTemplate" location="component://content/widget/datasetup/DataSetupForms.xml"/> |
| </screenlet> |
| <include-form name="UpdateMimeTypeHtmlTemplate" location="component://content/widget/datasetup/DataSetupForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditDataCategory"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditDataResourceCategory"/> |
| <set field="headerItem" value="DataResourceSetupMenu"/> |
| <set field="tabButtonItem" to-scope="user" value="EditDataCategory"/> |
| <script location="component://content/groovyScripts/datasetup/DataCategoryPrep.groovy"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/> |
| <property-to-field resource="widget" property="widget.form.defaultViewSize" field="viewSizeDefaultValue"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <screenlet id="DataResourceCategoryPanel" title="${uiLabelMap.PageTitleEditDataResourceCategory}" collapsible="true"> |
| <include-form name="AddDataCategory" location="component://content/widget/datasetup/DataSetupForms.xml"/> |
| </screenlet> |
| <include-form name="UpdateDataCategory" location="component://content/widget/datasetup/DataSetupForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| </screens> |