import sources from develop/0.1.0

This commit is contained in:
Thomas Peetz
2025-04-29 12:52:55 +02:00
parent 304005822c
commit 4c96de27db
976 changed files with 58265 additions and 0 deletions
@@ -0,0 +1,77 @@
<?xml version='1.0' encoding='UTF-8'?>
<faces-config version="2.1"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_1.xsd">
<navigation-rule>
<navigation-case>
<from-outcome>kontor</from-outcome>
<to-view-id>/index.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>comics</from-outcome>
<to-view-id>/comics.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>library</from-outcome>
<to-view-id>/library.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>medien</from-outcome>
<to-view-id>/medien.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>tradingcards</from-outcome>
<to-view-id>/tradingcards.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>sport</from-outcome>
<to-view-id>/sport.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>sportAdd</from-outcome>
<to-view-id>/sport/sportAdd.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/sport/sportAdd.xhtml</from-view-id>
<navigation-case>
<from-outcome>addSport</from-outcome>
<to-view-id>/sport/sportDetails.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>saveSport</from-outcome>
<to-view-id>/sport/sportDetails.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
<managed-bean>
<managed-bean-name>now</managed-bean-name>
<managed-bean-class>java.util.Date</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>comicView</managed-bean-name>
<managed-bean-class>com.peetz.comics.view.ComicView</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>libraryView</managed-bean-name>
<managed-bean-class>com.peetz.library.view.LibraryView</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>medienView</managed-bean-name>
<managed-bean-class>com.peetz.medien.view.MedienView</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>tradingCardsView</managed-bean-name>
<managed-bean-class>com.peetz.tradingcards.view.TradingCardsView</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>sportView</managed-bean-name>
<managed-bean-class>com.peetz.tradingcards.view.SportView</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
</faces-config>
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glassfish-web-app PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Servlet 3.0//EN" "http://glassfish.org/dtds/glassfish-web-app_3_0-1.dtd">
<glassfish-web-app error-url="">
<context-root>/kontor</context-root>
<jsp-config>
</jsp-config>
</glassfish-web-app>
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
<context-param>
<param-name>javax.faces.PROJECT_STAGE</param-name>
<param-value>Development</param-value>
</context-param>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>faces/index.xhtml</welcome-file>
</welcome-file-list>
</web-app>
@@ -0,0 +1,39 @@
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<h:head>
<h:outputStylesheet name="./css/default.css"/>
<h:outputStylesheet name="./css/cssLayout.css"/>
<title>Kontor Application</title>
</h:head>
<h:body>
<div id="top">Comics Application</div>
<div>
<div id="left">
<h:link outcome="kontor">Kontor</h:link><br></br>
<h:link outcome="comics">Comics</h:link><br></br>
<h:link outcome="library">Library</h:link><br></br>
<h:link outcome="medien">Medien</h:link><br></br>
<h:link outcome="tradingcards">Trading Cards</h:link><br></br>
</div>
<div>
<div id="right">Add comic, publisher</div>
<div id="content" class="right_content">
<f:view>
<h:form>
<h:outputLabel value="Comics:"></h:outputLabel>
<h:outputText value="#{comicView.comicsNumber}"></h:outputText>
<h:outputLabel value="Publisher:"></h:outputLabel>
<h:outputText value="#{comicView.publisherNumber}"></h:outputText>
</h:form>
</f:view>
</div>
</div>
</div>
<div id="bottom">Ingenieurbüro Thomas Peetz</div>
</h:body>
</html>
+145
View File
@@ -0,0 +1,145 @@
.spring {
border: thin solid black;
font-size:10px;
font-family:Arial;
font-weight:normal;
background-color: #ABE7FA;
}
.myButton {
-moz-box-shadow: 0px 10px 14px -7px #276873;
-webkit-box-shadow: 0px 10px 14px -7px #276873;
box-shadow: 0px 10px 14px -7px #276873;
background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #599bb3), color-stop(1, #408c99));
background:-moz-linear-gradient(top, #599bb3 5%, #408c99 100%);
background:-webkit-linear-gradient(top, #599bb3 5%, #408c99 100%);
background:-o-linear-gradient(top, #599bb3 5%, #408c99 100%);
background:-ms-linear-gradient(top, #599bb3 5%, #408c99 100%);
background:linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#599bb3', endColorstr='#408c99',GradientType=0);
background-color:#599bb3;
-moz-border-radius:8px;
-webkit-border-radius:8px;
border-radius:8px;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-family:Arial;
font-size:12px;
font-weight:bold;
padding:7px 15px;
text-decoration:none;
text-shadow:0px 1px 0px #3d768a;
}
.myButton:hover {
background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #408c99), color-stop(1, #599bb3));
background:-moz-linear-gradient(top, #408c99 5%, #599bb3 100%);
background:-webkit-linear-gradient(top, #408c99 5%, #599bb3 100%);
background:-o-linear-gradient(top, #408c99 5%, #599bb3 100%);
background:-ms-linear-gradient(top, #408c99 5%, #599bb3 100%);
background:linear-gradient(to bottom, #408c99 5%, #599bb3 100%);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#408c99', endColorstr='#599bb3',GradientType=0);
background-color:#408c99;
}
.myButton:active {
position:relative;
top:1px;
}
.tablestyle {
margin:0px;padding:0px;
width:50%;
box-shadow: 10px 10px 5px #888888;
border:1px solid #000000;
-moz-border-radius-bottomleft:0px;
-webkit-border-bottom-left-radius:0px;
border-bottom-left-radius:0px;
-moz-border-radius-bottomright:0px;
-webkit-border-bottom-right-radius:0px;
border-bottom-right-radius:0px;
-moz-border-radius-topright:0px;
-webkit-border-top-right-radius:0px;
border-top-right-radius:0px;
-moz-border-radius-topleft:0px;
-webkit-border-top-left-radius:0px;
border-top-left-radius:0px;
}.tablestyle table{
border-collapse: collapse;
border-spacing: 0;
width:100%;
height:100%;
margin:0px;padding:0px;
}.tablestyle tr:last-child td:last-child {
-moz-border-radius-bottomright:0px;
-webkit-border-bottom-right-radius:0px;
border-bottom-right-radius:0px;
}
.tablestyle table tr:first-child td:first-child {
-moz-border-radius-topleft:0px;
-webkit-border-top-left-radius:0px;
border-top-left-radius:0px;
}
.tablestyle table tr:first-child td:last-child {
-moz-border-radius-topright:0px;
-webkit-border-top-right-radius:0px;
border-top-right-radius:0px;
}.tablestyle tr:last-child td:first-child{
-moz-border-radius-bottomleft:0px;
-webkit-border-bottom-left-radius:0px;
border-bottom-left-radius:0px;
}.tablestyle tr:hover td{
}
.tablestyle tr:nth-child(odd){ background-color:#aad4ff; }
.tablestyle tr:nth-child(even) { background-color:#ffffff; }.tablestyle td{
vertical-align:middle;
border:1px solid #000000;
border-width:0px 1px 1px 0px;
text-align:left;
padding:7px;
font-size:10px;
font-family:Arial;
font-weight:normal;
color:#000000;
}.tablestyle tr:last-child td{
border-width:0px 1px 0px 0px;
}.tablestyle tr td:last-child{
border-width:0px 0px 1px 0px;
}.tablestyle tr:last-child td:last-child{
border-width:0px 0px 0px 0px;
}
.tablestyle tr:first-child td{
background:-o-linear-gradient(bottom, #005fbf 5%, #003f7f 100%); background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #005fbf), color-stop(1, #003f7f) );
background:-moz-linear-gradient( center top, #005fbf 5%, #003f7f 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#005fbf", endColorstr="#003f7f"); background: -o-linear-gradient(top,#005fbf,003f7f);
background-color:#005fbf;
border:0px solid #000000;
text-align:center;
border-width:0px 0px 1px 1px;
font-size:14px;
font-family:Arial;
font-weight:bold;
color:#ffffff;
}
.tablestyle tr:first-child:hover td{
background:-o-linear-gradient(bottom, #005fbf 5%, #003f7f 100%); background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #005fbf), color-stop(1, #003f7f) );
background:-moz-linear-gradient( center top, #005fbf 5%, #003f7f 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#005fbf", endColorstr="#003f7f"); background: -o-linear-gradient(top,#005fbf,003f7f);
background-color:#005fbf;
}
.tablestyle tr:first-child td:first-child{
border-width:0px 0px 1px 0px;
}
.tablestyle tr:first-child td:last-child{
border-width:0px 0px 1px 1px;
}
+48
View File
@@ -0,0 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:c="http://java.sun.com/jsp/jstl/core">
<h:head>
<style type="text/css">
@import url("css/store.css");
</style>
</h:head>
<h:body>
<h:form id="jsfexample">
<h:panelGrid columns="2" styleClass="tablestyle">
<h:outputText value="Hibernate OGM example on WildFly" />
<br/>
<h:outputText value="Enter key:" />
<h:inputText value="#{controller.key}" />
<h:outputText value="Enter value:" />
<h:inputText value="#{controller.value}" />
<h:commandButton actionListener="#{controller.save}"
value="Save key/value" />
<h:messages />
</h:panelGrid>
<h:outputText value="No data yet!" rendered="#{empty controller.propertyList}" />
<br/>
<h:dataTable value="#{controller.propertyList}" var="item" styleClass="tablestyle" rendered="#{not empty controller.propertyList}">
<h:column>
<f:facet name="header">Key</f:facet>
<h:outputText value="#{item.key}" />
</h:column>
<h:column>
<f:facet name="header">Value</f:facet>
<h:outputText value="#{item.value}" />
</h:column>
</h:dataTable>
</h:form>
</h:body>
</html>
@@ -0,0 +1,44 @@
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html">
<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<h:outputStylesheet name="./css/default.css"/>
<h:outputStylesheet name="./css/cssLayout.css"/>
<title>Kontor Application</title>
</h:head>
<h:body>
<div id="top">
<ui:insert name="top">Top</ui:insert>
</div>
<div>
<div id="left">
<ui:insert name="left">
<h:link outcome="kontor">Kontor</h:link><br></br>
<h:link outcome="comics">Comics</h:link><br></br>
<h:link outcome="library">Library</h:link><br></br>
<h:link outcome="medien">Medien</h:link>
<h:link outcome="tradingcards">Trading Cards</h:link><br></br>
</ui:insert>
</div>
<div>
<div id="right">
<ui:insert name="right">Right</ui:insert>
</div>
<div id="content" class="right_content">
<ui:insert name="content">Content</ui:insert>
</div>
</div>
</div>
<div id="bottom">
<ui:insert name="bottom">Ingenieurbüro Thomas Peetz</ui:insert>
</div>
</h:body>
</html>
@@ -0,0 +1,39 @@
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<h:head>
<h:outputStylesheet name="./css/default.css"/>
<h:outputStylesheet name="./css/cssLayout.css"/>
<title>Kontor Application</title>
</h:head>
<h:body>
<div id="top">Library Application</div>
<div>
<div id="left">
<h:link outcome="kontor">Kontor</h:link><br></br>
<h:link outcome="comics">Comics</h:link><br></br>
<h:link outcome="library">Library</h:link><br></br>
<h:link outcome="medien">Medien</h:link><br></br>
<h:link outcome="tradingcards">Trading Cards</h:link><br></br>
</div>
<div>
<div id="right">Right</div>
<div id="content" class="right_content">
<f:view>
<h:form>
<h:outputLabel value="Books:"></h:outputLabel>
<h:outputText value="#{libraryView.bookNumber}"></h:outputText>
<h:outputLabel value="Articles:"></h:outputLabel>
<h:outputText value="#{libraryView.articleNumber}"></h:outputText>
</h:form>
</f:view>
</div>
</div>
</div>
<div id="bottom">Ingenieurbüro Thomas Peetz</div>
</h:body>
</html>
@@ -0,0 +1,39 @@
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<h:head>
<h:outputStylesheet name="./css/default.css"/>
<h:outputStylesheet name="./css/cssLayout.css"/>
<title>Kontor Application</title>
</h:head>
<h:body>
<div id="top">Medien Application</div>
<div>
<div id="left">
<h:link outcome="kontor">Kontor</h:link><br></br>
<h:link outcome="comics">Comics</h:link><br></br>
<h:link outcome="library">Library</h:link><br></br>
<h:link outcome="medien">Medien</h:link><br></br>
<h:link outcome="tradingcards">Trading Cards</h:link><br></br>
</div>
<div>
<div id="right">Right</div>
<div id="content" class="right_content">
<f:view>
<h:form>
<h:outputLabel value="CD:"></h:outputLabel>
<h:outputText value="#{medienView.cdNumber}"></h:outputText>
<h:outputLabel value="DVD:"></h:outputLabel>
<h:outputText value="#{medienView.dvdNumber}"></h:outputText>
</h:form>
</f:view>
</div>
</div>
</div>
<div id="bottom">Ingenieurbüro Thomas Peetz</div>
</h:body>
</html>
@@ -0,0 +1,71 @@
#top {
position: relative;
background-color: lightgrey;
text-align: center;
width: 100%;
height: 30px;
color: white;
padding: 5px;
//margin: 0px 0px 10px 0px;
}
#bottom {
position: relative;
background-color: lightgrey;
width: 100%;
height: 30px;
padding: 5px;
//margin: 10px 0px 0px 0px;
}
#left {
float: left;
background-color: tan;
padding: 5px;
width: 150px;
height: 50%;
}
#right {
float: right;
background-color: tan;
//padding: 5px;
width: 150px;
height: 50%;
}
.center_content {
position: relative;
background-color: wheat;
padding: 5px;
height: 50%;
}
.left_content {
background-color: tan;
padding: 5px;
margin-left: 170px;
height: 50%;
}
.right_content {
background-color: wheat;
padding: 5px;
//margin: 0px 170px 0px 170px;
height: 50%;
}
#top a:link, #top a:visited {
color: white;
font-weight : bold;
text-decoration: none;
}
#top a:link:hover, #top a:visited:hover {
color: black;
font-weight : bold;
text-decoration : underline;
}
@@ -0,0 +1,29 @@
body {
background-color: #ffffff;
font-size: 12px;
font-family: Verdana, "Verdana CE", Arial, "Arial CE", "Lucida Grande CE", lucida, "Helvetica CE", sans-serif;
color: #000000;
margin: 10px;
}
h1 {
font-family: Arial, "Arial CE", "Lucida Grande CE", lucida, "Helvetica CE", sans-serif;
border-bottom: 1px solid #AFAFAF;
font-size: 16px;
font-weight: bold;
margin: 0px;
padding: 0px;
color: #D20005;
}
a:link, a:visited {
color: #045491;
font-weight : bold;
text-decoration: none;
}
a:link:hover, a:visited:hover {
color: #045491;
font-weight : bold;
text-decoration : underline;
}
@@ -0,0 +1,17 @@
<html>
<head>
<link href="css/stylesheet.css" rel="stylesheet" type="text/css" />
<title>Testseite</title>
</head>
<body>
<div id="window">
<div id="title">Testseite</div>
<div id="mainWindow">
<div id="navigation">Links</div>
<div id="detail">Hauptseite</div>
<div id="reference">Details</div>
</div>
<div id="footer">Ingenieurb&uuml;ro Thomas Peetz</div>
</div>
</body>
</html>
@@ -0,0 +1,40 @@
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<h:head>
<h:outputStylesheet name="./css/default.css"/>
<h:outputStylesheet name="./css/cssLayout.css"/>
<title>Kontor Application</title>
</h:head>
<h:body>
<div id="top">Trading Cards Application</div>
<div>
<div id="left">
<h:link outcome="kontor">Kontor</h:link><br></br>
<h:link outcome="comics">Comics</h:link><br></br>
<h:link outcome="library">Library</h:link><br></br>
<h:link outcome="medien">Medien</h:link><br></br>
<h:link outcome="tradingcards">Trading Cards</h:link><br></br>
<h:link outcome="sport">Sport</h:link><br></br>
</div>
<div>
<div id="right">Right</div>
<div id="content" class="right_content">
<f:view>
<h:form>
<h:outputLabel value="Sport:"></h:outputLabel>
<h:outputText value="#{sportView.sportNumber}"></h:outputText>
<h:outputLabel value="Teams:"></h:outputLabel>
<h:outputText value="#{sportView.teamNumber}"></h:outputText>
</h:form>
</f:view>
</div>
</div>
</div>
<div id="bottom">Ingenieurbüro Thomas Peetz</div>
</h:body>
</html>
@@ -0,0 +1,39 @@
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<h:head>
<h:outputStylesheet name="./css/default.css"/>
<h:outputStylesheet name="./css/cssLayout.css"/>
<title>Kontor Application</title>
</h:head>
<h:body>
<div id="top">Trading Cards Application</div>
<div>
<div id="left">
<h:link outcome="kontor">Kontor</h:link><br></br>
<h:link outcome="comics">Comics</h:link><br></br>
<h:link outcome="library">Library</h:link><br></br>
<h:link outcome="medien">Medien</h:link><br></br>
<h:link outcome="tradingcards">Trading Cards</h:link><br></br>
<h:link outcome="sport">Sport</h:link><br></br>
</div>
<div>
<div id="right">Right</div>
<div id="content" class="right_content">
<f:view>
<h:form>
<h:outputLabel value="Sport:"></h:outputLabel>
<h:inputText id="name" maxlength="16" value="#{sportView.name}"></h:inputText>
<h:commandButton id="submit" value="submit" action="addSport"/>
</h:form>
</f:view>
</div>
</div>
</div>
<div id="bottom">Ingenieurbüro Thomas Peetz</div>
</h:body>
</html>
@@ -0,0 +1,39 @@
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<h:head>
<h:outputStylesheet name="./css/default.css"/>
<h:outputStylesheet name="./css/cssLayout.css"/>
<title>Kontor Application</title>
</h:head>
<h:body>
<div id="top">Trading Cards Application</div>
<div>
<div id="left">
<h:link outcome="kontor">Kontor</h:link><br></br>
<h:link outcome="comics">Comics</h:link><br></br>
<h:link outcome="library">Library</h:link><br></br>
<h:link outcome="medien">Medien</h:link><br></br>
<h:link outcome="tradingcards">Trading Cards</h:link><br></br>
<h:link outcome="sport">Sport</h:link><br></br>
</div>
<div>
<div id="right">Right</div>
<div id="content" class="right_content">
<f:view>
<h:form>
<h:outputLabel value="Sport:"></h:outputLabel>
<h:outputText value="#{sportView.name}"></h:outputText>
<h:commandButton id="save" value="save" action="saveSport"/>
</h:form>
</f:view>
</div>
</div>
</div>
<div id="bottom">Ingenieurbüro Thomas Peetz</div>
</h:body>
</html>
@@ -0,0 +1,40 @@
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<h:head>
<h:outputStylesheet name="./css/default.css"/>
<h:outputStylesheet name="./css/cssLayout.css"/>
<title>Kontor Application</title>
</h:head>
<h:body>
<div id="top">Trading Cards Application</div>
<div>
<div id="left">
<h:link outcome="kontor">Kontor</h:link><br></br>
<h:link outcome="comics">Comics</h:link><br></br>
<h:link outcome="library">Library</h:link><br></br>
<h:link outcome="medien">Medien</h:link><br></br>
<h:link outcome="tradingcards">Trading Cards</h:link><br></br>
<h:link outcome="sport">Sport</h:link><br></br>
</div>
<div>
<div id="right">Right</div>
<div id="content" class="right_content">
<f:view>
<h:form>
<h:outputLabel value="Manufacturer:"></h:outputLabel>
<h:outputText value="#{tradingCardsView.manufacturerNumber}"></h:outputText>
<h:outputLabel value="SportCards:"></h:outputLabel>
<h:outputText value="#{tradingCardsView.sportCardNumber}"></h:outputText>
</h:form>
</f:view>
</div>
</div>
</div>
<div id="bottom">Ingenieurbüro Thomas Peetz</div>
</h:body>
</html>