sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jus...@apache.org
Subject svn commit: r995978 - /sling/trunk/bundles/extensions/explorer/src/main/resources/libs/sling/servlet/default/explorer/edit.esp
Date Fri, 10 Sep 2010 20:46:42 GMT
Author: justin
Date: Fri Sep 10 20:46:42 2010
New Revision: 995978

URL: http://svn.apache.org/viewvc?rev=995978&view=rev
Log:
found two more places where the context path needed to be added

Modified:
    sling/trunk/bundles/extensions/explorer/src/main/resources/libs/sling/servlet/default/explorer/edit.esp

Modified: sling/trunk/bundles/extensions/explorer/src/main/resources/libs/sling/servlet/default/explorer/edit.esp
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/explorer/src/main/resources/libs/sling/servlet/default/explorer/edit.esp?rev=995978&r1=995977&r2=995978&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/explorer/src/main/resources/libs/sling/servlet/default/explorer/edit.esp
(original)
+++ sling/trunk/bundles/extensions/explorer/src/main/resources/libs/sling/servlet/default/explorer/edit.esp
Fri Sep 10 20:46:42 2010
@@ -236,7 +236,7 @@
             %>   
 <div >
   <h3>add new sub-node</h3>
-  <form action="<%=path%>/*" method="post">
+  <form action="<%=request.getContextPath()%><%=path%>/*" method="post">
   <div class="property_element">
   <table class="propoerty_table">
   <thead class="smallLabel">
@@ -267,7 +267,7 @@
     <% } %>
     </td>
     <td>
-    <input name=":redirect" type="hidden" value="<%=path%>/*.explorer.html">
+    <input name=":redirect" type="hidden" value="<%=request.getContextPath()%><%=path%>/*.explorer.html">
     <input type="submit" class="button" value="new sub-node">
     </td>
   </tr>



Mime
View raw message