Closes OFBIZ-4577 and its subtasks OFBIZ-4575 OFBIZ-4578, reported by Kiran Gawde "viewprofile has lost lot of functionality during refactoring"

jleroux: I simply restored the old screens, and make them default as we decided in the http://markmail.org/message/l2kxjxzdsqtcmedn  thread.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1206690 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2011-11-27 09:25:17 +00:00
parent 31164bc567
commit 53ca1f3920
+38 -2
View File
@@ -476,9 +476,45 @@ under the License.
</widgets>
</section>
</screen>
<screen name="newcustomer">
<section>
<actions>
<set field="titleProperty" value="PageTitleNewCustomer"/>
<script location="component://ecommerce/webapp/ecommerce/WEB-INF/actions/customer/NewCustomer.groovy"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<platform-specific><html><html-template location="component://ecommerce/webapp/ecommerce/customer/newcustomer.ftl"/></html></platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="viewprofile">
<section>
<actions>
<set field="titleProperty" value="PageTitleViewProfile"/>
<set field="partyId" from-field="userLogin.partyId"/>
<entity-one entity-name="Party" value-field="party"/>
<entity-one entity-name="Person" value-field="person"/>
<entity-one entity-name="PartyGroup" value-field="partyGroup"/>
<script location="component://ecommerce/webapp/ecommerce/WEB-INF/actions/customer/ViewProfile.groovy"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<platform-specific><html><html-template location="component://ecommerce/webapp/ecommerce/customer/viewprofile.ftl"/></html></platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<!-- To use new pages uncomment following screens i.e. newcustomer and viewprofile and comment existing newcustomer and viewprofile screens above -->
<screen name="newcustomer">
<!--screen name="newcustomer">
<section>
<actions>
<property-map resource="MarketingUiLabels" map-name="uiLabelMap" global="true"/>
@@ -519,7 +555,7 @@ under the License.
</decorator-screen>
</widgets>
</section>
</screen>
</screen-->
<screen name="EditProfile">