#set($theme = $request.getAttribute("org.apache.jetspeed.theme")) #set($sizes = $jetspeed.columnSizes) #set($myPage = $jetspeed.page) #set($myFragment = $jetspeed.currentFragment) #set($decorator = $myPage.getDefaultDecorator($myFragment.getType())) #set($actions = $myFragment.decoration.actions) #set($messages = $portletConfig.getResourceBundle($renderRequest.Locale)) #set($rootDecorator = $myPage.getRootFragment().decoration) #if($myFragment.getDecorator()) #set($decorator = $myFragment.getDecorator()) #end #if($myFragment == $myPage.getRootFragment()) #set($isRoot=true) #end #if ($isRoot) #parse($myFragment.decoration.header) #set($layoutClass = "portal-nested-layout") #else #defineLayoutObjects() #set($layoutClass = "portal-layout") #end #set($layoutType =$portletConfig.getInitParameter("layoutType")) #set($columnLayout = $renderRequest.getAttribute("columnLayout")) #set($decorationFactory = $renderRequest.getAttribute("decorationFactory")) #set($rc = $renderRequest.getAttribute("org.apache.jetspeed.request.RequestContext")) #set($psrc = $rc.getAttribute("org.apache.jetspeed.portalsite.PortalSiteRequestContext")) #set($profiledPage = $psrc.Page.Path) #set ($dcnt = 0) #set ($columnIndex = 0) #foreach($column in $columnLayout.columns) #set($columnFloat = $columnLayout.getColumnFloat($columnIndex)) #set($columnWidth = $columnLayout.getColumnWidth($columnIndex)) #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 ## Now get the real content $jetspeed.setCurrentFragment($f) #if($f.type == "portlet") #parse($f.decoration.template) #else $f.renderedContent #end #end #set ($columnIndex = $columnIndex + 1) #end #if ($isRoot) #parse($myFragment.decoration.footer) #end