continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From batkin...@apache.org
Subject svn commit: r1669264 - /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/distributedPurgeConfigurationsList.jsp
Date Thu, 26 Mar 2015 03:12:16 GMT
Author: batkinson
Date: Thu Mar 26 03:12:16 2015
New Revision: 1669264

URL: http://svn.apache.org/r1669264
Log:
Unified tag usage by using struts rather than JSTL standard tags.

Modified:
    continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/distributedPurgeConfigurationsList.jsp

Modified: continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/distributedPurgeConfigurationsList.jsp
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/distributedPurgeConfigurationsList.jsp?rev=1669264&r1=1669263&r2=1669264&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/distributedPurgeConfigurationsList.jsp
(original)
+++ continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/distributedPurgeConfigurationsList.jsp
Thu Mar 26 03:12:16 2015
@@ -19,7 +19,6 @@
 
 <%@ taglib uri="/struts-tags" prefix="s" %>
 <%@ taglib uri="http://www.extremecomponents.org" prefix="ec" %>
-<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
 <%@ taglib uri="http://plexus.codehaus.org/redback/taglib-1.0" prefix="redback" %>
 
 <html>
@@ -50,13 +49,13 @@
             <ec:column property="buildAgentUrl" title="purgeConfigs.table.buildAgent"/>
             <ec:column property="editActions" title="&nbsp;" width="1%">
                 <s:url id="editPurgeConfigUrl" action="editDistributedPurgeConfig">
-                  <s:param name="purgeConfigId"><c:out value="${pageScope.dirPurge.id}"/></s:param>
+                  <s:param name="purgeConfigId" value="#attr['dirPurge'].id"/>
                 </s:url>
                 <s:a href="%{editPurgeConfigUrl}"><img src="<s:url value='/images/edit.gif'
includeParams="none"/>" alt="<s:text name='edit'/>" title="<s:text name='edit'/>"
border="0" /></s:a>
             </ec:column>
             <ec:column property="purgeActions" title="&nbsp;" width="1%">
                 <s:url id="purgeUrl" action="doDistributedPurge">
-                  <s:param name="purgeConfigId"><c:out value="${pageScope.dirPurge.id}"/></s:param>
+                  <s:param name="purgeConfigId" value="#attr['dirPurge'].id"/>
                 </s:url>
                 <s:a href="%{purgeUrl}"><img src="<s:url value='/images/purgenow.gif'
includeParams="none"/>" alt="<s:text name='purge'/>" title="<s:text name='purge'/>"
border="0" /></s:a>
             </ec:column>
@@ -64,8 +63,8 @@
                 <s:set var="tname" value="'remPurgeToken' + #attr['dirPurge'].id"/>
                 <s:token name="%{#attr['tname']}"/>
                 <s:url id="removePurgeConfigUrl" action="removeDistributedPurgeConfig">
-                  <s:param name="purgeConfigId"><c:out value="${pageScope.dirPurge.id}"/></s:param>
-                  <s:param name="description"><c:out value="${pageScope.dirPurge.description}"/></s:param>
+                  <s:param name="purgeConfigId" value="#attr['dirPurge'].id"/>
+                  <s:param name="description" value="#attr['dirPurge'].description"/>
                   <s:param name="struts.token.name" value="#attr['tname']" />
                   <s:param name="%{#attr['tname']}" value="#session['struts.tokens.' +
#attr['tname']]"/>
                 </s:url>



Mime
View raw message