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

changeset 51
dd0a45ae25d7
parent 47
57cfb94ab99f
child 59
c759c60507a2
equal deleted inserted replaced
50:2a90d105edec 51:dd0a45ae25d7
30 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 30 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
31 31
32 <c:set scope="page" var="moduleInfo" value="${requestScope[Constants.REQ_ATTR_MODULE_INFO]}"/> 32 <c:set scope="page" var="moduleInfo" value="${requestScope[Constants.REQ_ATTR_MODULE_INFO]}"/>
33 33
34 <jsp:useBean id="project" type="de.uapcore.lightpit.entities.Project" scope="request"/> 34 <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"/>
35 36
36 <form action="./${moduleInfo.modulePath}/commit" method="post"> 37 <form action="./${moduleInfo.modulePath}/commit" method="post">
37 <table class="formtable" style="width: 80ch"> 38 <table class="formtable" style="width: 80ch">
38 <colgroup> 39 <colgroup>
39 <col> 40 <col>
55 <tr> 56 <tr>
56 <th><fmt:message key="thead.owner"/></th> 57 <th><fmt:message key="thead.owner"/></th>
57 <td> 58 <td>
58 <select name="owner"> 59 <select name="owner">
59 <option value="-1"><fmt:message key="placeholder.null-owner" /> </option> 60 <option value="-1"><fmt:message key="placeholder.null-owner" /> </option>
60 <!-- TODO: add user selection --> 61 <c:forEach var="user" items="${users}">
62 <option value="${user.id}">${user.displayname}</option>
63 </c:forEach>
61 </select> 64 </select>
62 </td> 65 </td>
63 </tr> 66 </tr>
64 </tbody> 67 </tbody>
65 <tfoot> 68 <tfoot>

mercurial