<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://xmlns.jcp.org/jsf/html"
                xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
                xmlns:f="http://xmlns.jcp.org/jsf/core"
                xmlns:c="http://java.sun.com/jsp/jstl/core"
                xmlns:composite="http://xmlns.jcp.org/jsf/composite">
    <h:form id="loginForm">
            <label class="text_grey" value="Login"/>

            <h:outputLabel value="Användarnamn: "/>
            <h:inputText id="username" 
            	value="#{loginBean.username}" 
            	required="true" 
            	requiredMessage="du måste ange ditt namn!!!"/>
            <br/>

            <h:outputLabel value="Lösenord: "/>
            <h:inputSecret id="password" 
            	value="#{loginBean.password}" 
            	required="true" 
            	requiredMessage="mata in ditt lösenord"/>
            <br/>
            <br/>

            <h:commandButton action="#{loginBean.login}" value="Login"/>
    </h:form>

</ui:composition>