]> git.mxchange.org Git - addressbook-war.git/commitdiff
change countryCode to country
authorRoland Haeder <roland@mxchange.org>
Sat, 10 Oct 2015 21:36:42 +0000 (23:36 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 10 Oct 2015 21:52:47 +0000 (23:52 +0200)
src/java/org/mxchange/addressbook/beans/user/UserWebController.java
web/WEB-INF/templates/guest/guest_personal_data.tpl

index 3da777b1c68be70c858a84ed18be57510908ed9f..ac76a10a49433ea7b63575a17ed25c6f0fc465dd 100644 (file)
@@ -115,18 +115,18 @@ public interface UserWebController extends Serializable {
        public void setComment (final String comment);
 
        /**
-        * Country code
+        * Getter for country instance
         * <p>
-        * @return the countryCode
+        * @return Country instance
         */
        public Country getCountry ();
 
        /**
-        * Country code
+        * Setter for country instance
         * <p>
-        * @param countryCode the countryCode to set
+        * @param country Country instance
         */
-       public void setCountry (final Country countryCode);
+       public void setCountry (final Country country);
 
        /**
         * Getter for email address
index a59ab7cf2474c4f274b250f81a4fa85b60908e0b..6f5a79dc4af1e62bb4b91b4f9c377cd72c12779a 100644 (file)
 
                        <div class="table_row">
                                <div class="table_left">
-                                       <h:outputLabel for="countryCode" value="#{msg.PERSONAL_DATA_COUNTRY_CODE}" />
+                                       <h:outputLabel for="country" value="#{msg.PERSONAL_DATA_COUNTRY_CODE}" />
                                </div>
 
                                <div class="table_right">
-                                       <h:inputText class="input" id="countryCode" size="2" maxlength="2" value="#{userController.countryCode}" required="true" />
+                                       <h:inputText class="input" id="country" size="2" maxlength="2" value="#{userController.country}" required="true" />
                                </div>
 
                                <div class="clear"></div>