diff --git a/pom.xml b/pom.xml index 34c924c049d501756fe858dcef57fd3082deb08a..d1f7ae107d59930a2b9c4ad7fb1803ab013aac92 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ dhu personnes.ui - 3.0.1-SNAPSHOT + 4.0.0-SNAPSHOT war personnes.ui diff --git a/src/main/java/personne/routing/PersonneUtils.java b/src/main/java/personne/routing/PersonneUtils.java index 1c79b1f11c345160079c9a788796c096767541bf..8195d7528dbee3a8d90e11d8b1a25ad3c33f79db 100644 --- a/src/main/java/personne/routing/PersonneUtils.java +++ b/src/main/java/personne/routing/PersonneUtils.java @@ -37,10 +37,12 @@ public final class PersonneUtils { } String nom = request.getParameter(JSP_ATTRIBUT_NOM); + String prenom = request.getParameter(JSP_ATTRIBUT_PRENOM); return PersonneBase.builder() .uuid(uuid) .nom(nom) + .prenom(prenom) .build(); } } diff --git a/src/main/webapp/WEB-INF/personnes/detail.jsp b/src/main/webapp/WEB-INF/personnes/detail.jsp index 4757293ac50e2e8da683c3a9724cfac24a29197f..e81fe449fbea40052333000490e4233fa45aa1a9 100644 --- a/src/main/webapp/WEB-INF/personnes/detail.jsp +++ b/src/main/webapp/WEB-INF/personnes/detail.jsp @@ -71,6 +71,17 @@ placeholder="nom" required="" title="saisir le nom de la personne!"/> + + + readonly="" + + placeholder="prénom" + title="saisir le prénom de la personne!"/>