Skip to content

Commit

Permalink
Merge pull request #6623 from Pandrex247/FISH-8273
Browse files Browse the repository at this point in the history
CUSTCOM-75 FISH-8273 Allow Deleting System Properties via Admin Console
  • Loading branch information
Pandrex247 authored Apr 4, 2024
2 parents c2ee14c + 21e052a commit 422e6f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,15 @@
holder.

-->
<!-- Portions Copyright 2024 Payara Foundation and/or its affiliates -->
<sun:button id="saveButton" text="$resource{i18n.button.Save}" onClick="if (guiValidate('#{reqMsg}','#{reqInt}','#{reqPort}')) {submitAndDisable(this, '$resource{i18n.button.Processing}');}; return false;" >
<!command
gf.isClusterName(clusterName="#{pageSession.clusterName}" );
createMap(result="#{requestScope.data}");
foreach (var="row" list="#{pageSession.tableList}") {
mapPut(map="#{requestScope.data}", key="#{row.name}", value="#{row.overrideValue}");
}
gf.restRequest(endpoint="#{pageSession.selfUrl}", method="POST", attrs="#{requestScope.data}", contentType="application/x-www-form-urlencoded", result="#{requestScope.restResponse}");
gf.restRequest(endpoint="#{pageSession.selfUrl}", method="PUT", attrs="#{requestScope.data}", contentType="application/x-www-form-urlencoded", result="#{requestScope.restResponse}");
prepareSuccessfulMsg();
gf.redirect(page="#{pageSession.selfPage}&alertType=${alertType}&alertSummary=${alertSummary}&alertDetail=${alertDetail}");
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
holder.

-->
<!-- Portions Copyright 2024 Payara Foundation and/or its affiliates -->


<sun:button id="saveButton" text="$resource{i18n.button.Save}" >
Expand All @@ -51,7 +52,7 @@
foreach (var="row" list="#{pageSession.tableList}") {
mapPut(map="#{requestScope.data}", key="#{row.name}", value="#{row.value}");
}
gf.restRequest(endpoint="#{pageSession.selfUrl}", method="POST", attrs="#{requestScope.data}", contentType="application/x-www-form-urlencoded", result="#{requestScope.restResponse}");
gf.restRequest(endpoint="#{pageSession.selfUrl}", method="PUT", attrs="#{requestScope.data}", contentType="application/x-www-form-urlencoded", result="#{requestScope.restResponse}");
prepareSuccessfulMsg();
gf.redirect(page="#{pageSession.selfPage}&alertType=${alertType}&alertSummary=${alertSummary}&alertDetail=${alertDetail}");
gf.isConfigName(configName="#{pageSession.configName}" );
Expand Down

0 comments on commit 422e6f0

Please sign in to comment.