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

configuration.virtualServerEdit.jsf Maven / Gradle / Ivy









    
    $page{configName} default="server-config");
        getRequestValue(key="name" value="#{pageSession.Name}");
        urlencode(value="#{pageSession.Name}" encoding="UTF-8" result="#{pageSession.encodedName}");
        urlencode(value="#{pageSession.configName}" encoding="UTF-8" result="#{pageSession.encodedConfigName}");
        setPageSessionAttribute(key="selfPage"             value="#{request.contextPath}/web/configuration/virtualServerEdit.jsf?name=#{pageSession.encodedName}&configName=#{pageSession.encodedConfigName}");
        setPageSessionAttribute(key="parentPage"           value="#{request.contextPath}/web/configuration/virtualServers.jsf");
        setPageSessionAttribute(key="childType"            value="virtual-server");

        setPageSessionAttribute(key="parentUrl", value="#{sessionScope.REST_URL}/configs/config/#{pageSession.configName}/http-service");
        setPageSessionAttribute(key="selfUrl", value="#{pageSession.parentUrl}/#{pageSession.childType}/#{pageSession.encodedName}");
        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="convertToFalseList" value={"ssoCookieHttpOnly"});
        //set the following for including buttons.inc
        setPageSessionAttribute(key="edit" value="#{true}" );
        setPageSessionAttribute(key="showDefaultButton" value="#{true}" );
        setPageSessionAttribute(key="showCancelButton" value="#{true}" );
        setPageSessionAttribute(key="hasPropertySheet" value="#{true}" );
        setPageSessionAttribute(key="hasPropertyTable" value="#{true}" );
        />
    
            
#include "/common/shared/alertMsg.inc"



#include "/common/shared/editPageLoadDefaultButton.inc"
#include "/web/configuration/virtualServerButtons.inc"
    
#include "/web/configuration/virtualServerAttrs.inc"
#include "/common/shared/propertyDescTable.inc"
    
#include "/web/configuration/virtualServerButtons.inc"
    
    "
"
#include "/common/shared/changeButtonsJS.inc"




© 2015 - 2024 Weber Informatics LLC | Privacy Policy