Author: hansbak
Date: Sat Oct 11 23:52:39 2008
New Revision: 703767
URL:
http://svn.apache.org/viewvc?rev=703767&view=revLog:
use the default login screen for mypage too
Removed:
ofbiz/trunk/specialpurpose/mypage/webapp/mypage/login.ftl
Modified:
ofbiz/trunk/specialpurpose/mypage/webapp/mypage/WEB-INF/controller.xml
ofbiz/trunk/specialpurpose/mypage/widget/CommonScreens.xml
Modified: ofbiz/trunk/specialpurpose/mypage/webapp/mypage/WEB-INF/controller.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/mypage/webapp/mypage/WEB-INF/controller.xml?rev=703767&r1=703766&r2=703767&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/mypage/webapp/mypage/WEB-INF/controller.xml (original)
+++ ofbiz/trunk/specialpurpose/mypage/webapp/mypage/WEB-INF/controller.xml Sat Oct 11 23:52:39 2008
@@ -30,13 +30,6 @@
<response name="success" type="view" value="main"/>
</request-map>
- <request-map uri="forgotpassword">
- <security https="true" auth="false"/>
- <event type="java" path="org.ofbiz.securityext.login.LoginEvents" invoke="forgotPassword"/>
- <response name="success" type="view" value="login"/>
- <response name="error" type="view" value="login"/>
- </request-map>
-
<!-- TIMESHEET -->
<request-map uri="myTimesheet">
<security https="true" auth="true"/>
@@ -266,7 +259,6 @@
</request-map>
<view-map name="main" type="screen" page="component://mypage/widget/CommonScreens.xml#main"/>
- <view-map name="login" type="screen" page="component://mypage/widget/CommonScreens.xml#login"/>
<view-map name="preferences" type="screen" page="component://mypage/widget/CommonScreens.xml#preferences"/>
<view-map name="myTasks" type="screen" page="component://mypage/widget/CommonScreens.xml#MyTasks"/>
<view-map name="myCommunications" type="screen" page="component://mypage/widget/CommonScreens.xml#MyCommunications"/>
Modified: ofbiz/trunk/specialpurpose/mypage/widget/CommonScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/mypage/widget/CommonScreens.xml?rev=703767&r1=703766&r2=703767&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/mypage/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/specialpurpose/mypage/widget/CommonScreens.xml Sat Oct 11 23:52:39 2008
@@ -511,25 +511,6 @@
</widgets>
</section>
</screen>
-
- <screen name="login">
- <section>
- <actions>
- <set field="titleProperty" value="PageTitleLogin"/>
- <set field="headerItem" value="login"/>
- </actions>
- <widgets>
- <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
- <decorator-section name="body">
- <platform-specific>
- <html><html-template location="component://mypage/webapp/mypage/login.ftl"/></html>
- </platform-specific>
- </decorator-section>
- </decorator-screen>
- </widgets>
- </section>
- </screen>
-
</screens>