diff --git a/pom.xml b/pom.xml index ca9f27f..4ace804 100644 --- a/pom.xml +++ b/pom.xml @@ -98,7 +98,7 @@ myfaces-impl 2.3.3 - + org.projectlombok diff --git a/src/main/java/de/hsel/itech/jsf/BookInfo.java b/src/main/java/de/hsel/itech/jsf/BookInfo.java new file mode 100644 index 0000000..d4231be --- /dev/null +++ b/src/main/java/de/hsel/itech/jsf/BookInfo.java @@ -0,0 +1,23 @@ +package de.hsel.itech.jsf; + +import javax.faces.bean.ManagedBean; +import javax.faces.bean.SessionScoped; + +//JSF Bean for bookinfo +@ManagedBean(name="bookInfo", eager=true) +@SessionScoped +public class BookInfo { + + private String test; + + BookInfo(){ + test = "test String"; + } + + public String getTest(){ + return test; + } + public void setTest(String str){ + test = str; + } +} diff --git a/src/main/webapp/bookinfo.xhtml b/src/main/webapp/bookinfo.xhtml new file mode 100644 index 0000000..e9c8d22 --- /dev/null +++ b/src/main/webapp/bookinfo.xhtml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/webapp/template.xhtml b/src/main/webapp/template.xhtml new file mode 100644 index 0000000..af9e554 --- /dev/null +++ b/src/main/webapp/template.xhtml @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + Amazon Light + + + + + + + + + + + + + + + + + + + Katalog + (1) Warenkorb + + + + Mein Account + + Meine Bestellungen + Adressen und Konten + Abmelden + + + + + + + + Dark Theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file