[ \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
186 lines
9.9 KiB
XML
186 lines
9.9 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="EditContentType">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditContentType"/>
|
|
<set field="headerItem" value="ContentSetupMenu"/>
|
|
<set field="currentMenuItemName" to-scope="user" value="type"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonContentSetupDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet id="ContentTypePanel" title="${uiLabelMap.PageTitleEditContentType}" collapsible="true">
|
|
<include-form name="AddContentType" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="UpdateContentType" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="EditContentTypeAttr">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditContentAttribute"/>
|
|
<set field="headerItem" value="ContentSetupMenu"/>
|
|
<set field="currentMenuItemName" to-scope="user" value="typeAttr"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonContentSetupDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet id="ContentTypeAttrPanel" title="${uiLabelMap.PageTitleEditContentAttribute}" collapsible="true">
|
|
<include-form name="AddContentTypeAttr" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="UpdateContentTypeAttr" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="EditContentAssocType">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditContentAssoc"/>
|
|
<set field="headerItem" value="ContentSetupMenu"/>
|
|
<set field="currentMenuItemName" to-scope="user" value="assocType"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonContentSetupDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet id="ContentAssocTypePanel" title="${uiLabelMap.PageTitleEditContentAssoc}" collapsible="true">
|
|
<include-form name="AddContentAssocType" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="UpdateContentAssocType" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="EditContentPurposeType">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditContentPurpose"/>
|
|
<set field="headerItem" value="ContentSetupMenu"/>
|
|
<set field="currentMenuItemName" to-scope="user" value="purposeType"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonContentSetupDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet id="ContentPurposeTypePanel" title="${uiLabelMap.PageTitleEditContentPurpose}" collapsible="true">
|
|
<include-form name="AddContentPurposeType" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="UpdateContentPurposeType" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="EditContentAssocPredicate">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditContentAssocPredicate"/>
|
|
<set field="headerItem" value="ContentSetupMenu"/>
|
|
<set field="currentMenuItemName" to-scope="user" value="assocPred"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonContentSetupDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet id="ContentAssocPredicatePanel" title="${uiLabelMap.PageTitleEditContentAssocPredicate}" collapsible="true">
|
|
<include-form name="AddContentAssocPredicate" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="UpdateContentAssocPredicate" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="EditContentPurposeOperation">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditContentPurposeOperation"/>
|
|
<set field="headerItem" value="ContentSetupMenu"/>
|
|
<set field="currentMenuItemName" to-scope="user" value="contentPurposeOp"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonContentSetupDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet id="ContentPurposeOperationPanel" title="${uiLabelMap.PageTitleEditContentPurposeOperation}" collapsible="true">
|
|
<include-form name="AddContentPurposeOperation" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="UpdateContentPurposeOperation" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="UserPermissions">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditContentUserPermissions"/>
|
|
<set field="headerItem" value="ContentSetupMenu"/>
|
|
<set field="currentMenuItemName" to-scope="user" value="userpermission"/>
|
|
<set field="webSitePublishPoint" from-field="parameters.webSitePublishPoint" default-value="OFBIZDOCROOT"/>
|
|
<script location="component://content/webapp/content/WEB-INF/actions/contentsetup/UserPermPrep.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonContentSetupDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html>
|
|
<html-template location="component://content/webapp/content/contentsetup/UserPermissions.ftl"/>
|
|
</html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditContentOperation">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditContentOperation"/>
|
|
<set field="headerItem" value="ContentSetupMenu"/>
|
|
<set field="currentMenuItemName" to-scope="user" value="contentOp"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonContentSetupDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet id="ContentOperationPanel" title="${uiLabelMap.PageTitleEditContentOperation}" collapsible="true">
|
|
<include-form name="AddContentOperation" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="UpdateContentOperation" location="component://content/webapp/content/contentsetup/ContentSetupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
</screens> |