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

shared.appSingleTargetTable.inc Maven / Gradle / Ivy

The newest version!



         $page{tableId});
        />


    
         
            $page{topActionGroup});
            />
            
                
            
            
                $attribute{tableRowGroup});
                    getSelectedSingleMapRows(TableRowGroup="$attribute{tableRowGroup}" selectedRows=>$attribute{selectedRows});
                    gf.undeploy(selectedRows="${selectedRows}" );
                    gf.redirect(page="#{listPageLink}?#{extraArgs}&alertType=${alertType}&alertSummary=${alertSummary}&alertDetail=${alertDetail}");
                />
             s

            
                $attribute{tableRowGroup});
                    getSelectedSingleMapRows(TableRowGroup="$attribute{tableRowGroup}" selectedRows=>$attribute{selectedRows});
                    foreach (var="row" list="#{requestScope.selectedRows}") {
                       urlencode(value="#{row['name']}" result="#{requestScope.encodedName}");
                       createMap(result="#{requestScope.attrMap}");
                       mapPut(map="#{requestScope.attrMap}" key="target" value="#{row['targetName']}");
                       gf.restRequest(
                        endpoint="#{sessionScope.REST_URL}#{pageSession.appRefEndpoint}#{requestScope.encodedName}"
                        attrs="#{requestScope.attrMap}"
                        method="DELETE");
                    }
                    gf.redirect(page="#{listPageLink}?#{extraArgs}");
                />
             

            
                $attribute{tableRowGroup});
                    getSelectedSingleMapRows(TableRowGroup="$attribute{tableRowGroup}" selectedRows=>$attribute{selectedRows});
                    setAttribute(key="click" value="$this{component}");
                    setAttribute(key="actionValue" value="#{click.selected}")

                    if( ${actionValue}=enable){
                        gf.changeTargetStatus(selectedRows="${selectedRows}"  Enabled="#{true}" forLB="$boolean{false}")
                    }
                    if( ${actionValue}=disable){
                        gf.changeTargetStatus(selectedRows="${selectedRows}"  Enabled="#{false}" forLB="$boolean{false}")
                    }
                    if( ${actionValue}=lb-enable){
                        gf.changeTargetStatus(selectedRows="${selectedRows}" Enabled="#{true}" forLB="$boolean{true}")
                    }
                    if( ${actionValue}=lb-disable){
                        gf.changeTargetStatus(selectedRows="${selectedRows}"  Enabled="#{false}" forLB="$boolean{true}")
                    }
                    gf.redirect(page="#{listPageLink}?#{extraArgs}");
                />
            
         
     

   
    $page{tableRowGroupId});
    />

   
            
        
        
    
        
    

    
        
    

    
        
    

    
        
    
  
  





© 2015 - 2025 Weber Informatics LLC | Privacy Policy