
configuration.jmxConnectorEdit.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");
setSessionAttribute(key="jmxConnectorTab" value="jmxConnectorEdit");
setPageSessionAttribute(key="parentUrl", value="#{sessionScope.REST_URL}/configs/config/#{pageSession.configName}/admin-service");
setPageSessionAttribute(key="rest-api" value="true");
gf.getEntityAttrs(endpoint="#{pageSession.parentUrl}.json", valueMap="#{pageSession.adminServiceMap}");
setPageSessionAttribute(key="selfPage" value="#{request.contextPath}/common/configuration/jmxConnectorEdit.jsf?name=#{pageSession.Name}&configName=#{pageSession.configName}");
setPageSessionAttribute(key="selfUrl", value="#{pageSession.parentUrl}/jmx-connector/#{pageSession.adminServiceMap['systemJmxConnectorName']}");
gf.restRequest(endpoint="#{pageSession.selfUrl}/property.json", method="GET" result="#{requestScope.propTable}");
setPageSessionAttribute(key="tableList" value="#{requestScope.propTable.data.extraProperties.properties}");
gf.getEntityAttrs(endpoint="#{pageSession.selfUrl}.json", valueMap="#{pageSession.valueMap}");
setPageSessionAttribute(key="convertToFalseList" value={"securityEnabled"});
//set the following for including buttons.inc
setPageSessionAttribute(key="edit" value="#{true}" );
setPageSessionAttribute(key="showDefaultButton" value="#{false}" );
setPageSessionAttribute(key="showCancelButton" value="#{false}" );
setPageSessionAttribute(key="hasPropertySheet" value="#{true}" );
setPageSessionAttribute(key="hasPropertyTable" value="#{true}" );
setPageSessionAttribute(key="has2Objects" value="#{false}" );
/>
#include "jmxConnectorTab.inc"
#include "/common/shared/alertMsg.inc"
#include "/common/shared/editPageButtons.inc"
#include "/common/shared/configNameSection.inc"
#include "/common/shared/propertyDescTable.inc"
"
#include "/common/shared/changeButtonsJS.inc"
© 2015 - 2025 Weber Informatics LLC | Privacy Policy