continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r385821 - in /maven/continuum/branches/continuum-1.0.x/continuum-web/src/main: java/org/apache/maven/continuum/web/tool/ resources/templates/screens/
Date Tue, 14 Mar 2006 15:57:55 GMT
Author: evenisse
Date: Tue Mar 14 07:57:35 2006
New Revision: 385821

URL: http://svn.apache.org/viewcvs?rev=385821&view=rev
Log:
Remove hardcoded /continuum in urls

Modified:
    maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/java/org/apache/maven/continuum/web/tool/ContinuumStateContentGenerator.java
    maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/resources/templates/screens/Summary.vm
    maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/resources/templates/screens/UserGroups.vm
    maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/resources/templates/screens/View.vm

Modified: maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/java/org/apache/maven/continuum/web/tool/ContinuumStateContentGenerator.java
URL: http://svn.apache.org/viewcvs/maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/java/org/apache/maven/continuum/web/tool/ContinuumStateContentGenerator.java?rev=385821&r1=385820&r2=385821&view=diff
==============================================================================
--- maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/java/org/apache/maven/continuum/web/tool/ContinuumStateContentGenerator.java
(original)
+++ maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/java/org/apache/maven/continuum/web/tool/ContinuumStateContentGenerator.java
Tue Mar 14 07:57:35 2006
@@ -21,6 +21,8 @@
 import org.apache.maven.continuum.project.ContinuumProjectState;
 import org.codehaus.plexus.formica.web.ContentGenerator;
 import org.codehaus.plexus.logging.AbstractLogEnabled;
+import org.codehaus.plexus.summit.pull.RequestTool;
+import org.codehaus.plexus.summit.rundata.RunData;
 
 /**
  * @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
@@ -28,8 +30,10 @@
  */
 public class ContinuumStateContentGenerator
     extends AbstractLogEnabled
-    implements ContentGenerator
+    implements ContentGenerator, RequestTool
 {
+    private RunData data;
+
     public String generate( Object item )
     {
         int state;
@@ -51,15 +55,15 @@
         }
         else if ( state == ContinuumProjectState.OK )
         {
-            return "<img src=\"/continuum/images/icon_success_sml.gif\" alt=\"Success\"
title=\"Success\" border=\"0\" />";
+            return "<img src=\"" + data.getContextPath() + "/images/icon_success_sml.gif\"
alt=\"Success\" title=\"Success\" border=\"0\" />";
         }
         else if ( state == ContinuumProjectState.FAILED )
         {
-            return "<img src=\"/continuum/images/icon_warning_sml.gif\" alt=\"Failed\"
title=\"Failed\" border=\"0\" />";
+            return "<img src=\"" + data.getContextPath() + "/images/icon_warning_sml.gif\"
alt=\"Failed\" title=\"Failed\" border=\"0\" />";
         }
         else if ( state == ContinuumProjectState.ERROR )
         {
-            return "<img src=\"/continuum/images/icon_error_sml.gif\" alt=\"Error\" title=\"Error\"
border=\"0\" />";
+            return "<img src=\"" + data.getContextPath() + "/images/icon_error_sml.gif\"
alt=\"Error\" title=\"Error\" border=\"0\" />";
         }
         else if ( state == ContinuumProjectState.BUILDING )
         {
@@ -79,5 +83,15 @@
 
             return "Unknown";
         }
+    }
+
+    public void setRunData( RunData data )
+    {
+        this.data = data;
+    }
+
+    public void refresh()
+    {
+        // empty
     }
 }

Modified: maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/resources/templates/screens/Summary.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/resources/templates/screens/Summary.vm?rev=385821&r1=385820&r2=385821&view=diff
==============================================================================
--- maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/resources/templates/screens/Summary.vm
(original)
+++ maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/resources/templates/screens/Summary.vm
Tue Mar 14 07:57:35 2006
@@ -68,7 +68,7 @@
         <td>
           <div align="center">
           #if ( $continuum.isInBuildingQueue( $item.id ) || $continuum.isInCheckoutQueue(
