From 0f8e8c2c11ff1996065ee4534881f2c9239294cf Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 25 Sep 2015 14:36:50 +0200 Subject: [PATCH] =?utf8?q?Need=20to=20clear=20these=20properties=20Signed-?= =?utf8?q?off-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../pizzaapplication/beans/category/AdminCategoryWebBean.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebBean.java b/src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebBean.java index ba3a6445..e275349f 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebBean.java @@ -97,6 +97,10 @@ public class AdminCategoryWebBean implements AdminCategoryWebController { // Also send it to the controller bean this.shopController.addCategory(updatedCategory); + + // Unset all older values + this.setCategoryTitle(""); //NOI18N + this.setParentCategory(null); } catch (final CategoryTitleAlreadyUsedException | CannotAddCategoryException ex) { // Continue to throw throw new FaceletException(ex); -- 2.39.5