portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r425150 - /portals/jetspeed-2/trunk/src/webapp/WEB-INF/jetspeed_macros.vm
Date Mon, 24 Jul 2006 19:14:11 GMT
Author: taylor
Date: Mon Jul 24 12:14:10 2006
New Revision: 425150

URL: http://svn.apache.org/viewvc?rev=425150&view=rev
Log:
example of using portlet in a decorator

Modified:
    portals/jetspeed-2/trunk/src/webapp/WEB-INF/jetspeed_macros.vm

Modified: portals/jetspeed-2/trunk/src/webapp/WEB-INF/jetspeed_macros.vm
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/WEB-INF/jetspeed_macros.vm?rev=425150&r1=425149&r2=425150&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/WEB-INF/jetspeed_macros.vm (original)
+++ portals/jetspeed-2/trunk/src/webapp/WEB-INF/jetspeed_macros.vm Mon Jul 24 12:14:10 2006
@@ -96,15 +96,14 @@
 *#
 #macro (PageActionBar)
  #set($_actions = $layoutDecoration.actions)
-
- #if($_actions.size() >0)
   <div id="portal-page-actions" >        
-  #foreach ($_action in $_actions)
-   
-   <a href="${_action.Action}" title="${_action.Name}" class="action pageAction" ><img
src="${_action.Link}" alt="${_action.Alt}" border="0" /></a>
-  #end
+    $jetspeed.renderPortletEntity("theClock", "j2-admin::DateTimePortlet")
+    #if($_actions.size() >0)
+    #foreach ($_action in $_actions)   
+     <a href="${_action.Action}" title="${_action.Name}" class="action pageAction" ><img
src="${_action.Link}" alt="${_action.Alt}" border="0" /></a>
+    #end   
+    #end
  </div>
- #end
 #end
 
 #macro(PortletActionBar $_decoration)
@@ -116,6 +115,7 @@
     #end    
  </div>
 #end
+
 
 #macro(PagesMenu)
 #set($_pages = $site.getMenu("pages").elements)



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