From 6056a569caab94bdbdc2c60b58907109ff468dd3 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Thu, 10 May 2012 13:21:38 -0700 Subject: Style Declaration - Improved updating of styles using binding. --- .../style-declaration.reel/style-declaration.html | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'js/panels/css-panel/style-declaration.reel/style-declaration.html') diff --git a/js/panels/css-panel/style-declaration.reel/style-declaration.html b/js/panels/css-panel/style-declaration.reel/style-declaration.html index 9123e2a0..2fdb11d5 100644 --- a/js/panels/css-panel/style-declaration.reel/style-declaration.html +++ b/js/panels/css-panel/style-declaration.reel/style-declaration.html @@ -22,6 +22,9 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot }, "arrayController": { "prototype": "montage/ui/controller/array-controller", + "properties": { + "automaticallyOrganizeObjects": true + }, "bindings": { "content": { "boundObject": {"@": "owner"}, @@ -44,9 +47,17 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot "declaration": {"@": "owner"} }, "bindings": { - "sourceObject" : { + "propertyText" : { + "boundObject": {"@": "repetition"}, + "boundObjectPropertyPath": "objectAtCurrentIteration.name" + }, + "valueText" : { + "boundObject": {"@": "repetition"}, + "boundObjectPropertyPath": "objectAtCurrentIteration.value" + }, + "empty" : { "boundObject": {"@": "repetition"}, - "boundObjectPropertyPath": "objectAtCurrentIteration" + "boundObjectPropertyPath": "objectAtCurrentIteration.isEmpty" }, "delegate": { "boundObject": {"@": "owner"}, -- cgit v1.2.3