<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<body>
<h:form>
<h:panelGrid columns="2">
<h:panelGroup>
<h:messages></h:messages>
</h:panelGroup>
<h:outputLabel value="Kullanıcı Adı :"></h:outputLabel>
<h:inputText value="#{loginFormBean.username}"
required="true" requiredMessage="kullanıcı adı giriniz"></h:inputText>
<h:outputLabel value="Şifre : "></h:outputLabel>
<h:inputSecret value="#{loginFormBean.password}"
required="true" requiredMessage="Şifre giriniz"></h:inputSecret>
<h:panelGroup>
<h:commandButton action="#{loginFormBean.submit}" value="Gir"></h:commandButton>
</h:panelGroup>
</h:panelGrid>
</h:form>
</body>
</html>
Dosyayı İndir