
monitor.monitoringPage.jsf Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of console-common Show documentation
Show all versions of console-common Show documentation
This bundle contains common code that may be shared across plugins.
The newest version!
$page{configName} default="server-config");
urlencode(value="#{pageSession.configName}" encoding="UTF-8" result="#{pageSession.encodedConfigName}");
setPageSessionAttribute(key="childType" value="monitoring-service");
setPageSessionAttribute(key="parentUrl", value="#{sessionScope.REST_URL}/configs/config/#{pageSession.encodedConfigName}");
setPageSessionAttribute(key="selfUrl", value="#{pageSession.parentUrl}/#{pageSession.childType}");
setPageSessionAttribute(key="rest-api" value="true");
gf.getEntityAttrs(endpoint="#{pageSession.selfUrl}", valueMap="#{pageSession.valueMap}");
setPageSessionAttribute(key="convertToFalseList" value={"dtraceEnabled", "monitoringEnabled", "mbeanEnabled"});
gf.getMonitorLevels(endpoint="#{pageSession.parentUrl}" monitorCompList="#{requestScope.tableList}")
/>
#include "/common/shared/alertMsg.inc"
$attribute{tableRowGroup});
getAllSingleMapRows(TableRowGroup="${tableRowGroup}" Rows=>$attribute{allRows});
updateMonitorLevels(endpoint="#{pageSession.selfUrl}/module-monitoring-levels", allRows="#{requestScope.allRows}")
gf.updateEntity(endpoint="#{pageSession.selfUrl}" attrs="#{pageSession.valueMap}"
skipAttrs="#{pageSession.skipAttrsList}"
convertToFalse="#{pageSession.convertToFalseList}"
onlyUseAttrs="#{pageSession.onlyUseAttrs}"
);
prepareSuccessfulMsg();
gf.redirect(page="#{request.contextPath}/common/monitor/monitoringPage.jsf?alertType=${alertType}&alertSummary=${alertSummary}&alertDetail=${alertDetail}&name=#{pageSession.Name}&configName=#{pageSession.encodedConfigName}");
/>
#include "/common/shared/configNameSection.inc"
$attribute{sheetId});
/>
"
$attribute{component})
includeIntegrations(type="org.glassfish.admingui:monitoringCheckbox" root="#{component}");
/>
$page{tableId});
/>
$page{topActionGroup});
/>
$attribute{tableRowGroup});
getAllSingleMapRows(TableRowGroup="${tableRowGroup}" Rows=>$attribute{allRows});
changeLoggerLevels( newLogLevel="#{changeValue}" allRows="${allRows}" newList="#{requestScope.tmpList}");
setAttribute(key="tableList" value="#{requestScope.tmpList}")
/>
$page{tableRowGroupId});
/>
"
"
#include "/common/shared/changeButtonsJS.inc"
© 2015 - 2025 Weber Informatics LLC | Privacy Policy