It looks like the first line of PartyInvitationScreens.xml got mangled.

-Adrian

bus...@apache.org wrote:
Author: buscob
Date: Tue Mar 10 23:06:15 2009
New Revision: 752294

URL: http://svn.apache.org/viewvc?rev=752294&view=rev
Log:
Changed FindInvitations to use the FindScreenDecorator

Modified:
    ofbiz/trunk/applications/party/widget/partymgr/PartyInvitationScreens.xml

Modified: 
ofbiz/trunk/applications/party/widget/partymgr/PartyInvitationScreens.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/PartyInvitationScreens.xml?rev=752294&r1=752293&r2=752294&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/PartyInvitationScreens.xml 
(original)
+++ ofbiz/trunk/applications/party/widget/partymgr/PartyInvitationScreens.xml 
Tue Mar 10 23:06:15 2009
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?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
@@ -71,47 +71,24 @@
                                 <if-has-permission permission="PARTYMGR" 
action="_VIEW"/>
                             </condition>
                             <widgets>
-                                <container style="screenlet">
-                                    <container style="screenlet-title-bar">
-                                        <container style="h3">
-                                            <label 
text="${uiLabelMap[titleProperty]}"/>
+                                <decorator-screen name="FindScreenDecorator" 
location="component://common/widget/CommonScreens.xml">
+                                    <decorator-section name="menu-bar">
+                                        <container style="button-bar">
+                                            <link target="/editPartyInvitation" 
text="${uiLabelMap.PartyInvitationNewPartyInvitation}" style="buttontext"/>
                                         </container>
-                                    </container>
-                                    <container style="screenlet-body">
-                                        <section>
-                                            <widgets>
-                                                <container style="button-bar"><link 
target="/editPartyInvitation" text="${uiLabelMap.PartyInvitationNewPartyInvitation}" 
style="buttontext"/></container>
-                                                <include-form name="FindPartyInvitations" 
location="component://party/widget/partymgr/PartyInvitationForms.xml"/>
-                                            </widgets>
-                                        </section>
-                                    </container>
-                                </container>
+                                    </decorator-section>
+                                    <decorator-section name="search-options">
+                                        <include-form name="FindPartyInvitations" 
location="component://party/widget/partymgr/PartyInvitationForms.xml"/>
+                                    </decorator-section>
+                                    <decorator-section name="search-results">
+                                        <include-form name="ListPartyInvitations" 
location="component://party/widget/partymgr/PartyInvitationForms.xml"/>
+                                    </decorator-section>
+                                </decorator-screen>
                             </widgets>
                             <fail-widgets>
                                 <label 
style="h3">${uiLabelMap.PartyMgrViewPermissionError}</label>
                             </fail-widgets>
                         </section>
-                        <section>
-                            <condition>
-                                <if-compare field="parameters.performSearch" 
operator="equals" value="Y"/>
-                            </condition>
-                            <widgets>
-                                <container style="screenlet">
-                                    <container style="screenlet-title-bar">
-                                        <container style="h3">
-                                            <label 
text="${uiLabelMap[titleProperty]}"/>
-                                        </container>
-                                    </container>
-                                    <container style="screenlet-body">
-                                        <section>
-                                            <widgets>
-                                                <include-form name="ListPartyInvitations" 
location="component://party/widget/partymgr/PartyInvitationForms.xml"/>
-                                            </widgets>
-                                        </section>
-                                    </container>
-                                </container>
-                            </widgets>
-                        </section>
                     </decorator-section>
                 </decorator-screen>
             </widgets>



Reply via email to