]> git.mxchange.org Git - jjobs-war.git/commitdiff
Rewrites:
authorRoland Haeder <roland@mxchange.org>
Sun, 10 Apr 2016 10:49:11 +0000 (12:49 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 10 Apr 2016 11:05:54 +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/jjobs/beans/localization/JobsLocalizationSessionBean.java
web/WEB-INF/templates/base.tpl
web/WEB-INF/templates/generic/locale_selection_box.tpl

index bca1a2c38a17f7d416ae91c515897c562f669fe6..87ee9a99bc32c6cf0baff3112f16b6f2bd05422f 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 JobsLocalizationSessionBean extends BaseDatabaseBean implements JobsLocalizationSessionController {
 
index b2187caf5e2dca0f114b6ef10e8b9a84245e897d..0ceef3ffed19a7c45a73ded8c7098bff675e5a0a 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>