summaryrefslogtreecommitdiff
path: root/qpid/java/broker-plugins/derby-store
diff options
context:
space:
mode:
authorKeith Wall <kwall@apache.org>2014-08-16 15:03:21 +0000
committerKeith Wall <kwall@apache.org>2014-08-16 15:03:21 +0000
commita22fa634fe3a3f51d1a27078e17cba82e48fcf46 (patch)
treed2a04b686bae034f2172b64a388726eb40c2538b /qpid/java/broker-plugins/derby-store
parent1b0754c1ab44c56bc966b3e170d071a050f3cc2a (diff)
downloadqpid-python-a22fa634fe3a3f51d1a27078e17cba82e48fcf46.tar.gz
QPID-6006: [Java Broker] UI to expose attribute defaults during create and edit workflows
* Metadata service now used to discover the attributes for each category instance type. * Create/edit dialogues now have promptMessages to provide a fuller description of the field's purpose * If the attribute has a default, the default is interpolated into the promptMessage in a standard way. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1618373 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/broker-plugins/derby-store')
-rw-r--r--qpid/java/broker-plugins/derby-store/src/main/java/resources/js/qpid/management/virtualhost/derby/edit.js4
-rw-r--r--qpid/java/broker-plugins/derby-store/src/main/java/resources/virtualhostnode/derby/add.html3
2 files changed, 4 insertions, 3 deletions
diff --git a/qpid/java/broker-plugins/derby-store/src/main/java/resources/js/qpid/management/virtualhost/derby/edit.js b/qpid/java/broker-plugins/derby-store/src/main/java/resources/js/qpid/management/virtualhost/derby/edit.js
index c71c2c28de..3a3107b01a 100644
--- a/qpid/java/broker-plugins/derby-store/src/main/java/resources/js/qpid/management/virtualhost/derby/edit.js
+++ b/qpid/java/broker-plugins/derby-store/src/main/java/resources/js/qpid/management/virtualhost/derby/edit.js
@@ -16,8 +16,8 @@
* specific language governing permissions and limitations
* under the License.
*/
-define(["qpid/common/util", "dojo/domReady!"],
- function (util)
+define(["qpid/common/util", "dijit/registry", "dojo/domReady!"],
+ function (util, registry)
{
var fieldNames = ["storeUnderfullSize", "storeOverfullSize", "storePath"];
return {
diff --git a/qpid/java/broker-plugins/derby-store/src/main/java/resources/virtualhostnode/derby/add.html b/qpid/java/broker-plugins/derby-store/src/main/java/resources/virtualhostnode/derby/add.html
index 0ec1e89c24..4e82ab09e9 100644
--- a/qpid/java/broker-plugins/derby-store/src/main/java/resources/virtualhostnode/derby/add.html
+++ b/qpid/java/broker-plugins/derby-store/src/main/java/resources/virtualhostnode/derby/add.html
@@ -27,7 +27,8 @@
data-dojo-props="
name: 'storePath',
placeHolder: 'path/to/store',
- title: 'Enter store path'" />
+ title: 'Enter store path',
+ promptMessage: 'File system location for the configuration store'"/>
</div>
</div>
<div class="clear"></div>