Now there are just 10 remaining JPublish screens (all in the layout/template menu)... I've tried to work on them but I'm giving up since they seem too broken/incomplete/dirty and I'm too ignorant about them to try to understand how they work from the source code: maybe someone out there that knows better than me that pages (and their statsus) could help with this, at least with a few suggestions. It would be really great to finalize this effort because these JPublish pages are the LAST 10 ones that we have in OFBiz. git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472420 13f79535-47bb-0310-9956-ffa450edef68
162 lines
8.3 KiB
XML
162 lines
8.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Copyright 2001-2006 The Apache Software Foundation
|
|
|
|
Licensed 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://www.ofbiz.org/dtds/widget-screen.xsd">
|
|
<screen name="EditDataResourceType">
|
|
<section>
|
|
<condition>
|
|
<if-has-permission permission="CONTENTMGR" action="UPDATE"/>
|
|
</condition>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditDataResourceType"/>
|
|
<set field="headerItem" value="DataResourceSetupMenu"/>
|
|
<set field="tabButtonItem" to-scope="user" value="EditDataResourceType"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-form name="UpdateDataResourceType" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/>
|
|
<include-form name="AddDataResourceType" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditCharacterSet">
|
|
<section>
|
|
<condition>
|
|
<if-has-permission permission="CONTENTMGR" action="UPDATE"/>
|
|
</condition>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditCharacterSet"/>
|
|
<set field="headerItem" value="DataResourceSetupMenu"/>
|
|
<set field="tabButtonItem" to-scope="user" value="EditCharacterSet"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-form name="UpdateCharacterSet" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/>
|
|
<include-form name="AddCharacterSet" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditDataResourceTypeAttr">
|
|
<section>
|
|
<condition>
|
|
<if-has-permission permission="CONTENTMGR" action="UPDATE"/>
|
|
</condition>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditDataResourceTypeAttr"/>
|
|
<set field="headerItem" value="DataResourceSetupMenu"/>
|
|
<set field="tabButtonItem" to-scope="user" value="EditDataResourceTypeAttr"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-form name="UpdateDataResourceTypeAttr" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/>
|
|
<include-form name="AddDataResourceTypeAttr" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditFileExtension">
|
|
<section>
|
|
<condition>
|
|
<if-has-permission permission="CONTENTMGR" action="UPDATE"/>
|
|
</condition>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditFileExtension"/>
|
|
<set field="headerItem" value="DataResourceSetupMenu"/>
|
|
<set field="tabButtonItem" to-scope="user" value="EditFileExtension"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-form name="UpdateFileExtension" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/>
|
|
<include-form name="AddFileExtension" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditMetaDataPredicate">
|
|
<section>
|
|
<condition>
|
|
<if-has-permission permission="CONTENTMGR" action="UPDATE"/>
|
|
</condition>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditMetaDataPredicate"/>
|
|
<set field="headerItem" value="DataResourceSetupMenu"/>
|
|
<set field="tabButtonItem" to-scope="user" value="EditMetaDataPredicate"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-form name="UpdateMetaDataPredicate" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/>
|
|
<include-form name="AddMetaDataPredicate" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditMimeType">
|
|
<section>
|
|
<condition>
|
|
<if-has-permission permission="CONTENTMGR" action="UPDATE"/>
|
|
</condition>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditMimeType"/>
|
|
<set field="headerItem" value="DataResourceSetupMenu"/>
|
|
<set field="tabButtonItem" to-scope="user" value="EditMimeType"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-form name="UpdateMimeType" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/>
|
|
<include-form name="AddMimeType" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditDataCategory">
|
|
<section>
|
|
<condition>
|
|
<if-has-permission permission="CONTENTMGR" action="UPDATE"/>
|
|
</condition>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditMimeType"/>
|
|
<set field="headerItem" value="DataResourceSetupMenu"/>
|
|
<set field="tabButtonItem" to-scope="user" value="EditDataCategory"/>
|
|
<script location="component://content/webapp/content/WEB-INF/actions/datasetup/datacategoryprep.bsh"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="commonDataResourceSetupDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-form name="UpdateDataCategory" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/>
|
|
<include-form name="AddDataCategory" location="component://content/webapp/content/datasetup/DataSetupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
</screens>
|