messagelist.xhtml 1.59 KB
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:users="http://java.sun.com/jsf/composite/cditools/user"
	xmlns:tools="http://java.sun.com/jsf/composite/cditools" xmlns:f="http://java.sun.com/jsf/core"
>
<h:body>
	<ui:composition template="/layout/#{sessionHandler.layout}/template.xhtml">
		<f:metadata>
			<!-- f:event type="preRenderView" listener="#{newsListView.initView}" /-->
		</f:metadata>
		<ui:define name="content">
			<h1>#{i18n['actionlog.messagelist.header']}</h1>
			<h:dataTable styleClass="bordertable" id="message" value="#{actionLogMessageView.messages}" var="message">
				<h:column>
					<f:facet name="header">
						<h:outputText value="#{i18n['actionlog.time']}" />
					</f:facet>
					<h:outputText value="#{message.time}" />
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="#{i18n['actionlog.user']}" />
					</f:facet>
					<h:outputText value="#{message.user.nick}" />
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="#{i18n['actionlog.crew']}" />
					</f:facet>
					<h:outputText value="#{message.crew}" />
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="#{i18n['actionlog.message']}" />
					</f:facet>
					<h:outputText value="#{message.message}" />
				</h:column>
			</h:dataTable>
		</ui:define>
	</ui:composition>
</h:body>
</html>