57 lines
2.2 KiB
HTML
57 lines
2.2 KiB
HTML
<ui:composition template="/jsp/includes/layout.xhtml"
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
xmlns:ui="http://java.sun.com/jsf/facelets"
|
|
xmlns:h="http://java.sun.com/jsf/html"
|
|
xmlns:f="http://java.sun.com/jsf/core"
|
|
xmlns:a4j="http://richfaces.org/a4j"
|
|
xmlns:rich="http://richfaces.org/rich"
|
|
>
|
|
<ui:define name="title">Realtime Logs</ui:define>
|
|
<ui:define name="content">
|
|
<a4j:region>
|
|
<h:form>
|
|
<a4j:poll id="poll" interval="4000" enabled="#{realTimeController.pollEnabled}" reRender="poll,messageLog"/>
|
|
</h:form>
|
|
</a4j:region>
|
|
<h:form>
|
|
<h:panelGrid columns="1" id="grid" width="100%">
|
|
<h:outputText value="Realtime processed data event log"/>
|
|
<rich:separator lineType="none" height="10px"/>
|
|
<rich:separator lineType="solid" height="1px"/>
|
|
|
|
<h:panelGroup>
|
|
<h:outputText value="Polling active:"/>
|
|
<h:selectBooleanCheckbox value="#{realTimeController.pollEnabled}" required="false" onchange="javascript:this.form.submit(); return false;"/>
|
|
|
|
<h:outputText value="Reversed tail:"/>
|
|
<h:selectBooleanCheckbox value="#{realTimeController.reversedTail}" required="false" onchange="javascript:this.form.submit(); return false;"/>
|
|
|
|
<h:outputText value="LogHosts:"/>
|
|
|
|
<h:outputText value="LogLevel:"/>
|
|
|
|
<h:outputText value="Message regex:"/>
|
|
<h:inputText value="#{realTimeController.filterRegex}" required="false"/>
|
|
|
|
<h:outputText value="Area rows:"/>
|
|
<h:selectOneMenu value="#{realTimeController.messageRows}" onchange="javascript:this.form.submit(); return false;">
|
|
<f:selectItems value="#{realTimeController.messageRowsSelectItems}"/>
|
|
</h:selectOneMenu>
|
|
<h:outputText value="cols:"/>
|
|
<h:selectOneMenu value="#{realTimeController.messageCols}" onchange="javascript:this.form.submit(); return false;">
|
|
<f:selectItems value="#{realTimeController.messageColsSelectItems}"/>
|
|
</h:selectOneMenu>
|
|
|
|
</h:panelGroup>
|
|
<h:inputTextarea
|
|
id="messageLog"
|
|
style="font-size:10px;"
|
|
rows="#{realTimeController.messageRows}" cols="#{realTimeController.messageCols}"
|
|
enabled="false"
|
|
value="#{realTimeController.messageLogData}"
|
|
/>
|
|
</h:panelGrid>
|
|
</h:form>
|
|
</ui:define>
|
|
</ui:composition>
|