You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ju...@apache.org on 2010/09/10 22:46:42 UTC

svn commit: r995978 - /sling/trunk/bundles/extensions/explorer/src/main/resources/libs/sling/servlet/default/explorer/edit.esp

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>