
applications.deployTableButtons.inc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of console-common Show documentation
Show all versions of console-common Show documentation
This bundle contains common code that may be shared across plugins.
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