continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r447265 - /maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/components/buildNowCell.jsp
Date Mon, 18 Sep 2006 05:53:00 GMT
Author: carlos
Date: Sun Sep 17 22:53:00 2006
New Revision: 447265

URL: http://svn.apache.org/viewvc?view=rev&rev=447265
Log:
Use jsp include instead of cell

Added:
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/components/buildNowCell.jsp
  (with props)

Added: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/components/buildNowCell.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/components/buildNowCell.jsp?view=auto&rev=447265
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/components/buildNowCell.jsp
(added)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/components/buildNowCell.jsp
Sun Sep 17 22:53:00 2006
@@ -0,0 +1,21 @@
+<%@ taglib uri="/webwork" prefix="ww" %>
+<%@ taglib uri="http://www.extremecomponents.org" prefix="ec" %>
+<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
+
+<ww:i18n name="localization.Continuum">
+
+    <c:choose>
+      <c:when test="${!project.inQueue and ( project.state gt 0 ) and ( project.state
lt 5 )}">
+        <ww:url id="buildProjectUrl" action="buildProject">
+          <ww:param name="projectId" value="${project.id}"/>
+        </ww:url>
+        <ww:a href="%{buildProjectUrl}">
+          <img src="<c:url value='/images/buildnow.gif'/>" alt="Build Now" title="Build
Now" border="0">
+        </ww:a>
+      </c:when>
+      <c:otherwise>
+        <img src="<c:url value='/images/buildnow_disabled.gif'/>" alt="Build Now"
title="Build Now" border="0">
+      </c:otherwise>
+    </c:choose>
+
+</ww:i18n>

Propchange: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/components/buildNowCell.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/components/buildNowCell.jsp
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"



Mime
View raw message