$item.id ) )
-            <b><img src="/continuum/images/inqueue.gif" alt="In Queue" title="In
Queue" width="16" height="16"></b>
+            <b><img src="$requestUtil.getContextPath()/images/inqueue.gif" alt="In
Queue" title="In Queue" width="16" height="16"></b>
           #elseif ( $item.state == 1 || $item.state == 2 || $item.state == 3 || $item.state
== 4 )
             #if ( $item.buildNumber != 0 )
               #set ( $build = $buildResultsInSuccess.get( $item.id ) )
@@ -77,7 +77,7 @@
               $item.buildNumber
             #end
           #else
-            <b><img src="/continuum/images/inqueue.gif" alt="In Queue" title="In
Queue" width="16" height="16"></b>
+            <b><img src="$requestUtil.getContextPath()/images/inqueue.gif" alt="In
Queue" title="In Queue" width="16" height="16"></b>
           #end
           </div>
         </td>
@@ -90,7 +90,7 @@
           #if ( $continuum.isInBuildingQueue( $item.id ) || $continuum.isInCheckoutQueue(
$item.id ) )
             Build
           #elseif ( $item.state == 1 || $item.state == 2 || $item.state == 3 || $item.state
== 4 )
-            <a href="$link.addPathInfo('action', 'cam').addPathInfo('cid','buildProject').addPathInfo('id',
$item.id)"><img src="/continuum/images/buildnow.gif" alt="Build Now" title="Build Now"
width="16" height="16" border="0"></a>
+            <a href="$link.addPathInfo('action', 'cam').addPathInfo('cid','buildProject').addPathInfo('id',
$item.id)"><img src="$requestUtil.getContextPath()/images/buildnow.gif" alt="Build Now"
title="Build Now" width="16" height="16" border="0"></a>
           #else
             &nbsp;
           #end
@@ -99,7 +99,7 @@
 
         <td width="1%">
         #if ( $item.latestBuildId > 0 )
-          <a href="$link.setPage('ProjectBuilds.vm').addPathInfo('view', "ProjectBuilds").addPathInfo('id',
$item.id)"><img src="/continuum/images/buildhistory.gif" alt="Build History" title="Build
History" width="16" height="16" border="0"></a>
+          <a href="$link.setPage('ProjectBuilds.vm').addPathInfo('view', "ProjectBuilds").addPathInfo('id',
$item.id)"><img src="$requestUtil.getContextPath()/images/buildhistory.gif" alt="Build
History" title="Build History" width="16" height="16" border="0"></a>
         #else
           &nbsp;
         #end
@@ -107,7 +107,7 @@
 
         <td width="1%">
         #if ( $item.state == 1 || $item.state == 2 || $item.state == 3 || $item.state ==
4 || $item.state == 6 )
-          <a href="$link.setPage('WorkingCopy.vm').addPathInfo('view', "WorkingCopy").addPathInfo('id',
$item.id)"><img src="/continuum/images/workingcopy.gif" alt="Working Copy" title="Working
Copy" width="16" height="16" border="0"></a>
+          <a href="$link.setPage('WorkingCopy.vm').addPathInfo('view', "WorkingCopy").addPathInfo('id',
$item.id)"><img src="$requestUtil.getContextPath()/images/workingcopy.gif" alt="Working
Copy" title="Working Copy" width="16" height="16" border="0"></a>
         #else
           &nbsp;
         #end
@@ -116,7 +116,7 @@
         #if ( $continuum.security.isAuthorized( $c1user, "deleteProject" ) )
           <td width="1%">
           #if ( $item.state == 1 || $item.state == 2 || $item.state == 3 || $item.state ==
