
.admingui.console-jca-plugin.3.1-b14.source-code.editPageWizardButtons.inc Maven / Gradle / Ivy
$attribute{tableRowGroup});
getAllSingleMapRows(TableRowGroup="$attribute{tableRowGroup}", Rows=>$attribute{newList});
setSessionAttribute(key="wizardPoolProperties", value="$attribute{newList}");
setAttribute(key="fromStep2" value="#{true}")
gf.navigate(page="#{request.contextPath}/jca/connectorConnectionPoolNew1.jsf")
/>
$attribute{resultEndPoint});
if (#{pageSession.hasPropertyTable}){
getUIComponent(clientId="$pageSession{propertyTableRowGroupId}", component=>$attribute{tableRowGroup});
getAllSingleMapRows(TableRowGroup="$attribute{tableRowGroup}", Rows=>$attribute{newList});
//REST - TO DO
if ( #{pageSession['rest-api']}) {
setAttribute(key="objStr", value="#{pageSession.restObjStr},name=#{sessionScope.wizardMap['Name']}");
}
setProxyProperties(objectNameStr="$attribute{objStr}", propertyList="$attribute{newList}", systemProp="#{pageSession.systemProp}" );
}
if ("#{sessionScope.wizardMap['Ping']}") {
urlencode(value="#{sessionScope.wizardMap['Name']}" encoding="UTF-8" result="#{pageSession.encodeName}");
gf.createAttributeMap(keys={"id"} values={"$pageSession{encodeName}"} map="#{requestScope.attrMap}");
gf.restRequest(endpoint="#{sessionScope.REST_URL}/resources/ping-connection-pool.json"
attrs="#{requestScope.attrMap}"
method="GET"
result="#{requestScope.result}");
if ("#{requestScope.result.data['exit_code']} = SUCCESS") {
prepareAlertMsg(summary="$resource{i18n.msg.PingSucceed}", type="success");
}
if ("!(#{requestScope.result.data['exit_code']} = SUCCESS)") {
prepareAlertMsg(summary="$resource{i18njca.msg.warning.poolCreatedPingFailed}", type="error");
}
setSessionAttribute(key="wizardMap" value="#{null}")
setSessionAttribute(key="wizardPoolExtra" value="#{null}")
setSessionAttribute(key="wizardPoolProperties" value="#{null}")
gf.redirect(page="#{parentPage}?alertType=${alertType}&alertSummary=${alertSummary}&alertDetail=${alertDetail}");
}
setSessionAttribute(key="wizardMap" value="#{null}")
setSessionAttribute(key="wizardPoolExtra" value="#{null}")
setSessionAttribute(key="wizardPoolProperties" value="#{null}")
gf.redirect(page="#{parentPage}")
/>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy