bzr branch
http://gegoxaren.bato24.eu/bzr/magstudentportal/trunk
|
18
by Gustav Hartvigsson
* Added vim modelines |
1 |
/* c-basic-offset: 2; tab-width: 2; indent-tabs-mode: nil
|
2 |
* vi: set shiftwidth=2 tabstop=2 expandtab:
|
|
3 |
* :indentSize=2:tabSize=2:noTabs=true:
|
|
4 |
*/
|
|
5 |
||
|
15.2.2
by Gustav Hartvigsson
* Added JUnit and javax.faces dependancies to the pom.xml. |
6 |
import java.io.Serializable; |
7 |
||
8 |
import javax.faces.bean.*; |
|
9 |
||
10 |
||
|
18
by Gustav Hartvigsson
* Added vim modelines |
11 |
@SuppressWarnings({"serial", "deprecation"}) |
|
15.2.2
by Gustav Hartvigsson
* Added JUnit and javax.faces dependancies to the pom.xml. |
12 |
@ManagedBean(name = "configBean", eager = true) |
13 |
@ApplicationScoped
|
|
14 |
public class |
|
15 |
ConfigBean implements Serializable { |
|
16 |
/****************************************************************************/ |
|
17 |
private static String |
|
|
18
by Gustav Hartvigsson
* Added vim modelines |
18 |
PAGE_TITLE = "MAG Student Portal"; |
19 |
||
20 |
private static String |
|
21 |
PAGE_SUB_TITLE = "My school"; |
|
22 |
||
23 |
private static String |
|
24 |
PAGE_HEADER_TITLE_URL = "./index.xhtml"; |
|
25 |
||
26 |
private static String |
|
27 |
PAGE_HEADER_SUB_TITLE_URL = "./index.xhtml"; |
|
28 |
||
|
15.2.2
by Gustav Hartvigsson
* Added JUnit and javax.faces dependancies to the pom.xml. |
29 |
/****************************************************************************/ |
30 |
public String |
|
31 |
getPageTitle () { |
|
32 |
return PAGE_TITLE; |
|
33 |
} |
|
|
18
by Gustav Hartvigsson
* Added vim modelines |
34 |
|
|
15.2.2
by Gustav Hartvigsson
* Added JUnit and javax.faces dependancies to the pom.xml. |
35 |
public String |
36 |
getSubTitle () { |
|
37 |
return PAGE_SUB_TITLE; |
|
38 |
} |
|
|
18
by Gustav Hartvigsson
* Added vim modelines |
39 |
|
|
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. |
40 |
public String |
41 |
getHeaderTitleUrl () { |
|
42 |
return PAGE_HEADER_TITLE_URL; |
|
43 |
} |
|
|
18
by Gustav Hartvigsson
* Added vim modelines |
44 |
|
|
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. |
45 |
public String |
46 |
getHeaderSubTitleUrl () { |
|
|
18
by Gustav Hartvigsson
* Added vim modelines |
47 |
return PAGE_HEADER_SUB_TITLE_URL; |
|
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. |
48 |
} |
|
15.2.2
by Gustav Hartvigsson
* Added JUnit and javax.faces dependancies to the pom.xml. |
49 |
}
|