. "${CONFIG_FILE}" || exit 255
-MONITOR_OUTPUT=`lynx -dump -head "${PROJECT_URL}" -auth="${PROJECT_USER}:${PROJECT_PASSWORD}" | head -n 1`
+MONITOR_OUTPUT=$(lynx -dump -head "${PROJECT_URL}" -auth="${PROJECT_USER}:${PROJECT_PASSWORD}" | head -n 1)
if [ "${MONITOR_OUTPUT}" != "HTTP/1.1 200 OK" ]
then
fi
elif [ -f "${MONITOR_TEMP_FILE}" ]
then
- PREVIOUS_STATUS=`cat "${MONITOR_TEMP_FILE}"`
+ PREVIOUS_STATUS=$(cat "${MONITOR_TEMP_FILE}")
echo "$0: ${PROJECT_NAME} is UP again, old status was: '${PREVIOUS_STATUS}'"
rm -f "${MONITOR_TEMP_FILE}"
fi
</h:panelGroup>
<h:panelGroup styleClass="error-container" layout="block">
- <p:growl autoUpdate="true" showDetail="true" sticky="true" />
+ <p:growl showDetail="true" sticky="true">
+ <p:autoUpdate />
+ </p:growl>
<p:ajaxExceptionHandler
type="javax.faces.application.ViewExpiredException"
<?xml version="1.0" encoding="UTF-8" ?>
-<ui:composition template="/WEB-INF/templates/guest/guest_base.tpl"
- xmlns="http://www.w3.org/1999/xhtml"
- xmlns:core="http://mxchange.org/jsf/core/widgets"
- xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
- xmlns:h="http://xmlns.jcp.org/jsf/html"
- xmlns:f="http://xmlns.jcp.org/jsf/core"
- xmlns:p="http://primefaces.org/ui">
+<ui:composition
+ template="/WEB-INF/templates/guest/guest_base.tpl"
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:core="http://mxchange.org/jsf/core/widgets"
+ xmlns:validator="http://mxchange.org/jsf/core/validators"
+ xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
+ xmlns:h="http://xmlns.jcp.org/jsf/html"
+ xmlns:f="http://xmlns.jcp.org/jsf/core"
+ xmlns:p="http://primefaces.org/ui">
<ui:define name="document_guest_title">
<h:outputText value="#{msg.PAGE_TITLE_INDEX_RESEND_LINK}" />
<div class="table-right">
<p:inputText id="emailAddress" size="20" maxlength="255" value="#{userResendConfirmationController.emailAddress}" required="true" requiredMessage="#{msg.EMAIL_ADDRESS_NOT_ENTERED}">
- <f:validator validatorId="EmailAddressValidator" />
+ <validator:emailAddressValidator />
</p:inputText>
</div>
</h:panelGroup>