xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
- xmlns:ui="http://java.sun.com/jsf/facelets">
- <div id="customer_login_content">
- <h:form acceptcharset="utf-8" id="login_form">
+ xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
+ <div id="user_login_content">
+ <h:form id="login_form">
<div class="table">
<div class="table_header">
#{msg.GUEST_ENTER_LOGIN_DATA_TITLE}
<div class="table_row">
<div class="table_left">
- <h:outputLabel for="id" value="#{msg.ENTER_CUSTOMER_NUMBER}" />
+ <h:outputLabel for="userName" value="#{msg.ENTER_USER_NAME}" />
</div>
<div class="table_right">
- <h:inputText class="input" id="id" size="10" maxlength="20" required="true" requiredMessage="#{msg.LOGIN_NO_CUSTOMER_NUMBER_MESSAGE}" />
+ <h:inputText class="input" id="userName" value="#{userController.userName}" size="10" maxlength="20" required="true" requiredMessage="#{msg.LOGIN_NO_USER_NAME_MESSAGE}" />
</div>
</div>
<div class="table_row">
<div class="table_left">
- <h:outputLabel for="password" value="#{msg.ENTER_PASSWORD}" />
+ <h:outputLabel for="userPassword" value="#{msg.ENTER_PASSWORD}" />
</div>
<div class="table_right">
- <h:inputSecret class="input" id="password" size="10" maxlength="255" required="true" requiredMessage="#{msg.LOGIN_NO_PASSWORD_MESSAGE}" />
+ <h:inputSecret class="input" id="userPassword" value="#{userController.userPassword}" size="10" maxlength="255" required="true" requiredMessage="#{msg.LOGIN_NO_PASSWORD_MESSAGE}" />
</div>
</div>
<div class="table_footer">
<h:commandButton class="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
- <h:commandButton class="submit" type="submit" action="#{controller.doLogin()}" value="#{msg.BUTTON_CUSTOMER_LOGIN}" />
+ <h:commandButton class="submit" type="submit" action="#{loginController.doLogin()}" value="#{msg.BUTTON_USER_LOGIN}" />
</div>
</div>
</h:form>