]> git.mxchange.org Git - jjobs-war.git/commitdiff
added admin_contact_list.xhtml + navigation rule
authorRoland Häder <roland@mxchange.org>
Fri, 22 Apr 2016 16:05:43 +0000 (18:05 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 23 Apr 2016 20:30:06 +0000 (22:30 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
web/WEB-INF/faces-config.xml
web/admin/contact/admin_contact_list.xhtml [new file with mode: 0644]

index 44d139782e908a076e0d00d8f291508789b06fb5..c5cdde49c4b7544036c3b970e197f0915d8f0a18 100644 (file)
                        <to-view-id>/admin/contact/admin_contact_show.xhtml</to-view-id>
                </navigation-case>
        </navigation-rule>
+       <navigation-rule>
+               <from-view-id>/admin/contact/admin_contact_edit.xhtml</from-view-id>
+               <navigation-case>
+                       <from-outcome>admin_list_contact</from-outcome>
+                       <to-view-id>/admin/contact/admin_contact_list.xhtml</to-view-id>
+               </navigation-case>
+       </navigation-rule>
        <!--
        <factory>
                <exception-handler-factory>
diff --git a/web/admin/contact/admin_contact_list.xhtml b/web/admin/contact/admin_contact_list.xhtml
new file mode 100644 (file)
index 0000000..072636b
--- /dev/null
@@ -0,0 +1,22 @@
+_<?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/admin/admin_base.tpl">
+               <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_LIST_CONTACT}</ui:define>
+
+               <ui:define name="content_header">
+                       #{msg.CONTENT_TITLE_ADMIN_LIST_CONTACT}
+               </ui:define>
+
+               <ui:define name="content">
+                       Here goes your content.
+               </ui:define>
+       </ui:composition>
+</html>