1
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
2
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
3
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
4
<%@ taglib prefix="s" uri="http://struts.apache.org/tags-faces" %>
9
Copyright 2002,2004 The Apache Software Foundation.
11
Licensed under the Apache License, Version 2.0 (the "License");
12
you may not use this file except in compliance with the License.
13
You may obtain a copy of the License at
15
http://www.apache.org/licenses/LICENSE-2.0
17
Unless required by applicable law or agreed to in writing, software
18
distributed under the License is distributed on an "AS IS" BASIS,
19
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
See the License for the specific language governing permissions and
21
limitations under the License.
28
<s:form action="/logon"
30
onsubmit="return validateLogonForm(this);">
32
<h:panelGrid columns="2"
33
styleClass="form-background"
34
headerClass="form-header"
35
columnClasses="form-prompt,form-field"
36
footerClass="form-footer">
38
<%-- Grid header element --%>
40
<f:facet name="header">
41
<s:message key="logon.header"/>
44
<%-- Grid data elements --%>
46
<h:outputLabel for="username">
47
<s:message key="prompt.username"/>
50
<h:inputText id="username"
52
value="#{logonForm.username}"/>
54
<h:outputLabel for="password">
55
<s:message key="prompt.password"/>
58
<h:inputSecret id="password" size="16"
59
value="#{logonForm.password}"/>
61
<h:commandButton id="submit"
63
styleClass="command-single"
66
<h:commandButton id="reset"
68
styleClass="command-single"
71
<%-- Grid footer element --%>
73
<f:facet name="footer">
74
<s:message key="logon.footer"/>
79
<s:javascript formName="logonForm"
80
dynamicJavascript="true"
81
staticJavascript="false"/>
82
<script language="Javascript1.1" src="staticJavascript.jsp"></script>