Skip to content
This repository
  • 3 commits
  • 3 files changed
  • 0 comments
  • 1 contributor
5  WeTK-war/src/java/org/wetk/back/LessonsBean.java
@@ -30,6 +30,11 @@
30 30
 	private Long assignmentId;
31 31
 
32 32
 
  33
+	public LessonsBean() {
  34
+		lesson.setHour(1);
  35
+	}
  36
+
  37
+
33 38
 	public LessonDTO getLesson() {
34 39
 		return lesson;
35 40
 	}
6  WeTK-war/src/java/org/wetk/back/TeachersBean.java
@@ -30,6 +30,11 @@
30 30
 	private String password;
31 31
 
32 32
 
  33
+	public TeachersBean() {
  34
+		teacher.setEmail("@");
  35
+	}
  36
+
  37
+
33 38
 	public TeacherDTO getTeacher() {
34 39
 		return teacher;
35 40
 	}
@@ -77,6 +82,7 @@ public String saveTeacher() {
77 82
 		return items;
78 83
 	}
79 84
 
  85
+
80 86
 	public String getPassword() {
81 87
 		return password;
82 88
 	}
2  WeTK-war/src/java/org/wetk/back/UserBean.java
@@ -19,7 +19,7 @@
19 19
 	public String logout() {
20 20
 		HttpSession sess = (HttpSession) FacesContext.getCurrentInstance().getExternalContext().getSession(false);
21 21
 		sess.invalidate();
22  
-		return "index";
  22
+		return "pretty:home";
23 23
 	}
24 24
 
25 25
 }

No commit comments for this range

Something went wrong with that request. Please try again.