|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
template="layout/template.xhtml">
<ui:define name="body">
<h1>A Security Error has occurred</h1>
<s:fragment rendered="#{not empty facesMessages.currentMessages}">
<h:messages styleClass="message" errorClass="errormsg"
infoClass="infomsg" warnClass="warnmsg" globalOnly="true" />
</s:fragment>
<s:fragment rendered="#{empty facesMessages.currentMessages}">
<p>#{not empty org.jboss.seam.handledException.message ?
org.jboss.seam.handledException.message : 'The cause of the error is
unknown'}</p>
</s:fragment>
</ui:define>
</ui:composition>
|