
.main.admingui.console-updatecenter-plugin.5.0.source-code.acceptLicense.jsf Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of console-updatecenter-plugin Show documentation
Show all versions of console-updatecenter-plugin Show documentation
Update Center plugin bundle for GlassFish Admin Console
The newest version!
#include "/common/shared/alertMsg_1.inc"
"
"
$page{fromPage});
getRequestValue(key="successMsg" value=>$page{successMsg});
getRequestValue(key="action" value=>$page{action});
getRequestValue(key="selectedRows" value=>$page{selectedRows});
getLicenseText(selectedRows="#{selectedRows}" license="#{pageSession.licenseText}" hasLicense="#{requestScope.hasLicense}");
if (! #{requestScope.hasLicense}){
updateCenterProcess(selectedRows="$pageSession{selectedRows}" action="#{action}" );
prepareAlertMsg(summary="#{successMsg}" type="success");
setApplicationAttribute(key="restartNeeded" value="#{true}");
gf.redirect(page="#{fromPage}?alertType=${alertType}&alertSummary=${alertSummary}&alertDetail=${alertDetail}");
}
/>
"
//
//use the following due to support IE as well. issue# 8088
" #{pageSession.licenseText}