
shared.instancesExtraButtons.inc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of console-cluster-plugin Show documentation
Show all versions of console-cluster-plugin Show documentation
Clustering support plugin bundle for GlassFish Admin Console
$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