.admingui.console-jca-plugin.3.1.1-b11.source-code.connectorConnectionPoolNew1.jsf Maven / Gradle / Ivy
$page{configName} default="server-config");
setPageSessionAttribute(key="selfPage" value="#{request.contextPath}/jca/connectorConnectionPoolNew1.jsf");
setPageSessionAttribute(key="parentPage" value="#{request.contextPath}/jca/connectorConnectionPools.jsf");
setPageSessionAttribute(key="childType" value="connector-connection-pool");
//REST related
setPageSessionAttribute(key="parentUrl", value="#{sessionScope.REST_URL}/resources");
setPageSessionAttribute(key="rest-api" value="true");
gf.getDefaultValues(endpoint="#{pageSession.parentUrl}/#{pageSession.childType}", valueMap="#{pageSession.tmpMap}");
/>
/>
#include "/common/applications/applicationHandlers.inc"
#include "/common/shared/alertMsg.inc"
$attribute{resultAdapter} )
//To get the connection definitions
if("#{resultAdapter}") {
gf.createAttributeMap(keys={"rarName"} values={"$attribute{resultAdapter}"} map="#{requestScope.connDefAttrs}");
gf.restRequest(endpoint="#{sessionScope.REST_URL}/resources/get-connection-definition-names"
attrs="#{requestScope.connDefAttrs}"
method="GET"
result="#{requestScope.result}");
setAttribute(key="connectionDefinitions" value="#{requestScope.result.data.extraProperties.defnNames}");
}
/>
$page{jndiNameId});
/>
$attribute{nameComponent});
getUIComponentProperty(component="$attribute{nameComponent}", name="submittedValue", value=>$attribute{poolName});
setAttribute(key="click" value="$this{component}");
setAttribute(key="resAdapterChoosen" value="#{click.selected}")
setAttribute(key="fromStep1" value="#{true}")
gf.navigate(page="#{request.contextPath}/jca/connectorConnectionPoolNew1.jsf");
/>
"
#include "/common/shared/changeButtonsJS.inc"