]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Rewrites:
authorRoland Haeder <roland@mxchange.org>
Sun, 10 Apr 2016 10:49:15 +0000 (12:49 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 10 Apr 2016 11:05:51 +0000 (13:05 +0200)
- renamed controller (beans) to have them all a suffix "Controller"
- renamed converter to have them all a suffix "Converter"
- Localized German word "Anzahl" and changed it to "Bestellmenge" (order amount)
- added more empty lines

src/java/org/mxchange/addressbook/beans/localization/AddressbookLocalizationSessionBean.java
web/WEB-INF/templates/base.tpl
web/WEB-INF/templates/generic/locale_selection_box.tpl

index aa60644b00dd51e62bb176a8e87c89921b4ecd9c..aed99966287304f2df4b11c42d2d9c11faea4210 100644 (file)
@@ -31,7 +31,7 @@ import org.mxchange.jcoreee.database.BaseDatabaseBean;
  * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
-@Named ("localization")
+@Named ("localizationController")
 @SessionScoped
 public class AddressbookLocalizationSessionBean extends BaseDatabaseBean implements AddressbookLocalizationSessionController {
 
index f03edab73eb6a934489f84928517094166633bb2..4f9d79738d6131b5062f0adf1a546d10e5d6504d 100644 (file)
@@ -1,12 +1,12 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <html
-       lang="#{localization.language}" xml:lang="#{localization.language}"
+       lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
        xmlns="http://www.w3.org/1999/xhtml"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:f="http://xmlns.jcp.org/jsf/core">
 
-       <f:view locale="#{localization.locale}" contentType="text/html">
+       <f:view locale="#{localizationController.locale}" contentType="text/html">
                <h:head>
                        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 
index baea374b89333f6eb756a73061b73a814dd55496..2d81840d305ad0bd36f3501a7db05f78e74130aa 100644 (file)
@@ -6,9 +6,9 @@
        xmlns:ui="http://java.sun.com/jsf/facelets">
 
        <h:form id="locale_selection">
-               <h:selectOneMenu id="language_selection" value="#{localization.language}" onchange="submit()">
+               <h:selectOneMenu id="language_selection" value="#{localizationController.language}" onchange="submit()">
                        <f:selectItem itemLabel="#{msg.SELECT_LANGUAGE}" noSelectionOption="true" />
-                       <f:selectItems value="#{localization.selectableLocalizations}" var="l" itemValue="#{l}" itemLabel="#{msg[l.toString().toUpperCase()]}" />
+                       <f:selectItems value="#{localizationController.selectableLocalizations}" var="l" itemValue="#{l}" itemLabel="#{msg[l.toString().toUpperCase()]}" />
                </h:selectOneMenu>
        </h:form>
 </ui:composition>