[ \t]+$ => "" (empty) Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg) Of course this effort to remove trailing spaces has no functional implications. Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135 In the meantime I did some refactoring also in *.java and *.groovy files : ){ => ) { if( => if ( while( => while ( }else => } else else{ => else { switch( => switch ( try{ => try { }catch => } catch catch( => catch ( }finally{ => } finally { So these changes are also in this commit, should not be a problem anyway. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
192 lines
12 KiB
XML
192 lines
12 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="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"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="20"/>
|
|
</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/webapp/content/datasetup/DataSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="UpdateDataResourceType" location="component://content/webapp/content/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"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="20"/>
|
|
</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/webapp/content/datasetup/DataSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="UpdateCharacterSet" location="component://content/webapp/content/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"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="20"/>
|
|
</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/webapp/content/datasetup/DataSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="UpdateDataResourceTypeAttr" location="component://content/webapp/content/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"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="20"/>
|
|
</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/webapp/content/datasetup/DataSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="UpdateFileExtension" location="component://content/webapp/content/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"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="20"/>
|
|
</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/webapp/content/datasetup/DataSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="UpdateMetaDataPredicate" location="component://content/webapp/content/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"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="20"/>
|
|
</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/webapp/content/datasetup/DataSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="UpdateMimeType" location="component://content/webapp/content/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"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="20"/>
|
|
</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/webapp/content/datasetup/DataSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="UpdateMimeTypeHtmlTemplate" location="component://content/webapp/content/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/webapp/content/WEB-INF/actions/datasetup/DataCategoryPrep.groovy"/>
|
|
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="20"/>
|
|
</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/webapp/content/datasetup/DataSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="UpdateDataCategory" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
</screens> |