You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2006/11/08 14:55:13 UTC

svn commit: r472496 - in /incubator/ofbiz/trunk/applications/content: webapp/content/WEB-INF/actions/includes/ webapp/content/WEB-INF/actions/layout/ widget/layout/

Author: jacopoc
Date: Wed Nov  8 05:55:12 2006
New Revision: 472496

URL: http://svn.apache.org/viewvc?view=rev&rev=472496
Log:
Removed other unused content's resources.

Removed:
    incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/actions/includes/addprep.bsh
    incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/actions/includes/browseprep.bsh
    incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/actions/includes/crudprep.bsh
    incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/actions/includes/editdataprep.bsh
    incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/actions/includes/editprep.bsh
    incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/actions/includes/fillindataresource.bsh
    incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/actions/includes/listprep.bsh
    incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/actions/includes/lruprep.bsh
    incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/actions/includes/lruprepDataResource.bsh
    incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/actions/includes/qbefind.bsh
    incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/actions/includes/redirectpage.bsh
    incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/actions/includes/relatedcomplexprep.bsh
    incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/actions/includes/relatedoneprep.bsh
    incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/actions/includes/relatedprep.bsh
    incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/actions/includes/requiredrole.bsh
    incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/actions/includes/uploadprep.bsh
    incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/actions/includes/userdateprep.bsh
    incubator/ofbiz/trunk/applications/content/webapp/content/WEB-INF/actions/layout/wrapprep.bsh
Modified:
    incubator/ofbiz/trunk/applications/content/widget/layout/LayoutScreens.xml

Modified: 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=diff&rev=472496&r1=472495&r2=472496
==============================================================================
--- incubator/ofbiz/trunk/applications/content/widget/layout/LayoutScreens.xml (original)
+++ incubator/ofbiz/trunk/applications/content/widget/layout/LayoutScreens.xml Wed Nov  8 05:55:12 2006
@@ -69,4 +69,31 @@
             </widgets>
         </section>
     </screen>
+    <screen name="EditLayout">
+        <section>
+            <condition>
+                <if-has-permission permission="CONTENTMGR" action="VIEW"/>
+            </condition>
+            <actions>
+                <set field="titleProperty" value="PageTitleEditLayout"/>
+                <set field="headerItem" value="Layout"/>
+                <set field="tabButtonItem" to-scope="user" value="EditLayout"/>
+                <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="ContentDataResourceView" 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>