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

grizzly.protocolNew.jsf Maven / Gradle / Ivy

The newest version!








       
    $page{configName} default="server-config");
        setPageSessionAttribute(key="parentPage" value="#{request.contextPath}/web/grizzly/protocols.jsf");


        setPageSessionAttribute(key="parentUrl", value="#{sessionScope.REST_URL}/configs/config/#{pageSession.configName}/network-config/protocols");
        setPageSessionAttribute(key="childType" value="protocol");
        setPageSessionAttribute(key="selfUrl", value="#{pageSession.parentUrl}/#{pageSession.childType}");
        
        gf.getDefaultValues(endpoint="#{pageSession.selfUrl}", valueMap="#{pageSession.valueMap}");
        mapPut(map="#{pageSession.valueMap}" key="target" value="#{pageSession.configName}");
        gf.getChildrenNamesList(endpoint="#{sessionScope.REST_URL}/configs/config/#{pageSession.configName}/http-service/virtual-server" result="#{pageSession.vsList}");
        setPageSessionAttribute(key="childType2" value="http");
        setPageSessionAttribute(key="parentUrl2", value="#{sessionScope.REST_URL}/configs/config/#{pageSession.configName}/network-config/protocols/protocol/admin-listener");
        setPageSessionAttribute(key="selfUrl2", value="#{pageSession.parentUrl2}/#{pageSession.childType2}");
        gf.getDefaultValues(endpoint="#{pageSession.selfUrl2}", valueMap="#{pageSession.httpMap}");
        mapPut(map="#{pageSession.httpMap}" key="DefaultVirtualServer"  value="server")
        setPageSessionAttribute(key="httpSectionTitle" value="$resource{i18n_web.grizzly.protocolNew.httpSectionTitle}");

        setPageSessionAttribute(key="fileCacheSectionTitle" value="$resource{i18n_web.grizzly.protocolNew.fileCacheSectionTitle}");
        setPageSessionAttribute(key="childType3" value="file-cache");
        setPageSessionAttribute(key="parentUrl3", value="#{sessionScope.REST_URL}/configs/config/#{pageSession.configName}/network-config/protocols/protocol/admin-listener/http");
        setPageSessionAttribute(key="selfUrl3", value="#{pageSession.parentUrl3}/#{pageSession.childType3}");
        gf.getDefaultValues(endpoint="#{pageSession.selfUrl3}", valueMap="#{pageSession.fileMap}");
        />
    
            
#include "/common/shared/alertMsg.inc"

                
    
#include "protocolNewButtons.inc"
    
    
#include "/common/shared/configNameSection.inc"
#include "/web/grizzly/protocolAttr.inc"
#include "/web/grizzly/fileCacheAttrs.inc"
#include "/web/grizzly/httpAttr.inc"
    

"

#include "protocolNewButtons.inc"




© 2015 - 2024 Weber Informatics LLC | Privacy Policy