]> git.mxchange.org Git - addressbook-war.git/commitdiff
wrong bait, wrong fish, wrong fix ;-)
authorRoland Haeder <roland@mxchange.org>
Mon, 12 Oct 2015 09:25:51 +0000 (11:25 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 12 Oct 2015 09:29:11 +0000 (11:29 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

web/WEB-INF/templates/generic/form_personal_data.tpl

index 9f415d1d978cad0a5b6a58bc0f0c1bbe14a836e0..4eacc4ac29e13a71b7ab7dfa42e5b43d62dde464 100644 (file)
 
                                <div class="table_right">
                                        <h:selectOneMenu class="select" id="faxCountryCode" value="#{userController.faxCountry}">
-                                               <f:selectItems value="#{country.allCountries()}" var="c" itemValue="#{c}" itemLabel="#{c.country.countryAbroadDialPrefix}#{c.providerDialPrefix} (#{c.providerName})" />
+                                               <f:selectItems value="#{country.allCountries()}" var="c" itemValue="#{c}" itemLabel="#{c.countryAbroadDialPrefix}#{c.countryPhoneCode}" />
                                        </h:selectOneMenu>
 
                                        <h:inputText class="input" id="faxAreaCode" size="5" maxlength="10" value="#{userController.faxAreaCode}">
 
                                <div class="table_right">
                                        <h:selectOneMenu class="select" id="cellphoneCarrier" value="#{userController.cellphoneCarrier}">
-                                               <f:selectItems value="#{cellphone.allSmsProvider()}" var="c" itemValue="#{c}" itemLabel="#{c.countryAbroadDialPrefix}#{c.countryPhoneCode}" />
+                                               <f:selectItems value="#{cellphone.allSmsProvider()}" var="p" itemValue="#{p}" itemLabel="#{p.country.countryLocalDialPrefix}#{p.providerDialPrefix} (#{p.providerName})" />
                                        </h:selectOneMenu>
 
                                        <h:inputText class="input" id="cellphoneNumber" size="10" maxlength="20" value="#{userController.cellphoneNumber}">