Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
th-app-java
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Oscar Enrique Gonzalez Escurra
th-app-java
Commits
62c9343f
Commit
62c9343f
authored
Nov 08, 2021
by
Joel Florentin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
agregar enlaces al index a las demas paginas
parent
86dda698
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
curriculumsearch/src/main/java/com/roshka/controller/CargoController.java
+2
-2
curriculumsearch/src/main/webapp/jsp/convocatorias.jsp
+0
-0
curriculumsearch/src/main/webapp/jsp/index.jsp
+4
-0
No files found.
curriculumsearch/src/main/java/com/roshka/controller/CargoController.java
View file @
62c9343f
...
@@ -31,7 +31,7 @@ public class CargoController {
...
@@ -31,7 +31,7 @@ public class CargoController {
this
.
convoRepo
=
convoRepo
;
this
.
convoRepo
=
convoRepo
;
}
}
@RequestMapping
(
"/c
argo
s"
)
@RequestMapping
(
"/c
onvocatoria
s"
)
public
String
menuCargos
(
Model
model
,
public
String
menuCargos
(
Model
model
,
@RequestParam
(
required
=
false
)
Long
cargoId
,
@RequestParam
(
required
=
false
)
Long
cargoId
,
@RequestParam
(
required
=
false
)
Integer
isOpen
//1: true, 0: false
@RequestParam
(
required
=
false
)
Integer
isOpen
//1: true, 0: false
...
@@ -41,7 +41,7 @@ public class CargoController {
...
@@ -41,7 +41,7 @@ public class CargoController {
model
.
addAttribute
(
"convocatorias"
,
convoRepo
.
f1ndByCargoAndEstado
(
new
TypedParameterValue
(
LongType
.
INSTANCE
,
cargoId
),
new
Date
(),
new
TypedParameterValue
(
IntegerType
.
INSTANCE
,
isOpen
)));
model
.
addAttribute
(
"convocatorias"
,
convoRepo
.
f1ndByCargoAndEstado
(
new
TypedParameterValue
(
LongType
.
INSTANCE
,
cargoId
),
new
Date
(),
new
TypedParameterValue
(
IntegerType
.
INSTANCE
,
isOpen
)));
//model.addAttribute("convocatorias",cargoId==null? convoRepo.findAll() : convoRepo.findByCargoId(cargoId));
//model.addAttribute("convocatorias",cargoId==null? convoRepo.findAll() : convoRepo.findByCargoId(cargoId));
return
"c
argo
"
;
return
"c
onvocatorias
"
;
}
}
@RequestMapping
(
"/cargo"
)
@RequestMapping
(
"/cargo"
)
...
...
curriculumsearch/src/main/webapp/jsp/c
argo
.jsp
→
curriculumsearch/src/main/webapp/jsp/c
onvocatorias
.jsp
View file @
62c9343f
File moved
curriculumsearch/src/main/webapp/jsp/index.jsp
View file @
62c9343f
...
@@ -8,5 +8,8 @@
...
@@ -8,5 +8,8 @@
</head>
</head>
<body>
<body>
<a
href=
"postulante"
>
Form postulante
</a>
<a
href=
"postulante"
>
Form postulante
</a>
<a
href=
"postulantes"
>
Lista de postulantes
</a>
<a
href=
"#"
>
Tecnologias
</a>
<a
href=
"convocatorias"
>
Lista de convocatorias
</a>
</body>
</body>
</html>
</html>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment