blob: b784cba58d5c21565a5db9df11bf4b9b252db3cc [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="bundles.bundle1"/>
<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']}"/><br>
<h:dataTable var="row" border="1">
<h:column id="column1">
<f:facet name="header">
<h:outputText value="column1"></h:outputText>
</f:facet>
</h:column>
<h:column id="column2">
<f:facet name="header">
<h:outputText value="column2"></h:outputText>
</f:facet>
</h:column>
</h:dataTable>
</h:form>
</body>
</html>
</f:view>