ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaco...@apache.org
Subject svn commit: r471378 - in /incubator/ofbiz/trunk/applications/content: webapp/content/layout/LayoutMenus.xml widget/layout/ widget/layout/LayoutScreens.xml
Date Sun, 05 Nov 2006 08:28:20 GMT
Author: jacopoc
Date: Sun Nov  5 00:28:19 2006
New Revision: 471378

URL: http://svn.apache.org/viewvc?view=rev&rev=471378
Log:
New Files needed by the new screens.

Added:
    incubator/ofbiz/trunk/applications/content/webapp/content/layout/LayoutMenus.xml   (with
props)
    incubator/ofbiz/trunk/applications/content/widget/layout/
    incubator/ofbiz/trunk/applications/content/widget/layout/LayoutScreens.xml   (with props)

Added: incubator/ofbiz/trunk/applications/content/webapp/content/layout/LayoutMenus.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/content/webapp/content/layout/LayoutMenus.xml?view=auto&rev=471378
==============================================================================
--- incubator/ofbiz/trunk/applications/content/webapp/content/layout/LayoutMenus.xml (added)
+++ incubator/ofbiz/trunk/applications/content/webapp/content/layout/LayoutMenus.xml Sun Nov
 5 00:28:19 2006
@@ -0,0 +1,60 @@
+<?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.
+-->
+
+<menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+        xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/widget-menu.xsd">
+    <menu name="layout" 
+        default-title-style="tabButton"
+        default-selected-style="tabButtonSelected"
+        default-menu-item-name="content"
+        orientation="horizontal"
+        menu-width="100%"
+        default-tooltip-style="tabletext" default-widget-style="tabButton"
+        default-associated-content-id="${userLogin.userLoginId}"
+        title="" type="simple">
+
+        <menu-item name="ListLayout" title="${uiLabelMap.CommonList}" >
+            <link target="ListLayout" target-window="_top" style="tabButton" />
+        </menu-item>
+        <menu-item name="FindLayout" title="${uiLabelMap.CommonFind}" >
+            <link target="FindLayout" target-window="_top" style="tabButton" />
+        </menu-item>
+        <menu-item name="EditLayout" title="${uiLabelMap.CommonEdit}" >
+            <link target="EditLayout" target-window="_top" style="tabButton" />
+        </menu-item>
+        <!--
+        <menu-item name="EditLayoutContent" title="${uiLabelMap.ContentSubContent}" >
+            <link target="EditLayoutContent" target-window="_top" style="tabButton" />
+        </menu-item>
+        <menu-item name="EditLayoutText" title="${uiLabelMap.ContentText}" >
+            <link target="EditLayoutText" target-window="_top" style="tabButton" />
+        </menu-item>
+        <menu-item name="EditLayoutHtml" title="${uiLabelMap.ContentHtml}" >
+            <link target="EditLayoutHtml" target-window="_top" style="tabButton" />
+        </menu-item>
+        <menu-item name="EditLayoutImage" title="${uiLabelMap.ContentImage}" >
+            <link target="EditLayoutImage" target-window="_top" style="tabButton" />
+        </menu-item>
+        <menu-item name="EditLayoutUrl" title="${uiLabelMap.ContentUrl}" >
+            <link target="EditLayoutUrl" target-window="_top" style="tabButton" />
+        </menu-item>
+        <menu-item name="EditLayoutFile" title="${uiLabelMap.ContentFile}" >
+            <link target="EditLayoutFile" target-window="_top" style="tabButton" />
+        </menu-item>
+        -->
+    </menu>
+</menus>

Propchange: incubator/ofbiz/trunk/applications/content/webapp/content/layout/LayoutMenus.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/ofbiz/trunk/applications/content/webapp/content/layout/LayoutMenus.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: incubator/ofbiz/trunk/applications/content/webapp/content/layout/LayoutMenus.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/ofbiz/trunk/applications/content/widget/layout/LayoutScreens.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/content/widget/layout/LayoutScreens.xml?view=auto&rev=471378
==============================================================================
--- incubator/ofbiz/trunk/applications/content/widget/layout/LayoutScreens.xml (added)
+++ incubator/ofbiz/trunk/applications/content/widget/layout/LayoutScreens.xml Sun Nov  5
00:28:19 2006
@@ -0,0 +1,72 @@
+<?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="FindLayout">
+        <section>
+            <condition>
+                <if-has-permission permission="CONTENTMGR" action="VIEW"/>
+            </condition>
+            <actions>
+                <set field="titleProperty" value="PageTitleFindLayout"/>
+                <set field="headerItem" value="Layout"/>
+                <set field="tabButtonItem" to-scope="user" value="FindLayout"/>
+                <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/>
+                <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer"
default-value="50"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="commonLayoutDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <container>
+                            <link target="EditLayoutSubContent?mode=add&amp;contentIdTo=TEMPLATE_MASTER"
text="${uiLabelMap.CommonCreateNew}" style="buttontext"/>
+                        </container>
+                        <include-form name="findLayout" location="component://content/webapp/content/layout/LayoutForms.xml"/>
+                        <include-form name="listFindLayout" location="component://content/webapp/content/layout/LayoutForms.xml"/>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="ListLayout">
+        <section>
+            <condition>
+                <if-has-permission permission="CONTENTMGR" action="VIEW"/>
+            </condition>
+            <actions>
+                <set field="titleProperty" value="PageTitleListLayout"/>
+                <set field="headerItem" value="Layout"/>
+                <set field="tabButtonItem" to-scope="user" value="ListLayout"/>
+                <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/>
+                <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer"
default-value="50"/>
+                <entity-and entity-name="ContentAssocDataResourceViewFrom" list-name="layoutList">
+                    <field-map field-name="caContentIdTo" value="TEMPLATE_MASTER"/>
+                </entity-and>
+            </actions>
+            <widgets>
+                <decorator-screen name="commonLayoutDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <container>
+                            <link target="EditLayoutSubContent?mode=add&amp;contentIdTo=TEMPLATE_MASTER"
text="${uiLabelMap.CommonCreateNew}" style="buttontext"/>
+                        </container>
+                        <include-form name="listListLayout" location="component://content/webapp/content/layout/LayoutForms.xml"/>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+</screens>

Propchange: incubator/ofbiz/trunk/applications/content/widget/layout/LayoutScreens.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/ofbiz/trunk/applications/content/widget/layout/LayoutScreens.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: incubator/ofbiz/trunk/applications/content/widget/layout/LayoutScreens.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message