All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.admingui.console-jca-plugin.3.1-b16.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="parentObjectNameStr", value="amx:pp=/domain,type=resources");
        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}");
        //REST - TO DO
        getApplicationBySnifferType(type="connector" result="#{requestScope.tmpList}")
        filterOutRarExtension(inList="#{requestScope.tmpList}" convertedList="#{requestScope.rarList}")
        //Add SystemConnectors
        gf.restRequest(endpoint="#{sessionScope.REST_URL}/resources/get-system-rars-allowing-pool-creation"
                       method="GET"
                       result="#{requestScope.result}");
        gf.getMessageProps(messageListProps="#{requestScope.result.data.children}"
                           id="message"
                           keyList="#{requestScope.modList}");
        gf.listCombine(list="#{requestScope.modList}" list2="#{requestScope.rarList}");
        addEmptyFirstElement(in="$attribute{modList}"  out="#{pageSession.modules}")
        gf.getConnectorConnectionPoolWizard(
                fromStep1="$attribute{fromStep1}"
                fromStep2="$attribute{fromStep2}"
                poolName="$attribute{poolName}"
                attrMap="#{pageSession.tmpMap}"
                resAdapter="$attribute{resAdapterChoosen}" 
                resultAdapter=>$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}");
            gf.getMessageProps(messageListProps="#{requestScope.result.data.children}"
                               id="message"
                               keyList=>$attribute{connectionDefinitions});
        }
        
    />
      
    />
    
            
#include "/common/shared/alertMsg.inc"

                
                
                
                    
                    
                        
                            $attribute{mcfProps});
                                        gf.updateConnectorConnectionPoolWizard(props="#{mcfProps}" currentAdapter="#{currentAdapter}" currentDef="#{currentConnDef}");
                                    }
                                }
                                gf.redirect(page="#{request.contextPath}/jca/connectorConnectionPoolNew2.jsf")
                            />
                        
                         
                            
                        
                    
                                         
                
                    
                    			 
                        
                            
                                 
                                $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"




© 2015 - 2025 Weber Informatics LLC | Privacy Policy