flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject [34/44] git commit: [flex-asjs] [refs/heads/develop] - - Update MDLDynamicTabsExample to use new data provider notifiers
Date Tue, 11 Apr 2017 16:00:59 GMT
- Update MDLDynamicTabsExample to use new data provider notifiers


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/7f29a983
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/7f29a983
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/7f29a983

Branch: refs/heads/develop
Commit: 7f29a983864b2e59f3f13c0581fb8ffaa2f4abe5
Parents: 8ea97a4
Author: piotrz <piotrz@apache.org>
Authored: Sun Apr 9 21:23:22 2017 +0200
Committer: piotrz <piotrz@apache.org>
Committed: Sun Apr 9 21:23:22 2017 +0200

----------------------------------------------------------------------
 .../MDLDynamicTabsExample/src/main/flex/views/InitialView.mxml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7f29a983/examples/flexjs/MDLDynamicTabsExample/src/main/flex/views/InitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLDynamicTabsExample/src/main/flex/views/InitialView.mxml b/examples/flexjs/MDLDynamicTabsExample/src/main/flex/views/InitialView.mxml
index c5f573c..5523b6f 100644
--- a/examples/flexjs/MDLDynamicTabsExample/src/main/flex/views/InitialView.mxml
+++ b/examples/flexjs/MDLDynamicTabsExample/src/main/flex/views/InitialView.mxml
@@ -42,8 +42,10 @@ limitations under the License.
 	<mdl:Tabs id="myTabs" selectedIndex="1" tabIdField="tabId" labelField="label" className="customTabs"
 			  dataProvider="{tabsModel.tabs}" width="500">
 		<mdl:beads>
-			<js:DataProviderChangeNotifier sourceID="tabsModel" propertyName="tabs"
-										   destinationPropertyName="dataProvider" changeEventName="dataProviderChanged"
/>
+			<js:DataProviderCollectionChangeNotifier sourceID="tabsModel" propertyName="tabs"
+													 destinationPropertyName="dataProvider" changeEventName="dataProviderChanged"
 />
+			<js:DataProviderItemsChangeNotifier sourceID="tabsModel" propertyName="tabs"
+												destinationPropertyName="dataProvider" changeEventName="dataProviderChanged"
 />
 		</mdl:beads>
 	</mdl:Tabs>
 	<mdl:Button text="Add new Tab" click="onAddNewTabClick(event)"/>


Mime
View raw message