]> git.mxchange.org Git - addressbook-war.git/commitdiff
prepared rewrite toward "country bean" feature
authorRoland Haeder <roland@mxchange.org>
Sat, 10 Oct 2015 21:44:44 +0000 (23:44 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 10 Oct 2015 21:52:47 +0000 (23:52 +0200)
web/WEB-INF/templates/guest/guest_personal_data.tpl

index 6f5a79dc4af1e62bb4b91b4f9c377cd72c12779a..0f96614d6146c06b58a4d9eff6f729a2a7100bd0 100644 (file)
                                </div>
 
                                <div class="table_right">
-                                       <h:inputText class="input" id="country" size="2" maxlength="2" value="#{userController.country}" required="true" />
+                                       <h:selectOneMenu class="select" id="country" value="#{userController.country}">
+                                               <f:selectItems value="#{country.selectableCountries}" var="c" itemValue="#{c}" itemLabel="#{msg[c.messageKey]}" />
+                                       </h:selectOneMenu>
                                </div>
 
                                <div class="clear"></div>