bzr branch
http://gegoxaren.bato24.eu/bzr/magstudentportal/trunk
15.2.2
by Gustav Hartvigsson
* Added JUnit and javax.faces dependancies to the pom.xml. |
1 |
import java.io.Serializable; |
2 |
||
3 |
import javax.faces.bean.*; |
|
4 |
||
5 |
||
6 |
@SuppressWarnings({ "serial", "deprecation" }) |
|
7 |
@ManagedBean(name = "configBean", eager = true) |
|
8 |
@ApplicationScoped
|
|
9 |
public class |
|
10 |
ConfigBean implements Serializable { |
|
11 |
/****************************************************************************/ |
|
12 |
private static String |
|
13 |
PAGE_TITLE = "MAG Student Portal"; |
|
14 |
|
|
15 |
private String |
|
16 |
PAGE_SUB_TITLE = "My school"; |
|
17 |
|
|
18 |
|
|
19 |
/****************************************************************************/ |
|
20 |
public String |
|
21 |
getPageTitle () { |
|
22 |
return PAGE_TITLE; |
|
23 |
} |
|
24 |
|
|
25 |
|
|
26 |
public String |
|
27 |
getSubTitle () { |
|
28 |
return PAGE_SUB_TITLE; |
|
29 |
} |
|
30 |
}
|