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

changeset 86
0a658e53177c
parent 82
4ec7f2600c83
child 180
009700915269
--- a/src/main/webapp/WEB-INF/jsp/user-form.jsp	Sat May 30 18:12:38 2020 +0200
+++ b/src/main/webapp/WEB-INF/jsp/user-form.jsp	Mon Jun 01 14:46:58 2020 +0200
@@ -28,7 +28,8 @@
 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
 
-<jsp:useBean id="user" type="de.uapcore.lightpit.entities.User" scope="request"/>
+<jsp:useBean id="viewmodel" type="de.uapcore.lightpit.viewmodel.UsersEditView" scope="request"/>
+<c:set var="user" scope="page" value="${viewmodel.user}" />
 
 <form action="./teams/commit" method="post">
     <table class="formtable">

mercurial