This is an automated email from the ASF dual-hosted git repository. orudyy pushed a commit to branch 7.1.x in repository https://gitbox.apache.org/repos/asf/qpid-broker-j.git
The following commit(s) were added to refs/heads/7.1.x by this push: new 901fede QPID-8311: [Broker-J][WMC] Allow setting replaceExistingArguments in add bind UI 901fede is described below commit 901fede7df24341a5321b6f8665cb0d8451342ac Author: Alex Rudyy <oru...@apache.org> AuthorDate: Wed May 8 22:39:08 2019 +0100 QPID-8311: [Broker-J][WMC] Allow setting replaceExistingArguments in add bind UI --- .../management-http/src/main/java/resources/addBinding.html | 11 +++++++++++ .../src/main/java/resources/js/qpid/management/addBinding.js | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/broker-plugins/management-http/src/main/java/resources/addBinding.html b/broker-plugins/management-http/src/main/java/resources/addBinding.html index fc3f97b..020c0b8 100644 --- a/broker-plugins/management-http/src/main/java/resources/addBinding.html +++ b/broker-plugins/management-http/src/main/java/resources/addBinding.html @@ -51,6 +51,17 @@ title: 'Enter binding key'" /> </div> </div> + <div class="clear"> + <div class="formLabel-labelCell">Replace existing arguments?</div> + <div class="formLabel-controlCell"> + <input type="checkbox" id="formAddbinding.replaceExistingArguments" + data-dojo-type="dijit/form/CheckBox" + data-dojo-props=" + name: 'replaceExistingArguments', + value: 'replaceExistingArguments', + checked: false"/> + </div> + </div> <div class="clear formBox"> <fieldset> diff --git a/broker-plugins/management-http/src/main/java/resources/js/qpid/management/addBinding.js b/broker-plugins/management-http/src/main/java/resources/js/qpid/management/addBinding.js index cd0958b..d4e8ed8 100644 --- a/broker-plugins/management-http/src/main/java/resources/js/qpid/management/addBinding.js +++ b/broker-plugins/management-http/src/main/java/resources/js/qpid/management/addBinding.js @@ -313,7 +313,7 @@ define(["dojo/_base/connect", var parameters = { destination: formValues.destination, bindingKey: formValues.name, - replaceExistingArguments: false + replaceExistingArguments: formValues.replaceExistingArguments }; addBinding.bindingArgumentsGrid.store.fetch({ onComplete: function (items, request) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org