]> git.mxchange.org Git - jjobs-war.git/commitdiff
fixed controller usage (cherry-pick this!)
authorRoland Haeder <roland@mxchange.org>
Thu, 5 May 2016 13:59:32 +0000 (15:59 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 6 May 2016 21:01:42 +0000 (23:01 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
web/user/user_list.xhtml

index ef70326c17f966b93c44c6d346d7e50ef450c1d0..64b21a7c27ff11a9d3855a5fdb66efdb5d999a7b 100644 (file)
@@ -1,39 +1,39 @@
-<?xml version="1.0" encoding="UTF-8" ?>\r
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r
-<html\r
-       lang="#{localizationController.language}" xml:lang="#{localizationController.language}"\r
-       xmlns="http://www.w3.org/1999/xhtml"\r
-         xmlns:ui="http://xmlns.jcp.org/jsf/facelets"\r
-         xmlns:h="http://xmlns.jcp.org/jsf/html"\r
-         xmlns:f="http://xmlns.jcp.org/jsf/core">\r
-\r
-       <ui:composition template="/WEB-INF/templates/#{userLoginController.templateType}/#{userLoginController.templateType}_base.tpl">\r
-               <ui:define name="login_title">#{msg.PAGE_TITLE_USER_LIST}</ui:define>\r
-\r
-               <ui:define name="content_header">\r
-                       #{msg.CONTENT_TITLE_USER_LIST}\r
-               </ui:define>\r
-\r
-               <ui:define name="content">\r
-                       <div class="table_big">\r
-                               <div class="table_header">\r
-                                       #{msg.TABLE_HEADER_USER_LIST}\r
-                               </div>\r
-\r
-                               <h:dataTable id="userList" var="user" value="#{userController.allVisibleUsers()}" headerClass="table_header_column25" summary="#{msg.TABLE_SUMMARY_USER_LIST}" rendered="#{userController.isVisibleUserFound()}">\r
-                                       <h:column>\r
-                                               <f:facet name="header">#{msg.USER_NAME}</f:facet>\r
-                                               <ui:include src="/WEB-INF/templates/generic/user_profile_link.tpl">\r
-                                                       <ui:param name="user" value="#{user}" />\r
-                                               </ui:include>\r
-                                       </h:column>\r
-\r
-                                       <h:column>\r
-                                               <f:facet name="header">#{msg.USER_CREATED}</f:facet>\r
-                                               <h:outputFormat id="userCreated" value="#{user.userCreated.time}" title="#{msg.USER_CREATED_TITLE}" />\r
-                                       </h:column>\r
-                               </h:dataTable>\r
-                       </div>\r
-               </ui:define>\r
-       </ui:composition>\r
-</html>\r
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
+       lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
+       xmlns="http://www.w3.org/1999/xhtml"
+         xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
+         xmlns:h="http://xmlns.jcp.org/jsf/html"
+         xmlns:f="http://xmlns.jcp.org/jsf/core">
+
+       <ui:composition template="/WEB-INF/templates/#{userLoginController.templateType}/#{userLoginController.templateType}_base.tpl">
+               <ui:define name="login_title">#{msg.PAGE_TITLE_USER_LIST}</ui:define>
+
+               <ui:define name="content_header">
+                       #{msg.CONTENT_TITLE_USER_LIST}
+               </ui:define>
+
+               <ui:define name="content">
+                       <div class="table_big">
+                               <div class="table_header">
+                                       #{msg.TABLE_HEADER_USER_LIST}
+                               </div>
+
+                               <h:dataTable id="userList" var="user" value="#{adminUserController.allVisibleUsers()}" headerClass="table_header_column25" summary="#{msg.TABLE_SUMMARY_USER_LIST}" rendered="#{adminUserController.isVisibleUserFound()}">
+                                       <h:column>
+                                               <f:facet name="header">#{msg.USER_NAME}</f:facet>
+                                               <ui:include src="/WEB-INF/templates/generic/user_profile_link.tpl">
+                                                       <ui:param name="user" value="#{user}" />
+                                               </ui:include>
+                                       </h:column>
+
+                                       <h:column>
+                                               <f:facet name="header">#{msg.USER_CREATED}</f:facet>
+                                               <h:outputFormat id="userCreated" value="#{user.userCreated.time}" title="#{msg.USER_CREATED_TITLE}" />
+                                       </h:column>
+                               </h:dataTable>
+                       </div>
+               </ui:define>
+       </ui:composition>
+</html>