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
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=windows-1252"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces/customizable" prefix="cust"%>
<f:view>
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1252"/>
<title>loginpage</title>
<style type="text/css">
body {
background-color: #52c6ff;
}
a:link { color: #ff2121; }
</style>
</head>
<body><h:form binding="#{lp.form1}" id="form1">
<div align="center">
<h1>
<strong>Login Page</strong>
</h1><h1>
</h1><p>
<h:panelGrid columns="3" binding="#{lp.panelGrid1}"
id="panelGrid1">
<h:outputLabel value="Login" binding="#{lp.loginlabel}"
id="loginlabel"/>
<h:inputText binding="#{lp.logintxt}" id="logintxt"/>
<h:message for="logintxt"/>
<h:outputLabel value="Password" binding="#{lp.passlabel}"
id="passlabel"/>
<h:inputSecret binding="#{lp.passtxt}" id="passtxt">
<f:validateLength maximum="9" minimum="4"/>
</h:inputSecret>
<h:message for="passtxt"/>
<h:commandButton value="Login"
binding="#{lp.commandButton1}"
id="commandButton1"
action="#{backing_loginpage.login_action}"/>
</h:panelGrid>
</p>
</div>
<h:message for="form"/>
</h:form></body>
</html>
</f:view> |
Partager