4 )
-          <a href="$link.setPage('Delete.vm').addPathInfo('fid', "$!{item.executorId}Project").addPathInfo('id',
$item.id)"><img src="/continuum/images/delete.gif" alt="Delete" title="Delete" width="16"
height="16" border="0"></a>
+          <a href="$link.setPage('Delete.vm').addPathInfo('fid', "$!{item.executorId}Project").addPathInfo('id',
$item.id)"><img src="$requestUtil.getContextPath()/images/delete.gif" alt="Delete" title="Delete"
width="16" height="16" border="0"></a>
           #else
           &nbsp;
           #end
@@ -131,9 +131,9 @@
     #if ( $continuum.security.isAuthorized( $c1user, "buildProject" ) )
     <div class="functnbar3">
       <form method="post" action="$link">
-        <img src="/continuum/images/icon_success_sml.gif" alt="Success" title="Success"/>
$success
-        <img src="/continuum/images/icon_warning_sml.gif" alt="Failed" title="Failed"/>
$failures
-        <img src="/continuum/images/icon_error_sml.gif" alt="Error" title="Error"/>
$errors
+        <img src="$requestUtil.getContextPath()/images/icon_success_sml.gif" alt="Success"
title="Success"/> $success
+        <img src="$requestUtil.getContextPath()/images/icon_warning_sml.gif" alt="Failed"
title="Failed"/> $failures
+        <img src="$requestUtil.getContextPath()/images/icon_error_sml.gif" alt="Error"
title="Error"/> $errors
         #if ( $items && $items.size() > 0 )
         #hidden ( "action" "cam" )
         #hidden ( "cid" "buildAllProjects" )
@@ -144,9 +144,9 @@
     </div>
     #else
     <div class="functnbar3">
-        <img src="/continuum/images/icon_success_sml.gif" alt="Success" title="Success"/>
$success
-        <img src="/continuum/images/icon_warning_sml.gif" alt="Failed" title="Failed"/>
$failures
-        <img src="/continuum/images/icon_error_sml.gif" alt="Error" title="Error"/>
$errors
+        <img src="$requestUtil.getContextPath()/images/icon_success_sml.gif" alt="Success"
title="Success"/> $success
+        <img src="$requestUtil.getContextPath()/images/icon_warning_sml.gif" alt="Failed"
title="Failed"/> $failures
+        <img src="$requestUtil.getContextPath()/images/icon_error_sml.gif" alt="Error"
title="Error"/> $errors
       </form>
     </div>
     #end

Modified: maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/resources/templates/screens/UserGroups.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/resources/templates/screens/UserGroups.vm?rev=385821&r1=385820&r2=385821&view=diff
==============================================================================
--- maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/resources/templates/screens/UserGroups.vm
(original)
+++ maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/resources/templates/screens/UserGroups.vm
Tue Mar 14 07:57:35 2006
@@ -36,100 +36,100 @@
         <td>$group.name</td>
         <td>
           #if ( $continuum.security.isAuthorized( $group, "addProject" ) )
-            <img src="/continuum/images/icon_success_sml.gif" alt="Authorized" title="Authorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_success_sml.gif" alt="Authorized"
title="Authorized"/>
           #else
-            <img src="/continuum/images/icon_error_sml.gif" alt="Unauthorized" title="Unauthorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_error_sml.gif" alt="Unauthorized"
title="Unauthorized"/>
           #end
         </td>
         <td>
           #if ( $continuum.security.isAuthorized( $group, "editProject" ) )
-            <img src="/continuum/images/icon_success_sml.gif" alt="Authorized" title="Authorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_success_sml.gif" alt="Authorized"
title="Authorized"/>
           #else
-            <img src="/continuum/images/icon_error_sml.gif" alt="Unauthorized" title="Unauthorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_error_sml.gif" alt="Unauthorized"
title="Unauthorized"/>
           #end
         </td>
         <td>
           #if ( $continuum.security.isAuthorized( $group, "deleteProject" ) )
-            <img src="/continuum/images/icon_success_sml.gif" alt="Authorized" title="Authorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_success_sml.gif" alt="Authorized"
title="Authorized"/>
           #else
