You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2009/09/10 12:33:53 UTC

svn commit: r813357 - /ofbiz/trunk/applications/marketing/widget/sfa/AccountScreens.xml

Author: hansbak
Date: Thu Sep 10 10:33:52 2009
New Revision: 813357

URL: http://svn.apache.org/viewvc?rev=813357&view=rev
Log:
restored missing screen

Modified:
    ofbiz/trunk/applications/marketing/widget/sfa/AccountScreens.xml

Modified: ofbiz/trunk/applications/marketing/widget/sfa/AccountScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/AccountScreens.xml?rev=813357&r1=813356&r2=813357&view=diff
==============================================================================
--- ofbiz/trunk/applications/marketing/widget/sfa/AccountScreens.xml (original)
+++ ofbiz/trunk/applications/marketing/widget/sfa/AccountScreens.xml Thu Sep 10 10:33:52 2009
@@ -54,7 +54,37 @@
             </widgets>
         </section>
     </screen>
-	<screen name="AssignAccountToMe">
+    <screen name="NewAccount">
+        <section>
+            <actions>
+                <set field="headerItem" value="Accounts"/>
+                <set field="titleProperty" value="PageTitleCreateAccount"/>
+                <set field="accountType" from-field="parameters.accountType"/>
+                <property-to-field field="defaultCountryGeoId" resource="general" property="country.geo.id.default" default="USA"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <container style="screenlet">
+                            <container style="screenlet-title-bar">
+                                <container style="h3">
+                                    <label text="${uiLabelMap.PageTitleCreateAccount}"/>
+                                </container>
+                            </container>
+                            <container style="screenlet-body">
+                                <section>
+                                    <widgets>
+                                        <include-form name="NewAccount" location="component://marketing/widget/sfa/forms/AccountForms.xml"/>
+                                    </widgets>
+                                </section>
+                            </container>
+                        </container>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>	
+    <screen name="AssignAccountToMe">
 		<section>
 			<actions>
 				<set field="headerItem" value="Accounts" />