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

configuration.accessLog.jsf Maven / Gradle / Ivy

The newest version!







    
    $page{configName} default="server-config");

        setPageSessionAttribute(key="childType" value="http-service");
        setPageSessionAttribute(key="parentUrl", value="#{sessionScope.REST_URL}/configs/config/#{pageSession.configName}");
        setPageSessionAttribute(key="parentUrl2", value="#{sessionScope.REST_URL}/configs/config/#{pageSession.configName}/#{pageSession.childType}");
        setPageSessionAttribute(key="selfUrl", value="#{pageSession.parentUrl}/#{pageSession.childType}");
        setPageSessionAttribute(key="rest-api" value="true");
        gf.getEntityAttrs(endpoint="#{pageSession.selfUrl}.json", valueMap="#{pageSession.valueMap}");
        gf.restRequest(endpoint="#{pageSession.selfUrl}/property.json" method="GET" result="#{requestScope.propTable}");
        setPageSessionAttribute(key="tableList" value="#{requestScope.propTable.data.extraProperties.properties}");
        setPageSessionAttribute(key="selfPage" value="#{request.contextPath}/web/configuration/accessLog.jsf?configName=#{pageSession.configName}");
        setPageSessionAttribute(key="convertToFalseList" value={"ssoEnabled", "accessLoggingEnabled" });

        setPageSessionAttribute(key="has2Objects" value="#{true}" );  //for editPageButtons.inc
        setPageSessionAttribute(key="childType2" value="access-log");
        setPageSessionAttribute(key="selfUrl2", value="#{pageSession.selfUrl}/#{pageSession.childType2}");
        setPageSessionAttribute(key="convertToFalseList2" value={"rotationEnabled"});
        gf.getEntityAttrs(endpoint="#{pageSession.selfUrl2}.json", valueMap="#{pageSession.valueMap2}");

        //set the following for including buttons.inc
        setPageSessionAttribute(key="edit" value="#{true}" );
        setPageSessionAttribute(key="has2Objects" value="#{true}" );
        setPageSessionAttribute(key="showDefaultButton" value="#{true}" );
        setPageSessionAttribute(key="showCancelButton" value="#{false}" );
        setPageSessionAttribute(key="hasPropertySheet" value="#{true}" );
        setPageSessionAttribute(key="hasPropertyTable" value="#{true}" );
    />
    

            
#include "/common/shared/alertMsg.inc"

#include "/common/shared/editPageButtons.inc"

    
#include "/common/shared/configNameSection.inc"

        
            
                
            
        
    
        

        
            
        

        
            
           
        
        
           
            
         
       
            
            
        
        
            
        

        
            
        

        
        
        
        

        
            
            
        

        
            
        
        
    
    "
#include "/common/shared/propertyDescTable.inc"
"
#include "/common/shared/changeButtonsJS.inc"




© 2015 - 2024 Weber Informatics LLC | Privacy Policy