- <h:form acceptcharset="utf-8" id="register_form">
- <div class="table">
- <div class="table_header">
- Anmelden als Neukunde
- </div>
-
- <div class="para notice">
- Bitte geben Sie mindestens Name, Anschrift und Telefonnummer ein:
- </div>
-
- <div class="para">
- <fieldset id="personal_data">
- <legend title="Bitte geben Sie Ihre Daten ein.">Bitte Ihre Daten eingeben:</legend>
-
- <div class="table_row">
- <div class="table_left">
- <h:outputLabel for="gender" value="Anrede:" />
- </div>
-
- <div class="table_right">
- <ui:include src="/WEB-INF/templates/generic/gender_selection_box.tpl" />
- </div>
-
- <div class="clear"></div>
- </div>
-
- <div class="table_row">
- <div class="table_left">
- <h:outputLabel for="companyname" value="Firmenname:" />
- </div>
-
- <div class="table_right">
- <h:inputText class="input" id="companyname" size="15" maxlength="255" value="#{customer.companyName}" />
- </div>
-
- <div class="clear"></div>
- </div>
-
- <div class="table_row">
- <div class="table_left">
- <h:outputLabel for="firstName" value="Vorname:" />
- </div>
-
- <div class="table_right">
- <h:inputText class="input" id="firstName" size="10" maxlength="255" value="#{customer.firstName}" required="true">
- <f:validator validatorId="NameValidator" />
- </h:inputText>
- </div>
-
- <div class="clear"></div>
- </div>
-
- <div class="table_row">
- <div class="table_left">
- <h:outputLabel for="familyName" value="Nachname:" />
- </div>
-
- <div class="table_right">
- <h:inputText class="input" id="familyName" size="10" maxlength="255" value="#{customer.familyName}" required="true">
- <f:validator validatorId="NameValidator" />
- </h:inputText>
- </div>
-
- <div class="clear"></div>
- </div>
-
- <div class="table_row">
- <div class="table_left">
- <h:outputLabel for="street" value="Straße:" />
- </div>
-
- <div class="table_right">
- <h:inputText class="input" id="street" size="20" maxlength="255" value="#{customer.street}" required="true">
- <f:validator validatorId="NameValidator" />
- </h:inputText>
- </div>
-
- <div class="clear"></div>
- </div>
-
- <div class="table_row">
- <div class="table_left">
- <h:outputLabel for="houseNumber" value="Hausnummer:" />
- </div>
-
- <div class="table_right">
- <h:inputText class="input" id="houseNumber" size="3" maxlength="5" value="#{customer.houseNumber}" required="true">
- <f:validateLongRange minimum="1" maximum="500" />
- </h:inputText>
- </div>
-
- <div class="clear"></div>
- </div>
-
- <div class="table_row">
- <div class="table_left">
- <h:outputLabel for="zipCode" value="Postleitzahl:" />
- </div>
-
- <div class="table_right">
- <h:inputText class="input" id="zipCode" size="5" maxlength="6" value="#{customer.zipCode}" required="true" />
- </div>
-
- <div class="clear"></div>
- </div>
-
- <div class="table_row">
- <div class="table_left">
- <h:outputLabel for="city" value="Ort:" />
- </div>
-
- <div class="table_right">
- <h:inputText class="input" id="city" size="10" maxlength="255" value="#{customer.city}" required="true">
- <f:validator validatorId="NameValidator" />
- </h:inputText>
- </div>
-
- <div class="clear"></div>
- </div>
-
- <div class="table_row">
- <div class="table_left">
- <h:outputLabel for="phoneNumber" value="Telefon:" />
- </div>
-
- <div class="table_right">
- <h:inputText class="input" id="phoneNumber" size="20" maxlength="255" value="#{customer.phoneNumber}" />
- </div>
-
- <div class="clear"></div>
- </div>
-
- <div class="table_row">
- <div class="table_left">
- <h:outputLabel for="faxNumber" value="Faxnummer:" />
- </div>
-
- <div class="table_right">
- <h:inputText class="input" id="faxNumber" size="20" maxlength="255" value="#{customer.faxNumber}" />
- </div>
-
- <div class="clear"></div>
- </div>
-
- <div class="table_row">
- <div class="table_left">
- <h:outputLabel for="cellphoneNumber" value="Handy:" />
- </div>
-
- <div class="table_right">
- <h:inputText class="input" id="cellphoneNumber" size="20" maxlength="255" value="#{customer.cellphoneNumber}" />
- </div>
-
- <div class="clear"></div>
- </div>
- </fieldset>
- </div>
-
- <div class="para">
- <fieldset id="login_data">
- <legend title="Zum Bestätigen wird Ihre Email-Adresse benötigt, für den Login Kundennummer und Passwort.">Email-Adresse und Passwort:</legend>
-
- <div class="table_row">
- <div class="table_left">
- <h:outputLabel for="emailAddress1" value="eMail-Adresse eingeben:" />
- </div>
-
- <div class="table_right">
- <h:inputText class="input" id="emailAddress1" size="20" maxlength="255" value="#{customer.emailAddress}" required="true" />
- </div>
-
- <div class="clear"></div>
- </div>
-
- <div class="table_row">
- <div class="table_left">
- <h:outputLabel for="emailAddress2" value="eMail-Adresse wiederholen:" />
- </div>
-
- <div class="table_right">
- <h:inputText class="input" id="emailAddress2" size="20" maxlength="255" value="#{customer.emailAddress}" required="true" />
- </div>
-
- <div class="clear"></div>
- </div>
-
- <div class="para"></div>
-
- <div class="table_row">
- <div class="table_left">
- <h:outputLabel for="password1" value="Passwort eingeben:" />
- </div>
-
- <div class="table_right">
- <h:inputSecret class="input" id="password1" size="10" maxlength="255" required="true" />
- </div>
-
- <div class="clear"></div>
- </div>
-
- <div class="table_row">
- <div class="table_left">
- <h:outputLabel for="password2" value="Passwort wiederholen:" />
- </div>
-
- <div class="table_right">
- <h:inputSecret class="input" id="password2" size="10" maxlength="255" required="true" />
- </div>
-
- <div class="clear"></div>
- </div>
-
- <div class="para notice">
- Die Kundennummer wird Ihnen später vergeben.
- </div>
- </fieldset>
- </div>
-
- <div class="para">
- <fieldset id="terms_privacy">
- <legend title="Bitte die AGBs und Datenschutzbestimmungen lesen und akzeptieren.">Rechtliches:</legend>
-
- <div class="table_row">
- <div class="table_left25">
- <h:selectBooleanCheckbox class="input" id="privacy" required="true" requiredMessage="Bitte den Datenschutzbestimmungen zustimmen.">
- <f:validator validatorId="PrivacyTermsCheckboxValidator" />
- </h:selectBooleanCheckbox>
- </div>
-
- <div class="table_right75">
- Ja, ich habe die <h:link outcome="privacy" target="_blank" value="Datenschutzbestimmungen" /> gelesen und
- auch verstanden.
- </div>
-
- <div class="clear"></div>
- </div>
-
- <div class="table_row">
- <div class="table_left25">
- <h:selectBooleanCheckbox class="input" id="terms" required="true" requiredMessage="Bitte den AGBs zustimmen.">
- <f:validator validatorId="PrivacyTermsCheckboxValidator" />
- </h:selectBooleanCheckbox>
- </div>
-
- <div class="table_right75">
- Ja, ich habe die <h:link outcome="terms" target="_blank" value="Allgemeinen Geschäftsbedingungen" /> gelesen und
- auch verstanden.
- </div>
-
- <div class="clear"></div>
- </div>
- </fieldset>
- </div>
-
- <div class="table_footer">
- <h:commandButton class="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
- <h:commandButton class="submit" type="submit" id="register" value="Anmelden" action="#{controller.doRegister()}" />
- </div>
- </div>
- </h:form>