portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r366082 - /portals/jetspeed-2/trunk/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm
Date Thu, 05 Jan 2006 04:51:33 GMT
Author: taylor
Date: Wed Jan  4 20:51:31 2006
New Revision: 366082

URL: http://svn.apache.org/viewcvs?rev=366082&view=rev
Log:
storing page on db page manager broken, changed id to path

Modified:
    portals/jetspeed-2/trunk/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm

Modified: portals/jetspeed-2/trunk/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm?rev=366082&r1=366081&r2=366082&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm (original)
+++ portals/jetspeed-2/trunk/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm Wed
Jan  4 20:51:31 2006
@@ -46,7 +46,7 @@
 
    #if($editing)
    #set($themeUrl = $renderResponse.createActionURL())
-   $!themeUrl.setParameter("editingPage","$myPage.id")
+   $!themeUrl.setParameter("editingPage","$myPage.path")
 <form name="themeForm" action="$themeUrl" method='post'>
      <label style='font-size:8pt;color:blue;padding-left: 9px;'>Theme:
      <select id='theme' name='theme' style='font-size:8pt;color:blue' onChange="themeForm.submit();">
@@ -97,7 +97,7 @@
    #set ($dcnt = $dcnt + 1)   
    #set($decUrl = $renderResponse.createActionURL())    
    $!decUrl.setParameter("fragmentToMove","$f.id")
-   $!decUrl.setParameter("editingPage","$myPage.id")     
+   $!decUrl.setParameter("editingPage","$myPage.path")     
    #set ($temp = ".submit();")
 <form name="portletForm$dcnt" action="$decUrl" method='post'>
 <select id='decorator' name='decorator' style='font-size:8pt;color:blue;' onChange="portletForm$dcnt$temp">
@@ -111,7 +111,7 @@
                #set($leftUrl = $renderResponse.createActionURL())    
                $!leftUrl.setParameter("move","3")
                $!leftUrl.setParameter("fragmentToMove","$f.id")
-			   $!leftUrl.setParameter("editingPage","$myPage.id")                
+			   $!leftUrl.setParameter("editingPage","$myPage.path")                
                <a href="$leftUrl" class="move-portlet-left"><img src="#GetPageResource('images/movePortletLeft.gif')"
border="0" title="Move Portlet Left"/></a>
 			 #end
 			 
@@ -120,7 +120,7 @@
                #set($upUrl = $renderResponse.createActionURL())    
                  $!upUrl.setParameter("move","1")
                  $!upUrl.setParameter("fragmentToMove","$f.id")
-				 $!upUrl.setParameter("editingPage","$myPage.id") 
+				 $!upUrl.setParameter("editingPage","$myPage.path") 
                  <a href="$upUrl" class="move-portlet-up"><img src="#GetPageResource('images/movePortletUp.gif')"
border="0" title="Move Portlet Up"/></a>
 			 #end
 			 
@@ -135,7 +135,7 @@
                #set($downUrl = $renderResponse.createActionURL())	
                $!downUrl.setParameter("move","2")
                $!downUrl.setParameter("fragmentToMove","$f.id")
-			   $!downUrl.setParameter("editingPage","$myPage.id") 
+			   $!downUrl.setParameter("editingPage","$myPage.path") 
                <a href="$downUrl" class="move-portlet-down"><img src="#GetPageResource('images/movePortletDown.gif')"
border="0" title="Move Portlet Down"/></a>
 			 #end
 			 
@@ -144,7 +144,7 @@
                #set($rightUrl = $renderResponse.createActionURL())    
                $!rightUrl.setParameter("move","4")
                $!rightUrl.setParameter("fragmentToMove","$f.id")
-			   $!rightUrl.setParameter("editingPage","$myPage.id") 
+			   $!rightUrl.setParameter("editingPage","$myPage.path") 
                <a href="$rightUrl" class="move-portlet-right"><img src="#GetPageResource('images/movePortletRight.gif')"
border="0" title="Move Portlet Right"/></a>
 			 #end
 </form>			 



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message