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

.admingui.console-jca-plugin.3.0-b73.source-code.connectorSecurityMapEdit.jsf Maven / Gradle / Ivy








    
    $page{configName} default="server-config");
        getRequestValue(key="name" value="#{pageSession.Name}");
        getRequestValue(key="mapName" value="#{pageSession.mapName}");
        urlencode(value="#{pageSession.Name}" encoding="UTF-8" result="#{pageSession.encodedName}");
        urlencode(value="#{pageSession.mapName}" encoding="UTF-8" result="#{pageSession.encodedMapName}");
        setPageSessionAttribute(key="selfPage" value="#{request.contextPath}/jca/connectorSecurityMapEdit.jsf?name=#{pageSession.encodedName}&mapName=#{pageSession.encodedMapName}");
        setPageSessionAttribute(key="parentPage" value="#{request.contextPath}/jca/connectorSecurityMaps.jsf?name=#{pageSession.encodedName}");
        setPageSessionAttribute(key="objectNameStr", value="amx:pp=/domain/resources/connector-connection-pool[#{pageSession.Name}],type=security-map,name=#{pageSession.mapName}");
        setPageSessionAttribute(key="parentObjectNameStr", value="amx:pp=/domain/resources,type=connector-connection-pool,name=#{pageSession.Name}");
        setPageSessionAttribute(key="childType" value="security-map");
        getProxyAttrs(objectNameStr="#{pageSession.objectNameStr}" valueMap="#{pageSession.valueMap}");
        getProxyAttribute(objectNameStr="#{pageSession.objectNameStr}", attrName="UserGroup", value="#{pageSession.tempAttr}");
        convertArrayToCommaString(array="#{pageSession.tempAttr}"  commaString="#{requestScope.tmpUG}");
        mapPut(map="#{pageSession.valueMap}" key="UserGroup" value="$attribute{tmpUG}");
        getProxyAttribute(objectNameStr="#{pageSession.objectNameStr}", attrName="Principal", value="#{pageSession.tempPAttr}");
        convertArrayToCommaString(array="#{pageSession.tempPAttr}"  commaString="#{requestScope.tmpP}");
        mapPut(map="#{pageSession.valueMap}" key="Principal" value="$attribute{tmpP}");
        getProxyAttribute(objectNameStr="#{pageSession.objectNameStr}", attrName="BackendPrincipal", value="#{pageSession.tempAttrBE}");
        setPageSessionAttribute(key="has2Objects" value="#{true}" );  //for editPageButtons.inc
        setPageSessionAttribute(key="objectNameStr2", value="#{pageSession.tempAttrBE}");
        getProxyAttrs(objectNameStr="#{pageSession.objectNameStr2}" valueMap="#{pageSession.valueMap2}");
       if(#{tmpP}) {
           setAttribute(key="usersOptionP" value="principals" );
           setPageSessionAttribute(key="myOption" value="principals");

        }
        if(#{tmpUG}) {
            setAttribute(key="usersOptionU" value="users" );
            setPageSessionAttribute(key="myOption" value="users");
        }
         //set the following for including buttons.inc
        setPageSessionAttribute(key="edit" value="#{true}" );
        setPageSessionAttribute(key="showDefaultButton" value="#{false}" );
        setPageSessionAttribute(key="showCancelButton" value="#{true}" );
        setPageSessionAttribute(key="hasPropertySheet" value="#{true}" );
        setPageSessionAttribute(key="hasPropertyTable" value="#{false}" );
        
    />
    
            
#include "/common/shared/alertMsg.inc"

                
            
#include "/jca/securityMapButtons.inc"
            
#include "/jca/connectorSecurityMapAttr.inc"

	
            
    "

#include "/jca/securityMapjs.inc"




© 2015 - 2025 Weber Informatics LLC | Privacy Policy