From: Roland Haeder Date: Mon, 18 Apr 2016 19:50:49 +0000 (+0200) Subject: better store the user instance locally than as property. well, now auto-complete... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1a155099dfc02f25fd5ec21cb5fa4659952a7bb6;p=pizzaservice-war.git better store the user instance locally than as property. well, now auto-complete cannot help here anymore. :-( --- diff --git a/src/java/org/mxchange/pizzaapplication/beans/user/PizzaAdminUserWebSessionBean.java b/src/java/org/mxchange/pizzaapplication/beans/user/PizzaAdminUserWebSessionBean.java index 772b5b60..64de36de 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/user/PizzaAdminUserWebSessionBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/user/PizzaAdminUserWebSessionBean.java @@ -166,11 +166,6 @@ public class PizzaAdminUserWebSessionBean implements PizzaAdminUserWebSessionCon */ private String street; - /** - * User instance - */ - private User user; - /** * Remote user bean */ @@ -550,16 +545,6 @@ public class PizzaAdminUserWebSessionBean implements PizzaAdminUserWebSessionCon this.street = street; } - @Override - public User getUser () { - return this.user; - } - - @Override - public void setUser (final User user) { - this.user = user; - } - @Override public String getUserName () { return this.userName; @@ -669,9 +654,6 @@ public class PizzaAdminUserWebSessionBean implements PizzaAdminUserWebSessionCon this.setUserPassword(null); this.setUserPasswordRepeat(null); this.setZipCode(null); - - // - user instance - this.setUser(null); } /** diff --git a/src/java/org/mxchange/pizzaapplication/beans/user/PizzaAdminUserWebSessionController.java b/src/java/org/mxchange/pizzaapplication/beans/user/PizzaAdminUserWebSessionController.java index 809ce8c3..dc8e7394 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/user/PizzaAdminUserWebSessionController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/user/PizzaAdminUserWebSessionController.java @@ -317,20 +317,6 @@ public interface PizzaAdminUserWebSessionController extends Serializable { */ void setStreet (final String street); - /** - * Getter for user instance (e.g. from show_user) - *

- * @return User instance - */ - User getUser (); - - /** - * Setter for user instance (e.g. from show_user) - *

- * @param user User instance - */ - void setUser (final User user); - /** * Getter for user name *

diff --git a/web/admin/user/admin_user_show.xhtml b/web/admin/user/admin_user_show.xhtml index 350b1914..629ec20c 100644 --- a/web/admin/user/admin_user_show.xhtml +++ b/web/admin/user/admin_user_show.xhtml @@ -9,7 +9,7 @@ > - + @@ -20,32 +20,32 @@ - + - + - - + + - + - + - + @@ -53,7 +53,7 @@ - + @@ -61,19 +61,19 @@ - + - + - + @@ -81,13 +81,13 @@ - + - + @@ -95,7 +95,7 @@ - + @@ -103,81 +103,81 @@ - + - + - + - + - + - + - + - + - + - - + + - + - + - - + +