aboutsummaryrefslogtreecommitdiff
path: root/js/components/layout/bread-crumb.reel/bread-crumb.html
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-28 00:47:46 -0800
committerValerio Virgillito2012-02-28 00:47:46 -0800
commit19e94dc51a279501352a08d511b18144f83500e5 (patch)
tree03d94dee053cb61da4568b8ace9c6123dbc35bf7 /js/components/layout/bread-crumb.reel/bread-crumb.html
parentdb5db0a92c1fb67eac262c33d4fbf776ceabbb3c (diff)
downloadninja-19e94dc51a279501352a08d511b18144f83500e5.tar.gz
cleanup and fixing selecting each bread crumb
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/components/layout/bread-crumb.reel/bread-crumb.html')
-rwxr-xr-xjs/components/layout/bread-crumb.reel/bread-crumb.html73
1 files changed, 40 insertions, 33 deletions
diff --git a/js/components/layout/bread-crumb.reel/bread-crumb.html b/js/components/layout/bread-crumb.reel/bread-crumb.html
index 234596a6..f2368e9a 100755
--- a/js/components/layout/bread-crumb.reel/bread-crumb.html
+++ b/js/components/layout/bread-crumb.reel/bread-crumb.html
@@ -17,43 +17,50 @@
17 "name": "Breadcrumb", 17 "name": "Breadcrumb",
18 "properties": { 18 "properties": {
19 "element": {"#": "breadcrumbTrail"}, 19 "element": {"#": "breadcrumbTrail"},
20 "button" : {"@":"breadCrumbButton"}, 20 "breadcrumbBt": {"@": "breadCrumbButton"}
21 "stylerepetition" : {"@":"repetition1"}
22
23 } 21 }
24 }, 22 },
25 23
26 "breadCrumbButton": { 24 "breadCrumbButton": {
27 "module": "js/components/layout/bread-crumb-button.reel", 25 "module": "montage/ui/button.reel",
28 "name": "BreadcrumbButton", 26 "name": "Button",
29 "properties": { 27 "properties": {
30 "element": {"#": "breadcrumb_button"} 28 "element": {"#": "breadcrumb_button"}
31 }, 29 },
32 "bindings": { 30 "listeners": [
33 "data": { 31 {
34 "boundObject": {"@": "repetition1"}, 32 "type": "action",
35 "boundObjectPropertyPath": "objectAtCurrentIteration", 33 "listener": {"@": "owner"}
36 "oneway": true 34 }
37 } 35 ],
38 } 36 "bindings": {
39 }, 37 "label": {
40 38 "boundObject": {"@": "repetition1"},
41 "repetition1": { 39 "boundObjectPropertyPath": "objectAtCurrentIteration.label",
42 "module": "montage/ui/repetition.reel", 40 "oneway": true
43 "name": "Repetition", 41 },
44 "properties": { 42 "value": {
45 "element": {"#": "breadcrumb_container"} 43 "boundObject": {"@": "repetition1"},
46 }, 44 "boundObjectPropertyPath": "objectAtCurrentIteration.nodeUuid",
47 "bindings": { 45 "oneway": true
48 "objects": { 46 }
49 "boundObject": {"@": "owner"}, 47 }
50 "boundObjectPropertyPath": "containerElements", 48 },
51 "oneway": true
52 }
53 }
54 }
55
56 49
50 "repetition1": {
51 "module": "montage/ui/repetition.reel",
52 "name": "Repetition",
53 "properties": {
54 "element": {"#": "breadcrumb_container"}
55 },
56 "bindings": {
57 "objects": {
58 "boundObject": {"@": "owner"},
59 "boundObjectPropertyPath": "containerElements",
60 "oneway": true
61 }
62 }
63 }
57 } 64 }
58 </script> 65 </script>
59 66
@@ -62,7 +69,7 @@
62 69
63 <section id="breadcrumbTrail" class="breadcrumbTrail"> 70 <section id="breadcrumbTrail" class="breadcrumbTrail">
64 <div id="breadcrumb_container"> 71 <div id="breadcrumb_container">
65 <div id="breadcrumb_button"></div> 72 <button id="breadcrumb_button" class="nj-skinned"></button>
66 </div> 73 </div>
67 </section> 74 </section>
68 75