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

.admingui.console-common-full-plugin.3.0-b60.source-code.mailResourceNew.jsf Maven / Gradle / Ivy








    
    $page{configName} default="server-config");
        setPageSessionAttribute(key="selfPage" value="#{request.contextPath}/full/mailResourceNew.jsf");
        setPageSessionAttribute(key="parentPage" value="#{request.contextPath}/full/mailResources.jsf");
        setPageSessionAttribute(key="parentObjectNameStr", value="amx:pp=/domain,type=resources");
        setPageSessionAttribute(key="childType" value="mail-resource");
        getDefaultProxyAttrs( parentObjectNameStr="#{pageSession.parentObjectNameStr}" childType="#{pageSession.childType}"  valueMap="#{pageSession.valueMap}")
        setPageSessionAttribute(key="convertToFalseList" value={"Enabled", "Debug"});
        //set the following for including buttons.inc
        setPageSessionAttribute(key="edit" value="#{false}" );
        setPageSessionAttribute(key="showDefaultButton" value="#{true}" );
        setPageSessionAttribute(key="showCancelButton" value="#{true}" );
        setPageSessionAttribute(key="hasPropertySheet" value="#{true}" );
        setPageSessionAttribute(key="hasPropertyTable" value="#{true}" );

        createMap(result="#{pageSession.valueMap2}")
        mapPut(map="#{pageSession.valueMap2}" key="Enabled" value="true");
        setPageSessionAttribute(key="createResourceRef" value="#{true}" );
        
    />
    
#include "/common/shared/restart.inc"
            
        //#include treeBreadcrumbs.inc
#include "/common/shared/alertMsg.inc"

                
                
#include "/common/shared/editPageButtons.inc"
    
        
            
                $attribute{tableRowGroup});
                    getAllSingleMapRows(TableRowGroup="$attribute{tableRowGroup}",  Rows=>$attribute{newList});
                    setProxyProperties(objectNameStr="#{pageSession.objectNameStr}", propertyList="$attribute{newList}", systemProp="#{pageSession.systemProp}" );
                }
                prepareSuccessfulMsg();
                redirect(page="#{selfPage}?alertType=${alertType}&alertSummary=${alertSummary}&alertDetail=${alertDetail}&name=#{pageSession.Name}&configName=#{pageSession.configName}");
                />
            
            
                 $attribute{objStr});
                    if (#{pageSession.hasPropertyTable}){
                        getUIComponent(clientId="$pageSession{propertyTableRowGroupId}", component=>$attribute{tableRowGroup});
                        getAllSingleMapRows(TableRowGroup="$attribute{tableRowGroup}",  Rows=>$attribute{newList});
                        setProxyProperties(objectNameStr="$attribute{objStr}", propertyList="$attribute{newList}", systemProp="#{pageSession.systemProp}" );
                    }
                    redirect(page="#{parentPage}?configName=#{configName}")
                />
            
            
                
            
        
    
                    
                    "

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy