]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Thu, 20 Apr 2017 09:14:04 +0000 (11:14 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 20 Apr 2017 09:14:56 +0000 (11:14 +0200)
- XML header added
- admin_logout is now the outcome

Signed-off-by: Roland Häder <roland@mxchange.org>
web/WEB-INF/faces-config.xml
web/WEB-INF/templates/admin/admin_menu.tpl

index 60b010fb416752378e9af083b04901b75c8b3460..7fdfa16bdad9890d230d1c151834215c718e65a5 100644 (file)
                        <from-outcome>logout</from-outcome>
                        <to-view-id>/logout.xhtml</to-view-id>
                </navigation-case>
+               <navigation-case>
+                       <from-outcome>admin_logout</from-outcome>
+                       <to-view-id>/admin/admin_logout.xhtml</to-view-id>
+               </navigation-case>
                <navigation-case>
                        <from-outcome>admin_index</from-outcome>
                        <to-view-id>/admin/index.xhtml</to-view-id>
index da659c550f3317ce1bda4d9076aeeb1d10445842..edf1aa7e2213404261a688a551815c4ee3a49ad3 100644 (file)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="UTF-8" ?>
 <ui:composition
        xmlns="http://www.w3.org/1999/xhtml"
        xmlns:f="http://java.sun.com/jsf/core"
@@ -53,7 +54,7 @@
                        </div>
 
                        <ul>
-                               <li><h:link title="#{msg.LINK_ADMIN_LOGOUT_TITLE}" outcome="logout" value="#{msg.LINK_ADMIN_LOGOUT}" /></li>
+                               <li><h:link title="#{msg.LINK_ADMIN_LOGOUT_TITLE}" outcome="admin_logout" value="#{msg.LINK_ADMIN_LOGOUT}" /></li>
                                <li><h:link title="#{msg.LINK_ADMIN_TO_WEBPAGE_TITLE}" outcome="index" value="#{msg.LINK_ADMIN_TO_WEBPAGE}" /></li>
                        </ul>
                </div>