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

applications.lifecycleButtons.inc Maven / Gradle / Ivy

The newest version!




     
        $attribute{tableRowGroup});
            getAllSingleMapRows(TableRowGroup="$attribute{tableRowGroup}",  Rows=>$attribute{newList});

            setAttribute(key="tmp" value="#{pageSession.valueMap.classname}");
            gf.createAttributeMap(keys={"name" , "value" } ,values={"class-name", "$attribute{tmp}"} map="#{requestScope.map}");
            listAdd(list="#{requestScope.newList}" value="#{requestScope.map}");

            if (#{pageSession.valueMap.classpath}){
                setAttribute(key="tmp" value="#{pageSession.valueMap.classpath}");
                gf.createAttributeMap( keys={"name" , "value" } , values={"classpath", "$attribute{tmp}"}  map="#{requestScope.map}");
                listAdd(list="#{requestScope.newList}" value="#{requestScope.map}");
            }
            if (#{pageSession.valueMap.loadorder}){
                setAttribute(key="tmp" value="#{pageSession.valueMap.loadorder}");
                gf.createAttributeMap(keys={"name" , "value" } ,values={"load-order","$attribute{tmp}"}  map="#{requestScope.map}");
                listAdd(list="#{requestScope.newList}" value="#{requestScope.map}");
            }

            setAttribute(key="tmp" value="#{pageSession.valueMap.failurefatal}");
            gf.createAttributeMap(keys={"name" , "value" }, values={"is-failure-fatal", "$attribute{tmp}"}  map="#{requestScope.map}");
            listAdd(list="#{requestScope.newList}" value="#{requestScope.map}");

            gf.createAttributeMap(keys={"name" , "value" }, values={ "isLifecycle", "true"}  map="#{requestScope.map}");
            listAdd(list="#{requestScope.newList}" value="#{requestScope.map}");

            javaToJSON(obj="#{requestScope.newList}" json="#{requestScope.tmpJSON}");
            gf.restRequest(endpoint="#{pageSession.selfUrl}/property.json" method="POST" data="#{requestScope.tmpJSON}" result="#{requestScope.restResponse}");

            createMap(result="#{requestScope.aMap}")
            mapPut(map="#{requestScope.aMap}" key="description" value="#{pageSession.valueMap.description}");
            gf.restRequest(endpoint="#{pageSession.selfUrl}" attrs="#{requestScope.aMap}" method="POST" );

            if (#{pageSession.onlyDASExist}){
                createMap(result="#{requestScope.aMap}")
                mapPut(map="#{requestScope.aMap}" key="enabled" value="#{pageSession.valueMap.enabled}");
                gf.restRequest(endpoint="#{pageSession.appRefUrl}" attrs="#{requestScope.aMap}" method="POST" );
            }

            prepareSuccessfulMsg();
            gf.redirect(page="#{selfPage}&alertType=${alertType}&alertSummary=${alertSummary}&alertDetail=${alertDetail}");
        />
    

    
        
    
    
        
  






© 2015 - 2025 Weber Informatics LLC | Privacy Policy