svn commit: r688489 - in /ofbiz/trunk/applications/party/widget/partymgr: PartyMenus.xml PartyScreens.xml ProfileScreens.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r688489 - in /ofbiz/trunk/applications/party/widget/partymgr: PartyMenus.xml PartyScreens.xml ProfileScreens.xml

hansbak-2
Author: hansbak
Date: Sun Aug 24 03:12:57 2008
New Revision: 688489

URL: http://svn.apache.org/viewvc?rev=688489&view=rev
Log:
to screenlet conversion

Modified:
    ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml
    ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml
    ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml

Modified: ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml?rev=688489&r1=688488&r2=688489&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml (original)
+++ ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml Sun Aug 24 03:12:57 2008
@@ -173,4 +173,10 @@
         </menu-item>
     </menu>
     
+    <menu name="addSchipper">
+        <menu-item name="new" title="${uiLabelMap.CommonCreateNew}">
+            <link target="editCarrierAccount?partyId=${party.partyId}"/>
+        </menu-item>
+    </menu>
+    
 </menus>

Modified: ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml?rev=688489&r1=688488&r2=688489&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml (original)
+++ ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml Sun Aug 24 03:12:57 2008
@@ -937,20 +937,9 @@
             <widgets>
                 <decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
                     <decorator-section name="body">
-                        <container style="screenlet">
-                            <container style="screenlet-title-bar">
-                                <container style="h3">
-                                    <label text="${uiLabelMap.PartyShipperAccount}"/>
-                                </container>
-                            </container>
-                            <container style="screenlet-body">
-                                <section>
-                                    <widgets>
-                                        <include-form name="EditCarrierAccount" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
-                                    </widgets>
-                                </section>
-                            </container>
-                        </container>
+                        <screenlet title="${uiLabelMap.PartyShipperAccount}">
+                            <include-form name="EditCarrierAccount" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
+                        </screenlet>
                     </decorator-section>
                 </decorator-screen>
             </widgets>

Modified: ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml?rev=688489&r1=688488&r2=688489&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml (original)
+++ ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml Sun Aug 24 03:12:57 2008
@@ -444,13 +444,9 @@
                 <set field="partyId" from-field="parameters.partyId"/>
             </actions>
             <widgets>
-                <screenlet title="${uiLabelMap.PartyShipperAccount}">
-                    <platform-specific>
-                        <html>
-                            <html-template location="component://party/webapp/partymgr/party/profileblocks/ShipperAccount.ftl"/>
-                        </html>
-                    </platform-specific>
-                        <include-form name="ListCarrierAccounts" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
+                <screenlet title="${uiLabelMap.PartyShipperAccount}" navigation-menu-name="addSchipper">
+                    <include-menu name="addSchipper" location="component://party/widget/partymgr/PartyMenus.xml"/>
+                    <include-form name="ListCarrierAccounts" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
                 </screenlet>
             </widgets>
         </section>