roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r558147 - /roller/trunk/apps/weblogger/web/WEB-INF/jsps/admin/CommonPingTargets.jsp
Date Fri, 20 Jul 2007 21:17:01 GMT
Author: snoopdave
Date: Fri Jul 20 14:17:00 2007
New Revision: 558147

URL: http://svn.apache.org/viewvc?view=rev&rev=558147
Log:
Fixes ROL-1474, " Exception (500) occurs when clicks to "Add Ping Target" and some other URL
(the double <s:url> problem) bugs the same page. The problem is that CommonPingTargets.jsp
was calling the CustomPingTargetAdd action when it should have been calling CommonPingTarget
action.

Modified:
    roller/trunk/apps/weblogger/web/WEB-INF/jsps/admin/CommonPingTargets.jsp

Modified: roller/trunk/apps/weblogger/web/WEB-INF/jsps/admin/CommonPingTargets.jsp
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/WEB-INF/jsps/admin/CommonPingTargets.jsp?view=diff&rev=558147&r1=558146&r2=558147
==============================================================================
--- roller/trunk/apps/weblogger/web/WEB-INF/jsps/admin/CommonPingTargets.jsp (original)
+++ roller/trunk/apps/weblogger/web/WEB-INF/jsps/admin/CommonPingTargets.jsp Fri Jul 20 14:17:00
2007
@@ -64,13 +64,13 @@
             <s:url id="disablePing" action="commonPingTargets!disable">
                 <s:param name="pingTargetId" value="#pingTarget.id" />
             </s:url>
-            <a href="<s:url value="%{disablePing}"/>"><s:text name="pingTarget.disable"/></a>
+            <s:a href="%{disablePing}"><s:text name="pingTarget.disable"/></s:a>
         </s:if>
         <s:else>
             <s:url id="enablePing" action="commonPingTargets!enable">
                 <s:param name="pingTargetId" value="#pingTarget.id" />
             </s:url>
-            <a href="<s:url value="%{enablePing}"/>"><s:text name="pingTarget.enable"/></a>
+            <s:a href="%{enablePing}"><s:text name="pingTarget.enable"/></s:a>
         </s:else>
     </td>
     
@@ -78,18 +78,18 @@
         <s:url id="editPing" action="commonPingTargetEdit">
             <s:param name="bean.id" value="#pingTarget.id" />
         </s:url>
-        <a href="<s:url value="%{editPing}"/>">
+        <s:a href="%{editPing}">
             <img src='<c:url value="/images/page_white_edit.png"/>' border="0" alt="<s:text
name="pingTarget.edit" />" />
-        </a>
+        </s:a>
     </td>
     
     <td class="rollertable" align="center">
         <s:url id="removePing" action="commonPingTargets!deleteConfirm">
             <s:param name="pingTargetId" value="#pingTarget.id" />
         </s:url>
-        <a href="<s:url value="%{removePing}"/>">
+        <s:a href="%{removePing}">
             <img src='<c:url value="/images/delete.png"/>' border="0" alt="<s:text
name="pingTarget.remove" />" />
-        </a>
+        </s:a>
     </td>
     
     </tr>
@@ -98,7 +98,7 @@
 </table>
 
 <div style="padding: 4px; font-weight: bold;">
-    <s:url id="addPing" action="customPingTargetAdd">
+    <s:url id="addPing" action="commonPingTargetAdd">
         <s:param name="weblog" value="actionWeblog.handle" />
     </s:url>
     <img src='<s:url value="/images/add.png"/>' border="0"alt="icon" /><s:a
href="%{addPing}">Add Ping Target</s:a>



Mime
View raw message