-            <img src="/continuum/images/icon_error_sml.gif" alt="Unauthorized" title="Unauthorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_error_sml.gif" alt="Unauthorized"
title="Unauthorized"/>
           #end
         </td>
         <td>
           #if ( $continuum.security.isAuthorized( $group, "buildProject" ) )
-            <img src="/continuum/images/icon_success_sml.gif" alt="Authorized" title="Authorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_success_sml.gif" alt="Authorized"
title="Authorized"/>
           #else
-            <img src="/continuum/images/icon_error_sml.gif" alt="Unauthorized" title="Unauthorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_error_sml.gif" alt="Unauthorized"
title="Unauthorized"/>
           #end
         </td>
         <td>
           #if ( $continuum.security.isAuthorized( $group, "showProject" ) )
-            <img src="/continuum/images/icon_success_sml.gif" alt="Authorized" title="Authorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_success_sml.gif" alt="Authorized"
title="Authorized"/>
           #else
-            <img src="/continuum/images/icon_error_sml.gif" alt="Unauthorized" title="Unauthorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_error_sml.gif" alt="Unauthorized"
title="Unauthorized"/>
           #end
         </td>
         <td>
           #if ( $continuum.security.isAuthorized( $group, "addBuildDefinition" ) )
-            <img src="/continuum/images/icon_success_sml.gif" alt="Authorized" title="Authorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_success_sml.gif" alt="Authorized"
title="Authorized"/>
           #else
-            <img src="/continuum/images/icon_error_sml.gif" alt="Unauthorized" title="Unauthorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_error_sml.gif" alt="Unauthorized"
title="Unauthorized"/>
           #end
         </td>
         <td>
           #if ( $continuum.security.isAuthorized( $group, "editBuildDefinition" ) )
-            <img src="/continuum/images/icon_success_sml.gif" alt="Authorized" title="Authorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_success_sml.gif" alt="Authorized"
title="Authorized"/>
           #else
-            <img src="/continuum/images/icon_error_sml.gif" alt="Unauthorized" title="Unauthorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_error_sml.gif" alt="Unauthorized"
title="Unauthorized"/>
           #end
         </td>
         <td>
           #if ( $continuum.security.isAuthorized( $group, "deleteBuildDefinition" ) )
-            <img src="/continuum/images/icon_success_sml.gif" alt="Authorized" title="Authorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_success_sml.gif" alt="Authorized"
title="Authorized"/>
           #else
-            <img src="/continuum/images/icon_error_sml.gif" alt="Unauthorized" title="Unauthorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_error_sml.gif" alt="Unauthorized"
title="Unauthorized"/>
           #end
         </td>
         <td>
           #if ( $continuum.security.isAuthorized( $group, "addNotifier" ) )
-            <img src="/continuum/images/icon_success_sml.gif" alt="Authorized" title="Authorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_success_sml.gif" alt="Authorized"
title="Authorized"/>
           #else
-            <img src="/continuum/images/icon_error_sml.gif" alt="Unauthorized" title="Unauthorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_error_sml.gif" alt="Unauthorized"
title="Unauthorized"/>
           #end
         </td>
         <td>
           #if ( $continuum.security.isAuthorized( $group, "editNotifier" ) )
-            <img src="/continuum/images/icon_success_sml.gif" alt="Authorized" title="Authorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_success_sml.gif" alt="Authorized"
title="Authorized"/>
           #else
-            <img src="/continuum/images/icon_error_sml.gif" alt="Unauthorized" title="Unauthorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_error_sml.gif" alt="Unauthorized"
title="Unauthorized"/>
           #end
         </td>
         <td>
           #if ( $continuum.security.isAuthorized( $group, "deleteNotifier" ) )
-            <img src="/continuum/images/icon_success_sml.gif" alt="Authorized" title="Authorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_success_sml.gif" alt="Authorized"
title="Authorized"/>
           #else
