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.2.5
by Gustav Hartvigsson
* Changed the colour of the header_bar class and changed the colour of the links to be less irritating. |
15 |
private static String |
15.2.2
by Gustav Hartvigsson
* Added JUnit and javax.faces dependancies to the pom.xml. |
16 |
PAGE_SUB_TITLE = "My school"; |
17 |
|
|
15.2.5
by Gustav Hartvigsson
* Changed the colour of the header_bar class and changed the colour of the links to be less irritating. |
18 |
private static String |
19 |
PAGE_HEADER_TITLE_URL = "./index.xhtml"; |
|
20 |
|
|
21 |
private static String |
|
22 |
PAGE_HEADER_SUB_TITLE_URL = "./index.xhtml"; |
|
15.2.2
by Gustav Hartvigsson
* Added JUnit and javax.faces dependancies to the pom.xml. |
23 |
|
24 |
/****************************************************************************/ |
|
25 |
public String |
|
26 |
getPageTitle () { |
|
27 |
return PAGE_TITLE; |
|
28 |
} |
|
29 |
|
|
30 |
public String |
|
31 |
getSubTitle () { |
|
32 |
return PAGE_SUB_TITLE; |
|
33 |
} |
|
15.2.5
by Gustav Hartvigsson
* Changed the colour of the header_bar class and changed the colour of the links to be less irritating. |
34 |
|
35 |
public String |
|
36 |
getHeaderTitleUrl () { |
|
37 |
return PAGE_HEADER_TITLE_URL; |
|
38 |
} |
|
39 |
|
|
40 |
public String |
|
41 |
getHeaderSubTitleUrl () { |
|
42 |
return PAGE_HEADER_SUB_TITLE_URL; |
|
43 |
} |
|
15.2.2
by Gustav Hartvigsson
* Added JUnit and javax.faces dependancies to the pom.xml. |
44 |
}
|