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

changeset 78
bb4c52bf3439
parent 75
33b6843fdf8a
child 81
1a2e7b5d48f7
equal deleted inserted replaced
77:192298f8161f 78:bb4c52bf3439
23 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 23 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 24 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 --%> 26 --%>
27 <%@page pageEncoding="UTF-8" %> 27 <%@page pageEncoding="UTF-8" %>
28 <%@page import="de.uapcore.lightpit.Constants" %>
29 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 28 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
30 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 29 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
31
32 <c:set scope="page" var="moduleInfo" value="${requestScope[Constants.REQ_ATTR_MODULE_INFO]}"/>
33 30
34 <jsp:useBean id="project" type="de.uapcore.lightpit.entities.Project" scope="request"/> 31 <jsp:useBean id="project" type="de.uapcore.lightpit.entities.Project" scope="request"/>
35 <jsp:useBean id="users" type="java.util.List<de.uapcore.lightpit.entities.User>" scope="request"/> 32 <jsp:useBean id="users" type="java.util.List<de.uapcore.lightpit.entities.User>" scope="request"/>
36 33
37 <form action="./${moduleInfo.modulePath}/commit" method="post"> 34 <form action="./projects/commit" method="post">
38 <table class="formtable"> 35 <table class="formtable">
39 <colgroup> 36 <colgroup>
40 <col> 37 <col>
41 <col style="width: 75ch"> 38 <col style="width: 75ch">
42 </colgroup> 39 </colgroup>
69 </tbody> 66 </tbody>
70 <tfoot> 67 <tfoot>
71 <tr> 68 <tr>
72 <td colspan="2"> 69 <td colspan="2">
73 <input type="hidden" name="id" value="${project.id}"/> 70 <input type="hidden" name="id" value="${project.id}"/>
74 <a href="./${moduleInfo.modulePath}/" class="button"><fmt:message bundle="${lightpit_bundle}" 71 <a href="./projects/" class="button">
75 key="button.cancel"/></a> 72 <fmt:message bundle="${lightpit_bundle}" key="button.cancel"/>
73 </a>
76 <button type="submit"><fmt:message bundle="${lightpit_bundle}" key="button.okay"/></button> 74 <button type="submit"><fmt:message bundle="${lightpit_bundle}" key="button.okay"/></button>
77 </td> 75 </td>
78 </tr> 76 </tr>
79 </tfoot> 77 </tfoot>
80 </table> 78 </table>

mercurial