]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/templates/generic/message_box.tpl
fixed ids and used h:outputText
[jjobs-war.git] / web / WEB-INF / templates / generic / message_box.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition
3         xmlns="http://www.w3.org/1999/xhtml"
4         xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
5         xmlns:h="http://xmlns.jcp.org/jsf/html"
6         xmlns:f="http://xmlns.jcp.org/jsf/core"
7         >
8
9         <div class="message_box">
10                 <div class="message_header">
11                         <h:outputText value="#{msg.MESSAGE_BOX_TITLE}" />
12                 </div>
13
14                 <ui:fragment rendered="#{not empty message}">
15                         <div class="okay para">
16                                 <h:outputText value="#{message}" />
17                         </div>
18                 </ui:fragment>
19
20                 <ui:fragment rendered="#{empty message}">
21                         <div class="errors para">
22                                 <h:outputText value="#{msg.MESSAGE_BOX_PARAMETER_MESSAGE_EMPTY}" />
23                         </div>
24                 </ui:fragment>
25         </div>
26 </ui:composition>