configuration.threadPoolEdit.jsf Maven / Gradle / Ivy
$page{configName} default="server-config");
getRequestValue(key="name" value="#{pageSession.Name}");
getRequestValue(key="cancelTo" value="#{pageSession.cancelTo}" default="configuration/threadPools.jsf");
setPageSessionAttribute(key="parentPage" value="#{request.contextPath}/web/#{pageSession.cancelTo}");
urlencode(value="#{pageSession.Name}" encoding="UTF-8" result="#{pageSession.encodedName}");
urlencode(value="#{pageSession.configName}" encoding="UTF-8" result="#{pageSession.encodedConfigName}");
setPageSessionAttribute(key="selfPage" value="#{request.contextPath}/web/configuration/threadPoolEdit.jsf?name=#{pageSession.encodedName}&cancelTo=#{pageSession.cancelTo}&configName=#{pageSession.encodedConfigName}");
setPageSessionAttribute(key="childType" value="thread-pool");
setPageSessionAttribute(key="parentUrl", value="#{sessionScope.REST_URL}/configs/config/#{pageSession.encodedConfigName}/thread-pools");
setPageSessionAttribute(key="selfUrl", value="#{pageSession.parentUrl}/#{pageSession.childType}/#{pageSession.encodedName}");
setPageSessionAttribute(key="rest-api" value="true");
gf.getEntityAttrs(endpoint="#{pageSession.selfUrl}.json", valueMap="#{pageSession.valueMap}");
//set the following for including buttons.inc
setPageSessionAttribute(key="edit" value="#{true}" );
setPageSessionAttribute(key="showDefaultButton" value="#{true}" );
setPageSessionAttribute(key="showCancelButton" value="#{true}" );
setPageSessionAttribute(key="hasPropertySheet" value="#{true}" );
setPageSessionAttribute(key="hasPropertyTable" value="#{false}" );
/>
#include "/common/shared/alertMsg.inc"
#include "/common/shared/editPageButtons.inc"
#include "/web/configuration/threadPoolAttrs.inc"