This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
/
server_configuration.xhtml
85 lines (76 loc) · 4.05 KB
/
server_configuration.xhtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!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"
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j"
template="../WEB-INF/layout/template.xhtml">
<ui:define name="center_content">
<rich:jQuery selector="#tab_admin" query="addClass('ui-tabs-selected')" />
<h:form>
<s:token allowMultiplePosts="true" />
<rich:panel>
<f:facet name="header">#{messages['jsf.ServerConfiguration']}</f:facet>
<s:decorate id="urlField" template="../WEB-INF/layout/edit.xhtml">
<ui:define name="label">#{messages['jsf.ServerUrl']}</ui:define>
<h:inputText id="url" value="#{serverConfigurationBean.serverUrl}">
<a4j:support event="onblur" reRender="urlField" ajaxSingle="false"/>
</h:inputText>
<h:graphicImage id="urlHelp" value="../public-img/msginfo.png" styleClass="input_help">
<rich:toolTip>
#{messages['jsf.UrlToolTip']}
<br/>
<em><code>#{messages['jsf.UrlExample']}</code></em>
</rich:toolTip>
</h:graphicImage>
</s:decorate>
<s:decorate id="registerField" template="../WEB-INF/layout/edit.xhtml">
<ui:define name="label">#{messages['jsf.RegisterUrl']}</ui:define>
<h:inputText id="url" value="#{serverConfigurationBean.registerUrl}">
<a4j:support event="onblur" reRender="registerField" ajaxSingle="false"/>
</h:inputText>
<h:graphicImage id="urlHelp" value="../public-img/msginfo.png" styleClass="input_help">
<rich:toolTip>
#{messages['jsf.RegisterUrlToolTip']}
<br/>
<em><code>#{messages['jsf.RegisterUrlExample']}</code></em>
</rich:toolTip>
</h:graphicImage>
</s:decorate>
<s:decorate id="emailDomainField" template="../WEB-INF/layout/edit.xhtml">
<ui:define name="label">#{messages['jsf.EmailDomainName']}</ui:define>
<h:inputText id="url" value="#{serverConfigurationBean.emailDomain}">
<a4j:support event="onblur" reRender="emailDomainField" ajaxSingle="false"/>
</h:inputText>
<h:graphicImage id="urlHelp" value="../public-img/msginfo.png" styleClass="input_help">
<rich:toolTip>
#{messages['jsf.EmailDomainNameToolTip']}
<br/>
<em><code>#{messages['jsf.EmailDomainNameExample']}</code></em>
</rich:toolTip>
</h:graphicImage>
</s:decorate>
<s:decorate id="adminEmailField" template="../WEB-INF/layout/edit.xhtml">
<ui:define name="label">#{messages['jsf.AdminEmail']}</ui:define>
<h:inputText id="url" value="#{serverConfigurationBean.adminEmail}">
<a4j:support event="onblur" reRender="adminEmailField" ajaxSingle="false"/>
</h:inputText>
<h:graphicImage id="urlHelp" value="../public-img/msginfo.png" styleClass="input_help">
<rich:toolTip>
#{messages['jsf.EmailToolTip']}
<br/>
</rich:toolTip>
</h:graphicImage>
</s:decorate>
<div style="clear:both"/>
<div class="actionButtons">
<h:commandButton value="#{messages['jsf.Save']}" action="#{serverConfigurationBean.update}"/>
<s:button view="/admin/home.xhtml" value="#{messages['jsf.Cancel']}" propagation="none"/>
</div>
</rich:panel>
</h:form>
</ui:define>
</ui:composition>