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

configuration.httpListenerEdit.jsf Maven / Gradle / Ivy

The newest version!





    
    $page{configName});
        urlencode(value="#{pageSession.configName}" encoding="UTF-8" result="#{pageSession.encodedConfigName}");
        getRequestValue(key="name" value="#{pageSession.Name}");
        urlencode(value="#{pageSession.Name}" encoding="UTF-8" result="#{pageSession.encodedName}");

        setPageSessionAttribute(key="prefix", value="#{sessionScope.REST_URL}/configs/config/#{pageSession.encodedConfigName}/network-config");

        gf.getEntityAttrs(endpoint="#{pageSession.prefix}/network-listeners/network-listener/#{pageSession.encodedName}" valueMap="#{pageSession.valueMap}");

        setPageSessionAttribute(key="protocolName" value="#{pageSession.valueMap['protocol']}" );

        setPageSessionAttribute(key="readOnly" value="#{false}" );
        if("(#{pageSession.Name}=admin-listener)") {
            //whether this is for DAS or other instance/cluster, we don't allow security to change for admin-listener.
            setPageSessionAttribute(key="readOnly" value="#{true}" );
            if ( "(#{pageSession.configName}=server-config)"){
                setPageSessionAttribute(key="secHelpText" value="$resource{i18n_web.common.secureAdminHelp}");
            }
            if ( "(#{pageSession.protocolName}=pu-protocol)"){
                setPageSessionAttribute(key="protocolName" value="sec-admin-listener" );
            }
        }
        urlencode(value="#{pageSession.protocolName}" encoding="UTF-8" result="#{pageSession.encodedProtocolName}");
        gf.getEntityAttrs(endpoint="#{pageSession.prefix}/protocols/protocol/#{pageSession.encodedProtocolName}" valueMap="#{pageSession.protocolMap}");
        gf.getEntityAttrs(endpoint="#{pageSession.prefix}/protocols/protocol/#{pageSession.encodedProtocolName}/http" valueMap="#{pageSession.httpMap}");
        setPageSessionAttribute(key="edit" value="#{true}" );
        getRequestValue(key="cancelTo" value="#{pageSession.cancelTo}" default="httpListeners.jsf");
        setPageSessionAttribute(key="listenerName" value="#{pageSession.Name}");
        urlencode(value="#{pageSession.listenerName}" encoding="UTF-8" result="#{pageSession.encodedListenerName}");
        setPageSessionAttribute(key="selfPage" value="#{request.contextPath}/web/configuration/httpListenerEdit.jsf?name=#{pageSession.encodedName}&configName=#{pageSession.configName}");
        setSessionAttribute(key="secureCancelUrl" value="#{pageSession.selfPage}")
        setPageSessionAttribute(key="cancelTo" value="web/configuration/httpListeners.jsf");
        setSessionAttribute(key="httpListenerTabs" value="generalTab");
        />
    
"    


#include "/web/configuration/httpListenerTabs.inc"
#include "/common/shared/alertMsg.inc"
    
    
        
            
                    
            
            
                
            
        
    
    

#include "/web/configuration/httpListenerAttr.inc"


     






© 2015 - 2024 Weber Informatics LLC | Privacy Policy