1
|
package eu.dnetlib.functionality.modular.ui.workflows.controllers;
|
2
|
|
3
|
import javax.servlet.http.HttpServletRequest;
|
4
|
import javax.servlet.http.HttpServletResponse;
|
5
|
|
6
|
import org.springframework.ui.ModelMap;
|
7
|
|
8
|
import eu.dnetlib.functionality.modular.ui.ModuleEntryPoint;
|
9
|
|
10
|
public class WfHistoryEntryPointController extends ModuleEntryPoint {
|
11
|
|
12
|
@Override
|
13
|
protected void initialize(final ModelMap map, final HttpServletRequest request, final HttpServletResponse response) throws Exception {
|
14
|
if (request.getParameterMap().containsKey("procId")) {
|
15
|
map.addAttribute("procId", request.getParameter("procId"));
|
16
|
}
|
17
|
if (request.getParameterMap().containsKey("family")) {
|
18
|
map.addAttribute("family", request.getParameter("family"));
|
19
|
}
|
20
|
}
|
21
|
|
22
|
}
|