-            <img src="/continuum/images/icon_error_sml.gif" alt="Unauthorized" title="Unauthorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_error_sml.gif" alt="Unauthorized"
title="Unauthorized"/>
           #end
         </td>
         <td>
           #if ( $continuum.security.isAuthorized( $group, "manageConfiguration" ) )
-            <img src="/continuum/images/icon_success_sml.gif" alt="Authorized" title="Authorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_success_sml.gif" alt="Authorized"
title="Authorized"/>
           #else
-            <img src="/continuum/images/icon_error_sml.gif" alt="Unauthorized" title="Unauthorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_error_sml.gif" alt="Unauthorized"
title="Unauthorized"/>
           #end
         </td>
         <td>
           #if ( $continuum.security.isAuthorized( $group, "manageSchedule" ) )
-            <img src="/continuum/images/icon_success_sml.gif" alt="Authorized" title="Authorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_success_sml.gif" alt="Authorized"
title="Authorized"/>
           #else
-            <img src="/continuum/images/icon_error_sml.gif" alt="Unauthorized" title="Unauthorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_error_sml.gif" alt="Unauthorized"
title="Unauthorized"/>
           #end
         </td>
         <td>
           #if ( $continuum.security.isAuthorized( $group, "manageUsers" ) )
-            <img src="/continuum/images/icon_success_sml.gif" alt="Authorized" title="Authorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_success_sml.gif" alt="Authorized"
title="Authorized"/>
           #else
-            <img src="/continuum/images/icon_error_sml.gif" alt="Unauthorized" title="Unauthorized"/>
+            <img src="$requestUtil.getContextPath()/images/icon_error_sml.gif" alt="Unauthorized"
title="Unauthorized"/>
           #end
         </td>
         <td>

Modified: maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/resources/templates/screens/View.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/resources/templates/screens/View.vm?rev=385821&r1=385820&r2=385821&view=diff
==============================================================================
--- maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/resources/templates/screens/View.vm
(original)
+++ maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/resources/templates/screens/View.vm
Tue Mar 14 07:57:35 2006
@@ -101,19 +101,19 @@
         #if ( $continuum.security.isAuthorized( $c1user, "buildProject" ) )
           <td width="1%">
             #set ( $buildNowLink = $link.addPathInfo('action', 'cam').addPathInfo('cid','buildProjectWithBuildDefinition').addPathInfo('id',
$item.id).addPathInfo('buildDefinitionId', $buildDefinition.id) )
-            <a href="$buildNowLink"><img src="/continuum/images/buildnow.gif" alt="Build
Now" title="Build Now" width="16" height="16" border="0"></a>
+            <a href="$buildNowLink"><img src="$requestUtil.getContextPath()/images/buildnow.gif"
alt="Build Now" title="Build Now" width="16" height="16" border="0"></a>
           </td>
         #end
         #if ( $continuum.security.isAuthorized( $c1user, "editBuildDefinition" ) )
           <td width="1%">
             #set ( $buildDefinitionLink = $link.setPage('BuildDefinition.vm').addPathInfo('view','BuildDefinition').addPathInfo('buildDefinitionId',
$buildDefinition.id).addPathInfo('id', $item.id) )
-            <a href="$buildDefinitionLink"><img src="/continuum/images/edit.gif"
alt="Edit" title="Edit" width="16" height="16" border="0"></a>
+            <a href="$buildDefinitionLink"><img src="$requestUtil.getContextPath()/images/edit.gif"
alt="Edit" title="Edit" width="16" height="16" border="0"></a>
           </td>
         #end
         #if ( $continuum.security.isAuthorized( $c1user, "deleteBuildDefinition" ) )
           <td width="1%">
             #set ( $deleteBuildDefinitionLink = $link.setPage('DeleteBuildDefinition.vm').addPathInfo('buildDefinitionId',
