
applications.targetListing.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/targetListing.jsf");
/>
#include "/common/applications/appGeneralTabs.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}")
if( ${actionValue}=enable){
gf.changeTargetStatus(selectedRows="${selectedRows}" Enabled="#{true}" forLB="$boolean{false}")
prepareAlertMsg(summary="$resource{i18n.msg.enableOnTargetsSuccessful}", type="success");
gf.redirect(page="#{request.contextPath}/common/applications/targetListing.jsf?appName=#{pageSession.encodedAppName}&listPageLink=#{pageSession.listPageLink}&alertType=${alertType}&alertSummary=${alertSummary}&alertDetail=${alertDetail}");
}
if( ${actionValue}=disable){
gf.changeTargetStatus(selectedRows="${selectedRows}" Enabled="#{false}" forLB="$boolean{false}")
prepareAlertMsg(summary="$resource{i18n.msg.disableOnTargetsSuccessful}", type="success");
gf.redirect(page="#{request.contextPath}/common/applications/targetListing.jsf?appName=#{pageSession.encodedAppName}&listPageLink=#{pageSession.listPageLink}&alertType=${alertType}&alertSummary=${alertSummary}&alertDetail=${alertDetail}");
}
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="#{request.contextPath}/common/applications/targetListing.jsf?appName=#{pageSession.encodedAppName}&listPageLink=#{pageSession.listPageLink}");
/>
$page{targetTableRowGroupId});
/>
#include "/common/shared/changeButtonsJS.inc"
© 2015 - 2025 Weber Informatics LLC | Privacy Policy