Author: ate
Date: Wed Sep 12 07:59:28 2012
New Revision: 1383825

URL: http://svn.apache.org/viewvc?rev=1383825&view=rev
Log:
RAVE-694:
- fix XML based demo route targets and root page fragment name

Modified:
    
rave/sandbox/content-services/demo-portal/src/main/webapp/WEB-INF/page-definitions.xml
    rave/sandbox/content-services/demo-portal/src/main/webapp/WEB-INF/routes.xml

Modified: 
rave/sandbox/content-services/demo-portal/src/main/webapp/WEB-INF/page-definitions.xml
URL: 
http://svn.apache.org/viewvc/rave/sandbox/content-services/demo-portal/src/main/webapp/WEB-INF/page-definitions.xml?rev=1383825&r1=1383824&r2=1383825&view=diff
==============================================================================
--- 
rave/sandbox/content-services/demo-portal/src/main/webapp/WEB-INF/page-definitions.xml
 (original)
+++ 
rave/sandbox/content-services/demo-portal/src/main/webapp/WEB-INF/page-definitions.xml
 Wed Sep 12 07:59:28 2012
@@ -19,7 +19,7 @@
   -->
 <pageDefinitions name="default">
 
-  <pageFragment name="userPage" viewName="pages/userpage/page" 
controller="org.apache.rave.portal.web.mvc.controller.UserPageController">
+  <pageFragment name="/userPage" viewName="pages/userpage/page" 
controller="org.apache.rave.portal.web.mvc.controller.UserPageController">
     <pageFragment name="header" viewName="pages/userpage/page-header" 
controller="org.apache.rave.portal.web.mvc.controller.PageHeaderController"/>
     <pageFragment name="body" viewName="pages/userpage/page-body">
       <pageFragment name="tabs" viewName="pages/userpage/page-tabs"/>

Modified: 
rave/sandbox/content-services/demo-portal/src/main/webapp/WEB-INF/routes.xml
URL: 
http://svn.apache.org/viewvc/rave/sandbox/content-services/demo-portal/src/main/webapp/WEB-INF/routes.xml?rev=1383825&r1=1383824&r2=1383825&view=diff
==============================================================================
--- 
rave/sandbox/content-services/demo-portal/src/main/webapp/WEB-INF/routes.xml 
(original)
+++ 
rave/sandbox/content-services/demo-portal/src/main/webapp/WEB-INF/routes.xml 
Wed Sep 12 07:59:28 2012
@@ -18,7 +18,7 @@
   under the License.
   -->
 <routes name="default">
-  <route path="/home"          target="userPage" action="defaultPage"/>
-  <route path="/page"          target="userPage" action="defaultPage"/>
-  <route path="/page/{pageId}" target="userPage"/>
+  <route path="/home"          target="/userPage" action="defaultPage"/>
+  <route path="/page"          target="/userPage" action="defaultPage"/>
+  <route path="/page/{pageId}" target="/userPage"/>
 </routes>


Reply via email to