]> git.mxchange.org Git - jjobs-war.git/blobdiff - web/guest/user/login.xhtml
Continued porting templates:
[jjobs-war.git] / web / guest / user / login.xhtml
index 1419666b1321f84ea9626b84cc7d8a4cc250955d..5ee98148bf5abb712e14825dc5fe28a5f651d0b3 100644 (file)
@@ -2,15 +2,13 @@
 <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"
-         >
+       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/guest/guest_base.tpl" id="user_login">
-               <ui:define name="guest_title">
-                       <h:outputText value="#{msg.PAGE_TITLE_USER_LOGIN}" />
-               </ui:define>
+               <ui:define name="guest_title">#{msg.PAGE_TITLE_USER_LOGIN}</ui:define>
 
                <ui:define name="content_header">
                        <h:outputText value="#{msg.CONTENT_TITLE_USER_LOGIN}" />
                        </ui:fragment>
 
                        <ui:fragment rendered="#{not featureController.isFeatureEnabled('user_name_required')}">
-                               <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
-                                       <ui:param name="message" value="#{msg.ERROR_GUEST_USER_LOGIN_DEACTIVATED}" />
-                                       <ui:param name="styleClass" value="errors" />
-                               </ui:include>
+                               <h:outputText styleClass="errors" value="#{msg.ERROR_GUEST_USER_LOGIN_DEACTIVATED}" />
                        </ui:fragment>
                </ui:define>
        </ui:composition>