]> git.mxchange.org Git - addressbook-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 21:37:01 +0000 (23:37 +0200)
- the contact's house number extension was not exposed in template
- and also not cleared in clear() method

src/java/org/mxchange/addressbook/beans/contact/AddressbookAdminContactWebRequestBean.java

index e360eeea2e562e1e70b1b827ac32586e544d07ed..e7e316fd3d2de90c5fd785ff382e80ae4a9f486b 100644 (file)
@@ -331,6 +331,7 @@ public class AddressbookAdminContactWebRequestBean extends BaseAddressbookContro
                this.setFirstName(contact.getContactFirstName());
                this.setGender(contact.getContactGender());
                this.setHouseNumber(contact.getContactHouseNumber());
+               this.setHouseNumberExtension(contact.getContactHouseNumberExtension());
                this.setStreet(contact.getContactStreet());
                this.setZipCode(contact.getContactZipCode());
 
@@ -752,6 +753,7 @@ public class AddressbookAdminContactWebRequestBean extends BaseAddressbookContro
                this.setFamilyName(null);
                this.setStreet(null);
                this.setHouseNumber(null);
+               this.setHouseNumberExtension(null);
                this.setZipCode(null);
                this.setCity(null);
                this.setCountry(null);