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

shared.instancesExtraButtons.inc Maven / Gradle / Ivy

There is a newer version: 8.0.0-JDK17-M9
Show newest version





    
        
    



   
        
    



    
        
    



    
            $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.changeClusterStatus(selectedRows="${selectedRows}"  clusterName="#{pageSession.clusterName}" Enabled="#{true}" forLB="$boolean{false}")
                }
                if( ${actionValue}=disable){
                    gf.changeClusterStatus(selectedRows="${selectedRows}"  clusterName="#{pageSession.clusterName}" Enabled="#{false}" forLB="$boolean{false}")
                }
                if( ${actionValue}=lb-enable){
                    gf.changeClusterStatus(selectedRows="${selectedRows}" clusterName="#{pageSession.clusterName}" Enabled="#{true}" forLB="$boolean{true}")
                }
                if( ${actionValue}=lb-disable){
                    gf.changeClusterStatus(selectedRows="${selectedRows}"  clusterName="#{pageSession.clusterName}" Enabled="#{false}" forLB="$boolean{true}")
                }
                gf.redirect(page="#{listLink}");
            />
    





© 2015 - 2025 Weber Informatics LLC | Privacy Policy