
.admingui.console-common-full-plugin.3.0-b63.source-code.mailResourceEdit.jsf Maven / Gradle / Ivy
$page{configName} default="server-config");
getRequestValue(key="name" value="#{pageSession.Name}");
setPageSessionAttribute(key="selfPage" value="#{request.contextPath}/full/mailResourceEdit.jsf");
setPageSessionAttribute(key="parentPage" value="#{request.contextPath}/full/mailResources.jsf");
setPageSessionAttribute(key="objectNameStr", value="amx:pp=/domain/resources,type=mail-resource,name=#{pageSession.Name}");
setPageSessionAttribute(key="parentObjectNameStr", value="amx:pp=/domain,type=resources");
setPageSessionAttribute(key="childType" value="mail-resource");
getProxyAttrs(objectNameStr="#{pageSession.objectNameStr}" valueMap="#{pageSession.valueMap}");
setPageSessionAttribute(key="convertToFalseList" value={"Enabled", "Debug"});
setPageSessionAttribute(key="skipAttrsList", value={"JndiName"});
getChildrenTable(objectNameStr="#{pageSession.objectNameStr}" childType="property" result=>$attribute{tableList});
//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="#{true}" );
setPageSessionAttribute(key="objectNameStr2", value="amx:pp=/domain/servers/server[server],type=resource-ref,name=#{pageSession.Name}");
getProxyAttrs(objectNameStr="#{pageSession.objectNameStr2}" valueMap="#{pageSession.valueMap2}");
setPageSessionAttribute(key="convertToFalseList2" value={"Enabled"});
setPageSessionAttribute(key="has2Objects" value="#{true}" );
/>
#include "/common/shared/restart.inc"
#include "/common/shared/alertMsg.inc"
#include "/common/shared/editPageButtons.inc"
$attribute{tableRowGroup});
getAllSingleMapRows(TableRowGroup="$attribute{tableRowGroup}", Rows=>$attribute{newList});
setProxyProperties(objectNameStr="#{pageSession.objectNameStr}", propertyList="$attribute{newList}", systemProp="#{pageSession.systemProp}" );
}
prepareSuccessfulMsg();
redirect(page="#{selfPage}?alertType=${alertType}&alertSummary=${alertSummary}&alertDetail=${alertDetail}&name=#{pageSession.Name}&configName=#{pageSession.configName}");
/>
$attribute{objStr});
if (#{pageSession.hasPropertyTable}){
getUIComponent(clientId="$pageSession{propertyTableRowGroupId}", component=>$attribute{tableRowGroup});
getAllSingleMapRows(TableRowGroup="$attribute{tableRowGroup}", Rows=>$attribute{newList});
setProxyProperties(objectNameStr="$attribute{objStr}", propertyList="$attribute{newList}", systemProp="#{pageSession.systemProp}" );
}
redirect(page="#{parentPage}?configName=#{configName}")
/>
"
#include "/full/mailResourceAttr.inc"
#include "/common/shared/propertyDescTable.inc"
"
#include "/common/shared/changeButtonsJS.inc"
© 2015 - 2025 Weber Informatics LLC | Privacy Policy