File tree Expand file tree Collapse file tree 5 files changed +17
-19
lines changed
java/org/woehlke/java/simpleworklist/domain Expand file tree Collapse file tree 5 files changed +17
-19
lines changed Original file line number Diff line number Diff line change 13
13
14
14
@ Slf4j
15
15
@ Controller
16
- @ RequestMapping (path = "/" )
16
+ @ RequestMapping (path = "/pages " )
17
17
public class PagesController extends AbstractController {
18
18
19
19
@ RequestMapping (path = "/information" , method = RequestMethod .GET )
Original file line number Diff line number Diff line change @@ -27,31 +27,31 @@ public class UserSessionBean implements Serializable {
27
27
private String lastSearchterm ; //TODO: Make SearchRequest to Entity
28
28
29
29
public UserSessionBean (){
30
- this .lastSearchterm ="" ; //TODO: Make SearchRequest to Entity
31
- this .lastTaskState =TaskState .INBOX ;
32
- this .lastProjectId =0L ;
30
+ this .userAccountid =0L ;
33
31
this .lastContextId =0L ;
32
+ this .lastProjectId =0L ;
34
33
this .lastTaskId =0L ;
35
- this .userAccountid =0L ;
34
+ this .lastTaskState =TaskState .INBOX ;
35
+ this .lastSearchterm ="" ; //TODO: Make SearchRequest to Entity
36
36
}
37
37
38
38
public UserSessionBean (long userAccountid , long lastContextId ){
39
- this .lastSearchterm ="" ; //TODO: Make SearchRequest to Entity
40
- this .lastTaskState =TaskState .INBOX ;
41
- this .lastProjectId =0L ;
42
- this .lastTaskId =0L ;
43
39
this .userAccountid =userAccountid ;
44
40
this .lastContextId =lastContextId ;
41
+ this .lastProjectId =0L ;
42
+ this .lastTaskId =0L ;
43
+ this .lastTaskState =TaskState .INBOX ;
44
+ this .lastSearchterm ="" ; //TODO: Make SearchRequest to Entity
45
45
}
46
46
47
47
@ Deprecated
48
48
public UserSessionBean (long contextId ){
49
- this .lastContextId = contextId ;
50
- lastSearchterm = "" ; //TODO: Make SearchRequest to Entity
51
- lastTaskState = TaskState . INBOX ;
52
- lastProjectId =0L ;
53
- lastTaskId = 0L ;
54
- userAccountid = 0L ;
49
+ this .userAccountid = 0L ;
50
+ this . lastContextId = contextId ;
51
+ this . lastProjectId = 0L ;
52
+ this . lastTaskId =0L ;
53
+ this . lastTaskState = TaskState . INBOX ;
54
+ this . lastSearchterm = "" ; //TODO: Make SearchRequest to Entity
55
55
}
56
56
57
57
public void update (long userAccountid , long contextId ) {
Original file line number Diff line number Diff line change 104
104
antPatternsPublic :
105
105
- " /favicon.ico"
106
106
- " /favicon.ico*"
107
- - " /information"
108
- - " /information*"
109
107
- " /pages/**"
110
108
- " /webjars/**"
111
109
- " /css/**"
Original file line number Diff line number Diff line change 110
110
</ div >
111
111
</ li >
112
112
< li class ="nav-item ">
113
- < a class ="nav-link " th:href ="@{/information} ">
113
+ < a class ="nav-link " th:href ="@{/pages/ information} ">
114
114
< i class ="fa-solid fa-circle-info "> </ i >
115
115
< span th:text ="#{pages.information.h1} "> information</ span >
116
116
</ a >
Original file line number Diff line number Diff line change 90
90
< footer class ="footer ">
91
91
< nav class ="navbar fixed-bottom navbar-dark bg-dark navbar-text ">
92
92
< div class ="container ">
93
- < div class ="col nav-link "> < a th:href ="@{/information} " class ="nav-link "> © 2022 Thomas Wöhlke</ a > </ div >
93
+ < div class ="col nav-link "> < a th:href ="@{/pages/ information} " class ="nav-link "> © 2022 Thomas Wöhlke</ a > </ div >
94
94
< div class ="col nav-link ">
95
95
< a href ="https://twitter.com/GustaveSchiller " class ="nav-link text-center ">
96
96
< i class ="fa-brands fa-twitter "> </ i > GustaveSchiller
You can’t perform that action at this time.
0 commit comments