From 971a2f4f796d51fcc8faed85742a1e0754c1bef6 Mon Sep 17 00:00:00 2001 From: Nelson Date: Tue, 2 Nov 2021 10:38:42 -0300 Subject: [PATCH] primer estilo por NR --- curriculumsearch/src/main/java/com/roshka/controller/PostulanteController.java | 3 +-- curriculumsearch/src/main/java/com/roshka/modelo/Experiencia.java | 6 ------ curriculumsearch/src/main/webapp/jsp/postulante-form.jsp | 260 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------ 3 files changed, 201 insertions(+), 68 deletions(-) diff --git a/curriculumsearch/src/main/java/com/roshka/controller/PostulanteController.java b/curriculumsearch/src/main/java/com/roshka/controller/PostulanteController.java index e2e7782..c130ba7 100644 --- a/curriculumsearch/src/main/java/com/roshka/controller/PostulanteController.java +++ b/curriculumsearch/src/main/java/com/roshka/controller/PostulanteController.java @@ -33,8 +33,7 @@ public class PostulanteController { @PostMapping(value = "/postulante",consumes = "application/json") public String guardarPostulante(@RequestBody Postulante postulante){ - System.out.println(postulante.getExperiencias().get(0).getCargo()); - + post.save(postulante); return "redirect:/"; } diff --git a/curriculumsearch/src/main/java/com/roshka/modelo/Experiencia.java b/curriculumsearch/src/main/java/com/roshka/modelo/Experiencia.java index 5818910..f4b0220 100644 --- a/curriculumsearch/src/main/java/com/roshka/modelo/Experiencia.java +++ b/curriculumsearch/src/main/java/com/roshka/modelo/Experiencia.java @@ -42,12 +42,6 @@ public class Experiencia { public void setInstitucion(String institucion) { this.institucion = institucion; } - public Date getFechaDesde() { - return fechaDesde; - } - public void setFechaDesde(Date fechaDesde) { - this.fechaDesde = fechaDesde; - } public void setFechaDesde(String fechaDesde) { if(fechaDesde==null || fechaDesde.isEmpty()) return; diff --git a/curriculumsearch/src/main/webapp/jsp/postulante-form.jsp b/curriculumsearch/src/main/webapp/jsp/postulante-form.jsp index 254a91d..5b41089 100644 --- a/curriculumsearch/src/main/webapp/jsp/postulante-form.jsp +++ b/curriculumsearch/src/main/webapp/jsp/postulante-form.jsp @@ -9,74 +9,214 @@ Hello, world! + + + + -

Hello, world!

-
- - -
We'll never share your email with anyone else.
-
-
- - -
-
- - -
+
+
+
+
+
+

Zenda Grace

+
4.0
Pro Member +
+
+

Edit Profile

+
+
+ + +
+ +
+ + +
+ -
- - -
-
- - -
+
+ + +
+ + + +
+ + +
+ +
+ + +
+
+ + +
-
- - -
+
+ + +
+ + +
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
- - - - -
- -
- +
+ +
+
+ + +
+ +
+ +
+
+ + +
+ +
+ +
+
Edit Experience Experience

+
+
+
+
+ + +