1 <?xml version="1.0" encoding="UTF-8" ?>
3 template="/WEB-INF/templates/guest/guest_base.tpl"
4 xmlns="http://www.w3.org/1999/xhtml"
5 xmlns:core="http://mxchange.org/jsf/core/widgets"
6 xmlns:validator="http://mxchange.org/jsf/core/validators"
7 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
8 xmlns:h="http://xmlns.jcp.org/jsf/html"
9 xmlns:f="http://xmlns.jcp.org/jsf/core"
10 xmlns:p="http://primefaces.org/ui">
12 <ui:define name="document_guest_title">
13 <h:outputText value="#{msg.PAGE_TITLE_INDEX_RESEND_LINK}" />
16 <ui:define name="content_header">
17 <h:outputText value="#{msg.CONTENT_TITLE_INDEX_RESEND_LINK}" />
20 <ui:define name="content">
21 <core:outputMessageBox id="error-user-resend-link-disabled" message="#{msg.ERROR_GUEST_USER_RESEND_LINK_DISABLED}" messageStyleClass="alert-danger" rendered="#{not featureController.isFeatureEnabled('user_resend_confirmation_link')}" />
23 <h:form id="form_resend_link" rendered="#{featureController.isFeatureEnabled('user_resend_confirmation_link')}">
24 <h:panelGroup styleClass="table" layout="block">
25 <div class="table-header">
26 <h:outputText value="#{msg.GUEST_RESEND_LINK_TITLE}" />
29 <fieldset class="fieldset">
30 <legend title="#{msg.RESEND_CONFIRMATION_LINK_LEGEND_TITLE}">
31 <h:outputText value="#{msg.RESEND_CONFIRMATION_LINK_LEGEND}" />
34 <h:panelGroup styleClass="table-row" layout="block">
35 <div class="table-left">
36 <p:outputLabel for="emailAddress" value="#{msg.GUEST_RESEND_LINK_ENTER_EMAIL_ADDRESS}" />
39 <div class="table-right">
40 <p:inputText id="emailAddress" size="20" maxlength="255" value="#{userResendConfirmationController.emailAddress}" required="true" requiredMessage="#{msg.EMAIL_ADDRESS_NOT_ENTERED}">
41 <validator:emailAddressValidator />
47 <h:panelGroup styleClass="error-container" layout="block">
48 <p:message for="emailAddress" />
51 <h:panelGroup styleClass="table-row" layout="block">
52 <h:outputText value="#{msg.GUEST_RESEND_CONFIRMATION_LINK_NOTICE}" />
55 <div class="table-footer">
56 <p:commandButton styleClass="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
57 <p:commandButton styleClass="submit" type="submit" id="submit_resend_link" value="#{msg.BUTTON_RESEND_CONFIRMATION_LINK}" action="#{userResendConfirmationController.doResendLink()}" />