You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ev...@apache.org on 2005/12/23 11:27:49 UTC

svn commit: r358788 - in /maven/continuum/trunk/continuum-webapp: pom.xml src/main/webapp/projectView.jsp

Author: evenisse
Date: Fri Dec 23 02:27:44 2005
New Revision: 358788

URL: http://svn.apache.org/viewcvs?rev=358788&view=rev
Log:
Add jstl

Modified:
    maven/continuum/trunk/continuum-webapp/pom.xml
    maven/continuum/trunk/continuum-webapp/src/main/webapp/projectView.jsp

Modified: maven/continuum/trunk/continuum-webapp/pom.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/pom.xml?rev=358788&r1=358787&r2=358788&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/pom.xml (original)
+++ maven/continuum/trunk/continuum-webapp/pom.xml Fri Dec 23 02:27:44 2005
@@ -59,5 +59,15 @@
       <artifactId>commons-fileupload</artifactId>
       <version>1.0</version>
     </dependency>
+    <dependency>
+      <groupId>taglibs</groupId>
+      <artifactId>standard</artifactId>
+      <version>1.1.2</version>
+    </dependency>
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>jstl</artifactId>
+      <version>1.1.2</version>
+    </dependency>
   </dependencies>
 </project>

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/projectView.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/projectView.jsp?rev=358788&r1=358787&r2=358788&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/projectView.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/projectView.jsp Fri Dec 23 02:27:44 2005
@@ -1,5 +1,6 @@
 <%@ taglib uri="webwork" prefix="ww" %>
 <%@ taglib uri="/tld/extremecomponents" prefix="ec" %>
+<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
 <html>
   <ww:i18n name="localization.Continuum">
     <head>
@@ -65,6 +66,7 @@
         <h3><ww:text name="projectView.notifiers"/></h3>
         <ww:set name="notifiers" value="project.notifiers" scope="request"/>
         <ec:table items="notifiers"
+                  var="notifier"
                   showExports="false"
                   showPagination="false"
                   showStatusBar="false"
@@ -76,7 +78,9 @@
             <ec:column property="events" title="projectView.notifier.events" cell="org.apache.maven.continuum.web.view.projectview.NotifierEventCell"/>
             <ec:column property="from" title="projectView.notifier.from" cell="org.apache.maven.continuum.web.view.projectview.NotifierFromCell"/>
             <ec:column property="actions" title="&nbsp;">
-                <ww:text name="edit"/>&nbsp;<ww:text name="delete"/>
+                <c:if test="${!pageScope.notifier.fromProject}">
+                    <ww:text name="edit"/>&nbsp;<ww:text name="delete"/>
+                </c:if>
             </ec:column>
           </ec:row>
         </ec:table>