From: Roland Haeder Date: Wed, 9 Sep 2015 10:02:40 +0000 (+0200) Subject: Renamed controller method (still no clue, how this should work) + updated jcore... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=dbc595c0564955cabd20c237def7549e119ad500;p=pizzaservice-war.git Renamed controller method (still no clue, how this should work) + updated jcore-ee-logger.jar + a little rewrite on index.xhtml (maybe working) Signed-off-by:Roland Häder --- diff --git a/lib/jcore-ee-logger.jar b/lib/jcore-ee-logger.jar index 6a5ff51e..3e788337 100644 Binary files a/lib/jcore-ee-logger.jar and b/lib/jcore-ee-logger.jar differ diff --git a/src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebBean.java b/src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebBean.java index 9c5875d5..9d76d3d9 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebBean.java @@ -55,11 +55,11 @@ public class AdminCategoryWebBean extends BaseFrameworkBean implements AdminCate InitialContext context = new InitialContext(); // Try to lookup the bean - this.category = (CategorySessionBeanRemote) context.lookup("ejb/stateless-product"); //NOI18N + this.category = (CategorySessionBeanRemote) context.lookup("ejb/stateless-category"); //NOI18N } @Override - public void doAdminAddCategory (final Category category) throws FaceletException { + public void addCategory (final Category category) throws FaceletException { try { // Deligate to bean this.category.doAdminAddCategory(category); diff --git a/src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebController.java b/src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebController.java index c38dcdb5..934c2dc3 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebController.java @@ -32,5 +32,5 @@ public interface AdminCategoryWebController { * @param category Category instance * @throws javax.faces.view.facelets.FaceletException If something unexpected happened */ - public void doAdminAddCategory (final Category category) throws FaceletException; + public void addCategory (final Category category) throws FaceletException; } diff --git a/web/index.xhtml b/web/index.xhtml index c8885c1e..c7f13834 100644 --- a/web/index.xhtml +++ b/web/index.xhtml @@ -31,40 +31,40 @@ //--> - - - - - - - - - - - - - - - - - - - - - - +
- Folgendes kann bestellt werden: -
- Bestellen? - - Anzahl: - - Produkt: - - Einzelpreis: - - Zwischensumme: -
+ + + + + + + + + + + + + + + + + + + + + @@ -75,7 +75,7 @@ @@ -128,10 +128,10 @@ - - -
+ Folgendes kann bestellt werden: +
+ Bestellen? + + Anzahl: + + Produkt: + + Einzelpreis: + + Zwischensumme: +
- #{basket.item.amount} + #{basket.currentItem.amount} @@ -89,7 +89,7 @@ - +
-
+ + + +