From: Roland Haeder Date: Sun, 10 Apr 2016 12:38:38 +0000 (+0200) Subject: Some fixes + added missing "extends Serializable" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ac27f498b70c67552c4fac0613ea2a03c206f5b4;p=pizzaservice-war.git Some fixes + added missing "extends Serializable" --- diff --git a/nbproject/faces-config.NavData b/nbproject/faces-config.NavData index f2305e97..8236ca1c 100644 --- a/nbproject/faces-config.NavData +++ b/nbproject/faces-config.NavData @@ -11,10 +11,10 @@ - - + + @@ -22,9 +22,9 @@ + - diff --git a/src/java/org/mxchange/jshopcore/model/category/PizzaCategoryConverter.java b/src/java/org/mxchange/jshopcore/model/category/PizzaCategoryConverter.java index bbd6116e..9df4097b 100644 --- a/src/java/org/mxchange/jshopcore/model/category/PizzaCategoryConverter.java +++ b/src/java/org/mxchange/jshopcore/model/category/PizzaCategoryConverter.java @@ -108,6 +108,9 @@ public class PizzaCategoryConverter implements Converter { break; } } + + // Debug message + this.loggerBeanLocal.logDebug(MessageFormat.format("getAsObject: category={0}", category)); //NOI18N } catch (final NumberFormatException ex) { // Log exception (maybe to much?) this.loggerBeanLocal.logException(ex); diff --git a/src/java/org/mxchange/pizzaapplication/beans/product/PizzaAdminProductWebRequestController.java b/src/java/org/mxchange/pizzaapplication/beans/product/PizzaAdminProductWebRequestController.java index db59c24e..77128eff 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/product/PizzaAdminProductWebRequestController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/product/PizzaAdminProductWebRequestController.java @@ -16,6 +16,7 @@ */ package org.mxchange.pizzaapplication.beans.product; +import java.io.Serializable; import java.util.List; import javax.faces.view.facelets.FaceletException; import org.mxchange.jshopcore.model.category.Category; @@ -26,7 +27,7 @@ import org.mxchange.jshopcore.model.product.Product; *

* @author Roland Haeder */ -public interface PizzaAdminProductWebRequestController { +public interface PizzaAdminProductWebRequestController extends Serializable { /** * Adds given product data from request to database diff --git a/web/WEB-INF/faces-config.xml b/web/WEB-INF/faces-config.xml index ce4dfa8c..6b5c7a4e 100644 --- a/web/WEB-INF/faces-config.xml +++ b/web/WEB-INF/faces-config.xml @@ -135,10 +135,4 @@ /* - - - de - en_US - - diff --git a/web/WEB-INF/templates/admin/admin_category_selection_box.tpl b/web/WEB-INF/templates/admin/admin_category_selection_box.tpl index 578349c2..fff96a5a 100644 --- a/web/WEB-INF/templates/admin/admin_category_selection_box.tpl +++ b/web/WEB-INF/templates/admin/admin_category_selection_box.tpl @@ -4,7 +4,7 @@ xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets"> - +