portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r1610093 - /portals/jetspeed-2/portal/branches/JETSPEED-BRANCH-2.2.2-POST-RELEASE/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/columns/layout.vm
Date Sun, 13 Jul 2014 00:31:17 GMT
Author: taylor
Date: Sun Jul 13 00:31:17 2014
New Revision: 1610093

URL: http://svn.apache.org/r1610093
Log:
JS2-1297: enabling dynamic psml (DPSML), fragment psml (FPSML) and template psml (TPSML) in
portal pipeline. Contribution from David Dyer

Modified:
    portals/jetspeed-2/portal/branches/JETSPEED-BRANCH-2.2.2-POST-RELEASE/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/columns/layout.vm

Modified: portals/jetspeed-2/portal/branches/JETSPEED-BRANCH-2.2.2-POST-RELEASE/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/columns/layout.vm
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JETSPEED-BRANCH-2.2.2-POST-RELEASE/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/columns/layout.vm?rev=1610093&r1=1610092&r2=1610093&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/JETSPEED-BRANCH-2.2.2-POST-RELEASE/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/columns/layout.vm
(original)
+++ portals/jetspeed-2/portal/branches/JETSPEED-BRANCH-2.2.2-POST-RELEASE/applications/jetspeed/src/main/webapp/WEB-INF/templates/layout/html/columns/layout.vm
Sun Jul 13 00:31:17 2014
@@ -307,17 +307,20 @@ limitations under the License.
 	<div id="column_${myFragment.getId()}_${columnIndex}" 
 	     class="portal-layout-column portal-layout-column-${layoutType}-${columnIndex}" 
 	     style="float:${columnFloat}; width:${columnWidth};">
-	     
-	  #foreach($f in $column)
-      ## Set up coordinates for this fragment
-      #if($f.isLocked() == false)
-      #set($coords = $columnLayout.getCoordinate($f))	  
-      #set($col = $coords.x)
-      #set($lastRow = $columnLayout.getLastRowNumber($col))
-      #set($row = $coords.y)
+		  #foreach($f in $column)
+		  ## Set up coordinates for this fragment
+			#set($coords = $columnLayout.getCoordinate($f))	  
+			#set($col = $coords.x)
+			#set($lastRow = $columnLayout.getLastRowNumber($col))
+			#set($row = $coords.y)
 			
-      ## get the decorated Portlet content
-		  <div id='$f.id' name='$f.name' column='${col}' row='${row}' class="portal-layout-cell
portal-layout-cell-${layoutType}-${row}-${col}" >
+			<div id='$f.id' name='$f.name' column='${col}' row='${row}' class="portal-layout-cell
portal-layout-cell-${layoutType}-${row}-${col}" >
+				
+		  #if($f.isLocked() == false)
+		  
+				
+		  ## get the decorated Portlet content
+		  
 		    ## editing block
 		    #if($editing)
 		      <div class="portlet-edit-bar">
@@ -374,7 +377,10 @@ limitations under the License.
             </form>			 
 		      </div>
 		    #end		   
-		    ## Now get the real content
+		   
+		  
+		  #end
+		   ## Now get the real content
 	 	 	  $jetspeed.setCurrentFragment($f)	   
 		    #if($f.type == "portlet")
 			    #parse($f.decoration.template)
@@ -382,8 +388,9 @@ limitations under the License.
 			    $f.renderedContent			
 		    #end
 		  </div>
-		  #end
 		#end
+		
+		
 	</div>
 	#set ($columnIndex = $columnIndex + 1)  
 #end  



---------------------------------------------------------------------
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