src/main/webapp/WEB-INF/jsp/project-form.jsp

changeset 78
bb4c52bf3439
parent 75
33b6843fdf8a
child 81
1a2e7b5d48f7
--- a/src/main/webapp/WEB-INF/jsp/project-form.jsp	Sat May 23 13:34:41 2020 +0200
+++ b/src/main/webapp/WEB-INF/jsp/project-form.jsp	Sat May 23 13:52:04 2020 +0200
@@ -25,16 +25,13 @@
 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 --%>
 <%@page pageEncoding="UTF-8" %>
-<%@page import="de.uapcore.lightpit.Constants" %>
 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
 
-<c:set scope="page" var="moduleInfo" value="${requestScope[Constants.REQ_ATTR_MODULE_INFO]}"/>
-
 <jsp:useBean id="project" type="de.uapcore.lightpit.entities.Project" scope="request"/>
 <jsp:useBean id="users" type="java.util.List<de.uapcore.lightpit.entities.User>" scope="request"/>
 
-<form action="./${moduleInfo.modulePath}/commit" method="post">
+<form action="./projects/commit" method="post">
     <table class="formtable">
         <colgroup>
             <col>
@@ -71,8 +68,9 @@
         <tr>
             <td colspan="2">
                 <input type="hidden" name="id" value="${project.id}"/>
-                <a href="./${moduleInfo.modulePath}/" class="button"><fmt:message bundle="${lightpit_bundle}"
-                                                                                  key="button.cancel"/></a>
+                <a href="./projects/" class="button">
+                    <fmt:message bundle="${lightpit_bundle}" key="button.cancel"/>
+                </a>
                 <button type="submit"><fmt:message bundle="${lightpit_bundle}" key="button.okay"/></button>
             </td>
         </tr>

mercurial