From: Roland Haeder Date: Thu, 3 Sep 2015 11:38:58 +0000 (+0200) Subject: Refacturing towards JSF/EJB: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=94975138460e99c05dac20bb1681d586694cfe2c;p=pizzaservice-war.git Refacturing towards JSF/EJB: - renamed and prepared JSPs to XHTML (JSF) - updated jcore, jsfcore and jshop - added own validator for privacy/terms checkboxes - still the "mini basket" is not functional yet, maybe it will come as a template? - introduced guest_base.tpl for all "guest" pages Signed-off-by:Roland Häder --- diff --git a/lib/jcore.jar b/lib/jcore.jar index a123dfa5..526b59ec 100644 Binary files a/lib/jcore.jar and b/lib/jcore.jar differ diff --git a/lib/jsfcore.jar b/lib/jsfcore.jar index caff7700..e49e7da8 100644 Binary files a/lib/jsfcore.jar and b/lib/jsfcore.jar differ diff --git a/lib/jshop.jar b/lib/jshop.jar index de624690..6f80ece3 100644 Binary files a/lib/jshop.jar and b/lib/jshop.jar differ diff --git a/src/java/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java b/src/java/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java index da3ff07d..c9f0ee24 100644 --- a/src/java/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java +++ b/src/java/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java @@ -127,6 +127,7 @@ public class PizzaServiceApplication extends BasePizzaServiceSystem implements P } @Override + @Deprecated public String getPrintableProduktAvailability (final Product product) { // Trace message this.getLogger().trace(MessageFormat.format("product={0} - CALLED!", product)); //NOI18N diff --git a/web/WEB-INF/faces-config.xml b/web/WEB-INF/faces-config.xml index 98b67932..d7b1bde5 100644 --- a/web/WEB-INF/faces-config.xml +++ b/web/WEB-INF/faces-config.xml @@ -3,4 +3,8 @@ xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd"> + + PrivacyTermsCheckboxValidator + org.mxchange.jsfcore.validator.bool.privacy_terms.PrivacyTermsCheckboxValidator + diff --git a/web/WEB-INF/templates.dist/guest_page.xhtml b/web/WEB-INF/templates.dist/guest_page.xhtml index 4577b9ae..d045118d 100644 --- a/web/WEB-INF/templates.dist/guest_page.xhtml +++ b/web/WEB-INF/templates.dist/guest_page.xhtml @@ -3,11 +3,10 @@ - + Your page's title here diff --git a/web/WEB-INF/templates/base.tpl b/web/WEB-INF/templates/base.tpl index bfaffe8a..7c5763ff 100644 --- a/web/WEB-INF/templates/base.tpl +++ b/web/WEB-INF/templates/base.tpl @@ -14,13 +14,11 @@
- -