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

.main.admingui.console-jca-plugin.8.0.0-M5.source-code.connectorConnectionPoolNew1.jsf Maven / Gradle / Ivy

There is a newer version: 8.0.0-JDK17-M7
Show newest version






 
    
    $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_1.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"




© 2015 - 2024 Weber Informatics LLC | Privacy Policy