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

applications.deployTableButtons.inc Maven / Gradle / Ivy

The newest version!





     
        $page{topActionGroup});
        />
        
                
        
        
            $attribute{tableRowGroup});
                getSelectedSingleMapRows(TableRowGroup="$attribute{tableRowGroup}" selectedRows=>$attribute{selectedRows});
                gf.undeploy(selectedRows="${selectedRows}" );
                gf.navigate(page="#{listPageLink}");
            />
         
        
        $attribute{tableRowGroup});
                getSelectedSingleMapRows(TableRowGroup="$attribute{tableRowGroup}" selectedRows=>$attribute{selectedRows});
                prepareAlertMsg(type="success" summary="$resource{i18n.msg.enableSuccessfulPE}")
                foreach (var="row" list="#{requestScope.selectedRows}") {
                   urlencode(value="#{row['name']}" result="#{requestScope.encodedName}");
                   createMap(result="#{requestScope.attrMap}");
                   mapPut(map="#{requestScope.attrMap}" key="target" value="server");
                   gf.restRequest(
                        endpoint="#{sessionScope.REST_URL}/applications/application/#{requestScope.encodedName}/enable"
                        attrs="#{requestScope.attrMap}"
                        method="POST");
                }
                gf.navigate(page="#{listPageLink}");
            />
            
        
        $attribute{tableRowGroup});
                getSelectedSingleMapRows(TableRowGroup="$attribute{tableRowGroup}" selectedRows=>$attribute{selectedRows});
                prepareAlertMsg(type="success" summary="$resource{i18n.msg.disableSuccessfulPE}")
                foreach (var="row" list="#{requestScope.selectedRows}") {
                   urlencode(value="#{row['name']}" result="#{requestScope.encodedName}");
                   createMap(result="#{requestScope.attrMap}");
                   mapPut(map="#{requestScope.attrMap}" key="target" value="server");
                   gf.restRequest(
                        endpoint="#{sessionScope.REST_URL}/applications/application/#{requestScope.encodedName}/disable"
                        attrs="#{requestScope.attrMap}"
                        method="POST");
                }
                gf.navigate(page="#{listPageLink}");
            />
        

        

       
            
        

     
 




© 2015 - 2025 Weber Informatics LLC | Privacy Policy