]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Fixed house number extension: (please cherry-pick)
authorRoland Häder <roland@mxchange.org>
Sat, 6 Aug 2016 08:45:35 +0000 (10:45 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 6 Aug 2016 20:06:33 +0000 (22:06 +0200)
- the contact's house number extension was not exposed in template
- and also not cleared in clear() method

src/java/org/mxchange/pizzaapplication/beans/contact/PizzaAdminContactWebRequestBean.java

index d695462cddf4ac73ef1a20c4ca606224f9c57b43..dc5b2478c022e832c4e11cdd76c73ff8cee35faf 100644 (file)
@@ -316,6 +316,7 @@ public class PizzaAdminContactWebRequestBean extends BasePizzaController impleme
                this.setFirstName(contact.getContactFirstName());
                this.setGender(contact.getContactGender());
                this.setHouseNumber(contact.getContactHouseNumber());
+               this.setHouseNumberExtension(contact.getContactHouseNumberExtension());
                this.setStreet(contact.getContactStreet());
                this.setZipCode(contact.getContactZipCode());
 
@@ -818,6 +819,7 @@ public class PizzaAdminContactWebRequestBean extends BasePizzaController impleme
                this.setFamilyName(null);
                this.setStreet(null);
                this.setHouseNumber(null);
+               this.setHouseNumberExtension(null);
                this.setZipCode(null);
                this.setCity(null);
                this.setCountry(null);