[pal-cvs 3383] [1117] put a timestamp.

svnno****@sourc***** svnno****@sourc*****
2008年 9月 5日 (金) 10:54:48 JST


Revision: 1117
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=1117
Author:   shinsuke
Date:     2008-09-05 10:54:48 +0900 (Fri, 05 Sep 2008)

Log Message:
-----------
put a timestamp.

Modified Paths:
--------------
    pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/src/webapp/decorations/portlet/default/decorator.vm
    pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/src/webapp/decorations/portlet/nextgen/decorator.vm


-------------- next part --------------
Modified: pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/src/webapp/decorations/portlet/default/decorator.vm
===================================================================
--- pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/src/webapp/decorations/portlet/default/decorator.vm	2008-09-04 23:58:13 UTC (rev 1116)
+++ pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/src/webapp/decorations/portlet/default/decorator.vm	2008-09-05 01:54:48 UTC (rev 1117)
@@ -19,7 +19,7 @@
 #set($solo = $jetspeed.MappedWindowState.toString()=="solo")
 #set($hidePortlet = $renderRequest.getAttribute("js_${jetspeed.CurrentFragment.Id}_HideDecorator")) 
 <!-- Begin: Fragment: ${f.id} Decoration: ${decoration.Name} -->
-<a name="${f.id}"/>
+<a name="${f.id}"></a>
 <div id="${f.id}" class="portlet ${decoration.baseCSSClass}">
 #if (!$solo && !$hidePortlet)
   <div class="PTitle" >
@@ -30,7 +30,7 @@
   #set($_actions = $decoration.actions)
     <div class="PActionBar">
   #foreach ($_action in $_actions)
-      <a href="${_action.Action}#${f.id}" title="${_action.Name}" class="action portlet-action ${_action.actionName}" #if($_action.target)target="$_action.target"#end><img src="$request.contextPath/${_action.link}" alt="${_action.Alt}" border="0" /></a>
+      <a href="${_action.Action}?t=${jetspeed.timestamp}#${f.id}" title="${_action.Name}" class="action portlet-action ${_action.actionName}" #if($_action.target)target="$_action.target"#end><img src="$request.contextPath/${_action.link}" alt="${_action.Alt}" border="0" /></a>
   #end
       <a onclick="closePortlet('${f.id}');return false;" href="#" class="action portlet-action close"><img src="$request.contextPath/decorations/portlet/default/images/close.gif" border="0" /></a>
     </div>

Modified: pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/src/webapp/decorations/portlet/nextgen/decorator.vm
===================================================================
--- pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/src/webapp/decorations/portlet/nextgen/decorator.vm	2008-09-04 23:58:13 UTC (rev 1116)
+++ pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/src/webapp/decorations/portlet/nextgen/decorator.vm	2008-09-05 01:54:48 UTC (rev 1117)
@@ -19,7 +19,7 @@
 #set($solo = $jetspeed.MappedWindowState.toString()=="solo")
 #set($hidePortlet = $renderRequest.getAttribute("js_${jetspeed.CurrentFragment.Id}_HideDecorator")) 
 <!-- Begin: Fragment: ${f.id} Decoration: ${decoration.Name} -->
-<a name="${f.id}"/>
+<a name="${f.id}"></a>
 <div id="${f.id}" class="portlet ${decoration.baseCSSClass}">
 #if (!$solo && !$hidePortlet)
   <div class="PTitle" >
@@ -30,7 +30,7 @@
   #set($_actions = $decoration.actions)
     <div class="PActionBar">
   #foreach ($_action in $_actions)
-      <a href="${_action.Action}#${f.id}" title="${_action.Name}" class="action portlet-action ${_action.actionName}" #if($_action.target)target="$_action.target"#end><img src="$request.contextPath/${_action.link}" alt="${_action.Alt}" border="0" /></a>
+      <a href="${_action.Action}?t=${jetspeed.timestamp}#${f.id}" title="${_action.Name}" class="action portlet-action ${_action.actionName}" #if($_action.target)target="$_action.target"#end><img src="$request.contextPath/${_action.link}" alt="${_action.Alt}" border="0" /></a>
   #end
       <a onclick="closePortlet('${f.id}');return false;" href="#" class="action portlet-action close"><img src="$request.contextPath/decorations/portlet/nextgen/images/close.gif" border="0" /></a>
     </div>


pal-cvs メーリングリストの案内