
applications.lifecycleTargetListing.jsf 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!
$attribute{listOfRows} );
setPageSessionAttribute(key="targetPageLink" value="#{request.contextPath}/common/applications/lifecycleTargetListing.jsf");
/>
#include "/common/applications/lifecycleTabs.inc"
#include "/common/shared/alertMsg_1.inc"
"
$page{tableId});
/>
$page{topActionGroup});
/>
$attribute{tableRowGroup});
getSelectedSingleMapRows(TableRowGroup="$attribute{tableRowGroup}" selectedRows=>$attribute{selectedRows});
setAttribute(key="click" value="$this{component}");
setAttribute(key="actionValue" value="#{click.selected}")
createMap(result="#{requestScope.attrsMap}");
if( ${actionValue}=enable){
mapPut(map="#{requestScope.attrsMap}" key="enabled" value="true");
}
if( ${actionValue}=disable){
mapPut(map="#{requestScope.attrsMap}" key="enabled" value="false");
}
foreach (var="row" list="#{requestScope.selectedRows}") {
mapPut(map="#{requestScope.attrsMap}" key="ref" value="#{row['name']}");
gf.restRequest(
endpoint="#{row['endpoint']}"
attrs="#{requestScope.attrsMap}"
method="POST"
result="#{requestScope.result}");
}
gf.redirect(page="#{request.contextPath}/common/applications/lifecycleTargetListing.jsf?appName=#{pageSession.encodedName}&listPageLink=#{pageSession.listPageLink}");
/>
$page{targetTableRowGroupId});
/>
#include "/common/shared/changeButtonsJS.inc"
© 2015 - 2025 Weber Informatics LLC | Privacy Policy