
configuration.loggerLevels.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");
createMap(result="#{requestScope.attrsMap}");
mapPut(map="#{requestScope.attrsMap}" key="target" value="#{pageSession.configName}");
gf.restRequest(
endpoint="#{sessionScope.REST_URL}/list-log-levels.json"
attrs="#{requestScope.attrsMap}"
method="GET"
result="#{requestScope.loggerLevels}");
getLoggerLevels(
loggerLevels="#{requestScope.loggerLevels.data.extraProperties.logLevels}"
loggerList="#{requestScope.tableList}");
setPageSessionAttribute(key="levelList" value={"ALL" "FINEST" "FINER" "FINE" "CONFIG" "INFO" "WARNING" "SEVERE" "ALERT" "EMERGENCY" "OFF"});
setPageSessionAttribute(key="defaultNewLevel" value="OFF");
gf.isConfigName(configName="#{pageSession.configName}" );
/>
#include "/common/configuration/loggingTabs.inc"
#include "/common/shared/alertMsg.inc"
#include "/common/configuration/loggerLevelsButtons.jsf"
#include "/common/shared/configNameSection.inc"
$page{tableId});
/>
$page{topActionGroup});
/>
$attribute{tableRowGroup});
addRowToTable(TableRowGroup="$attribute{tableRowGroup}", NameList={"loggerName", "level"}, DefaultValueList={"","$pageSession{defaultNewLevel}"});
/>
$attribute{trg});
getSelectedTableRowKeys(tableRowGroup="${trg}" rowKeys=>$attribute{rowKeys});
deleteTableRows(tableRowGroup="${trg}" rowKeys="${rowKeys}");
commitTableRowGroup(tableRowGroup="${trg}");
/>
$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/configuration/loggerLevelsButtons.jsf"
"
#include "/common/shared/changeButtonsJS.inc"
© 2015 - 2025 Weber Informatics LLC | Privacy Policy