blob: ad170d342d75150062878e419283d317d2d0e6ff [file] [log] [blame]
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%--
The taglib directive below imports the JSTL library. If you uncomment it,
you must also add the JSTL library to the project. The Add Library... action
on Libraries node in Projects view can be used to add the JSTL 1.1 library.
--%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<f:view>
<f:loadBundle var="bundle" basename="resources.LoginPageBundle" />
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><h:outputText value="#{bundle['page.title']}"/></title>
<link rel="stylesheet" href="style/style.css" media="screen"/>
</head>
<body>
<h:form id="mainForm">
<h1><h:outputText value="#{bundle['page.header']}"/></h1>
<h:messages/>
<h:panelGrid columns="2">
<h:outputLabel for="userId" value="Username:"/>
<h:inputText id="userId" value="#{loginRequest.id}"/>
<h:outputLabel for="password" value="Password:"/>
<h:inputSecret id="password" value="#{loginRequest.passwordPlainText}"/>
</h:panelGrid>
<h:commandButton action="#{appController.loginActions}" value="#{bundle['login.button.value']}"/>
</h:form>
</body>
</html>
</f:view>