/magstudentportal/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/magstudentportal/trunk

« back to all changes in this revision

Viewing changes to src/main/webapp/index.xhtml

  • Committer: Gustav Hartvigsson
  • Date: 2017-08-23 07:33:51 UTC
  • mto: (15.1.9 magstudentportal-more-db)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: gustav.hartvigsson@gmail.com-20170823073351-el0kay8wsdejx9tj
* Added JUnit and javax.faces dependancies to the pom.xml.
* Added a ConfigBean, so that some settings and such
  that are used in many places be easier to handle.
* Made the page_header.xhtml template strings from the ConfigBean.
* Started to add tests.

* TODO; Figure out why the balls <h:head> ans <h:body> is not renderd.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8"?>
 
1
<?xml version="1.0" encoding="UTF-8" ?> 
2
2
<!DOCTYPE html>
3
3
<html xmlns="http://www.w3.org/1999/xhtml"
4
 
      xmlns:h="http://xmlns.jcp.org/jsf/html"
5
 
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
6
 
      xmlns:f="http://xmlns.jcp.org/jsf/core">
7
 
<f:view>
8
 
     <h:outputLabel value="Hello, world"/>
9
 
</f:view>
 
4
      xmlns:ui="http://java.sun.com/jsf/facelets"
 
5
      xmlns:f="http://xmlns.jcp.org/jsf/core" 
 
6
      xmlns:h="http://xmlns.jcp.org/jsf/html">
 
7
  <h:head>
 
8
    <h:outputStylesheet library="css" name="main.css"  />
 
9
    <title>${configBean.pageTitle} - ${configBean.subTitle} </title>
 
10
  </h:head>
 
11
  <h:body>
 
12
      <ui:composition template="WEB-INF/templates/page_header.xhtml" />
 
13
  </h:body>
10
14
</html>