$buildDefinition.id).addPathInfo('id', $item.id).addPathInfo('executorId', $item.executorId)
)
-            <a href="$deleteBuildDefinitionLink"><img src="/continuum/images/delete.gif"
alt="Delete" title="Delete" width="16" height="16" border="0"></a>
+            <a href="$deleteBuildDefinitionLink"><img src="$requestUtil.getContextPath()/images/delete.gif"
alt="Delete" title="Delete" width="16" height="16" border="0"></a>
           </td>
         #end
       </tr>
@@ -194,23 +194,23 @@
               <td width="1%">
                 #if ( $notifier.type == "irc" )
                   #set ( $editNotifierLink = $link.setPage('EditIrcNotifier.vm').addPathInfo('view','EditIrcNotifier').addPathInfo('notifierId',
$notifier.id).addPathInfo('id', $item.id).addPathInfo('executorId', $item.executorId) )
-                  <a href="$editNotifierLink"><img src="/continuum/images/edit.gif"
alt="Edit" title="Edit" width="16" height="16" border="0"></a>
+                  <a href="$editNotifierLink"><img src="$requestUtil.getContextPath()/images/edit.gif"
alt="Edit" title="Edit" width="16" height="16" border="0"></a>
                 #elseif ( $notifier.type == "mail" )
                   #set ( $editNotifierLink = $link.setPage('EditMailNotifier.vm').addPathInfo('view','EditMailNotifier').addPathInfo('notifierId',
$notifier.id).addPathInfo('id', $item.id).addPathInfo('executorId', $item.executorId) )
-                  <a href="$editNotifierLink"><img src="/continuum/images/edit.gif"
alt="Edit" title="Edit" width="16" height="16" border="0"></a>
+                  <a href="$editNotifierLink"><img src="$requestUtil.getContextPath()/images/edit.gif"
alt="Edit" title="Edit" width="16" height="16" border="0"></a>
                 #elseif ( $notifier.type == "msn" )
                   #set ( $editNotifierLink = $link.setPage('EditMsnNotifier.vm').addPathInfo('view','EditMsnNotifier').addPathInfo('notifierId',
$notifier.id).addPathInfo('id', $item.id).addPathInfo('executorId', $item.executorId) )
-                  <a href="$editNotifierLink"><img src="/continuum/images/edit.gif"
alt="Edit" title="Edit" width="16" height="16" border="0"></a>
+                  <a href="$editNotifierLink"><img src="$requestUtil.getContextPath()/images/edit.gif"
alt="Edit" title="Edit" width="16" height="16" border="0"></a>
                 #elseif ( $notifier.type == "jabber" )
                   #set ( $editNotifierLink = $link.setPage('EditJabberNotifier.vm').addPathInfo('view','EditJabberNotifier').addPathInfo('notifierId',
$notifier.id).addPathInfo('id', $item.id).addPathInfo('executorId', $item.executorId) )
-                  <a href="$editNotifierLink"><img src="/continuum/images/edit.gif"
alt="Edit" title="Edit" width="16" height="16" border="0"></a>
+                  <a href="$editNotifierLink"><img src="$requestUtil.getContextPath()/images/edit.gif"
alt="Edit" title="Edit" width="16" height="16" border="0"></a>
                 #end
               </td>
             #end
             #if ( $continuum.security.isAuthorized( $c1user, "deleteNotifier" ) )
               <td width="1%">
                 #set ( $deleteNotifierLink = $link.setPage('DeleteNotifier.vm').addPathInfo('notifierId',
$notifier.id).addPathInfo('id', $item.id).addPathInfo('executorId', $item.executorId) )
-                <a href="$deleteNotifierLink"><img src="/continuum/images/delete.gif"
alt="Delete" title="Delete" width="16" height="16" border="0"></a>
+                <a href="$deleteNotifierLink"><img src="$requestUtil.getContextPath()/images/delete.gif"
alt="Delete" title="Delete" width="16" height="16" border="0"></a>
               </td>
             #end
           #else



Mime
View raw message