]> git.mxchange.org Git - addressbook-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Thu, 27 Jul 2017 20:50:20 +0000 (22:50 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 28 Jul 2017 21:42:34 +0000 (23:42 +0200)
- mobileCarrier is the old name, mobileProvider is now the right one

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/addressbook/beans/contact/AddressbookContactWebSessionController.java
web/WEB-INF/templates/generic/mobile_selection_box.tpl

index 9c3fad7eacf49f496bd655b3c6ee8057d60b30b3..d175dda66cf9231a5f6ed25e1d1733beaba20ae4 100644 (file)
@@ -94,11 +94,11 @@ public interface AddressbookContactWebSessionController extends Serializable {
        MobileProvider getMobileProvider ();
 
        /**
-        * Setter for mobile number's carrier prefix
+        * Setter for mobile number's provider
         * <p>
-        * @param mobileCarrier Mobile number's carrier prefix
+        * @param mobileProvider Mobile number's provider
         */
-       void setMobileProvider (final MobileProvider mobileCarrier);
+       void setMobileProvider (final MobileProvider mobileProvider);
 
        /**
         * Getter for mobile number
index 33a74e47791a15479d17b1cd61a64e155c1ff129..56be7e90a6de76e0dbe0694e0d2d7bf17eeecbd1 100644 (file)
@@ -6,7 +6,7 @@
        xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
 
        <ui:fragment rendered="#{not empty targetController}">
-               <h:selectOneMenu styleClass="select" id="mobileCarrier" value="#{targetController.mobileCarrier}">
+               <h:selectOneMenu styleClass="select" id="mobileProvider" value="#{targetController.mobileProvider}">
                        <f:converter converterId="MobileProviderConverter" />
                        <f:selectItem itemValue="" itemLabel="#{msg.NONE_SELECTED}" />
                        <f:selectItems value="#{mobileProviderController.allMobileProviders()}" var="mobileProvider" itemValue="#{mobileProvider}" itemLabel="#{mobileProvider.providerCountry.countryExternalDialPrefix}#{mobileProvider.providerDialPrefix} (#{mobileProvider.providerName})" />