]> git.mxchange.org Git - pizzaservice-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:50:35 +0000 (23:50 +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/pizzaapplication/beans/contact/PizzaContactWebSessionController.java
web/WEB-INF/templates/generic/mobile_selection_box.tpl

index c51d5622245f822063ff150ecb31c5dceac2d623..4f7f5723ceb2eacae7ab75d28cfbf4ec576bb95d 100644 (file)
@@ -94,11 +94,11 @@ public interface PizzaContactWebSessionController 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 a1771998368e32e84fd16a0a32f41603ddc26ab8..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="cellphoneCarrier" value="#{targetController.cellphoneCarrier}">
+               <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})" />