]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Mail pattern for cellphone provider are optional, maybe not all pürovide such services
authorRoland Häder <roland@mxchange.org>
Wed, 4 May 2016 06:56:31 +0000 (08:56 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 4 May 2016 18:36:37 +0000 (20:36 +0200)
Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/pizzaapplication/beans/mobileprovider/PizzaAdminMobileProviderWebRequestController.java
web/WEB-INF/templates/admin/mobile_provider/admin_form_mobile_provider.tpl

index d3d340ace94b6f81a65a8a1a906cf511c23a61d7..14e74bab19377c487315f51a999a8db0b2e3540f 100644 (file)
@@ -104,8 +104,8 @@ public interface PizzaAdminMobileProviderWebRequestController extends Serializab
        /**
         * Setter for pattern for mail gateway
         * <p>
-        * @param providerMailRegex Pattern for mail gateway
+        * @param providerMailPattern Pattern for mail gateway
         */
-       void setProviderMailPattern (final String providerMailRegex);
+       void setProviderMailPattern (final String providerMailPattern);
 
 }
index 5858d1b13738fed0b1e53ffd7349ef2d2d4b84e4..bef9b00aeb1b74d917f64badf0e86088f8047bfd 100644 (file)
 
                        <div class="table_row">
                                <div class="table_left_medium">
-                                       <h:outputLabel for="providerMailRegex" value="#{msg.ADMIN_ENTER_MOBILE_PROVIDER_PATTERN}" />
+                                       <h:outputLabel for="providerMailPattern" value="#{msg.ADMIN_ENTER_MOBILE_PROVIDER_PATTERN}" />
                                </div>
 
                                <div class="table_right_medium">
-                                       <h:inputText class="input" id="providerMailRegex" size="10" maxlength="30" value="#{adminMobileProviderController.providerMailPattern}" required="true" />
+                                       <h:inputText class="input" id="providerMailPattern" size="10" maxlength="30" value="#{adminMobileProviderController.providerMailPattern}" />
 
                                        <h:outputText class="small notice" value="#{msg.ADMIN_ENTER_MOBILE_PROVIDER_PATTERN_EXAMPLE}" />
                                </div>