Repository: flex-asjs
Updated Branches:
  refs/heads/develop 9cb72e0db -> d3b4e7434


Restored remote call functionality.


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

Branch: refs/heads/develop
Commit: d3b4e74349f696fcba630b9c3f626390a248ab97
Parents: 9cb72e0
Author: Peter Ent <[email protected]>
Authored: Tue Jul 28 10:50:10 2015 -0400
Committer: Peter Ent <[email protected]>
Committed: Tue Jul 28 10:50:10 2015 -0400

----------------------------------------------------------------------
 examples/MobileTrader/src/MyInitialView.mxml       |  2 +-
 examples/MobileTrader/src/views/AlertsView.mxml    | 14 ++++++++++++--
 examples/MobileTrader/src/views/WatchListView.mxml |  6 ++++--
 3 files changed, 17 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d3b4e743/examples/MobileTrader/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/MobileTrader/src/MyInitialView.mxml 
b/examples/MobileTrader/src/MyInitialView.mxml
index 6b155eb..606839e 100755
--- a/examples/MobileTrader/src/MyInitialView.mxml
+++ b/examples/MobileTrader/src/MyInitialView.mxml
@@ -223,7 +223,7 @@ limitations under the License.
        </fx:Script>
        
        <basic:beads>
-               <!--<basic:ViewBaseDataBinding />-->
+               <basic:ViewBaseDataBinding />
        </basic:beads>
        
        <basic:TabbedViewManager id="navController" width="480" height="640" 
x="0" y="0" viewChanged="tabbedViewChanged(event)">

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d3b4e743/examples/MobileTrader/src/views/AlertsView.mxml
----------------------------------------------------------------------
diff --git a/examples/MobileTrader/src/views/AlertsView.mxml 
b/examples/MobileTrader/src/views/AlertsView.mxml
index bc74a29..196f827 100755
--- a/examples/MobileTrader/src/views/AlertsView.mxml
+++ b/examples/MobileTrader/src/views/AlertsView.mxml
@@ -30,10 +30,20 @@ limitations under the License.
        <fx:Script>
                <![CDATA[                       
                        import org.apache.flex.core.IBeadModel;
+                       import org.apache.flex.core.IBeadController;
                        import org.apache.flex.events.Event;
+                       import controller.AlertsViewController;
                        
-                       [Bindable]
-                       public var dataModel:IBeadModel;
+                       public function set dataModel(value:IBeadModel):void
+                       {
+                               var cm:IBeadController = controller;
+                               (cm as AlertsViewController).model = value;
+                       }
+                       public function get dataModel():IBeadModel
+                       {
+                               var cm:IBeadController = controller;
+                               return (cm as AlertsViewController).model;
+                       }
 
                        private function onAlertSet():void
                        {

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d3b4e743/examples/MobileTrader/src/views/WatchListView.mxml
----------------------------------------------------------------------
diff --git a/examples/MobileTrader/src/views/WatchListView.mxml 
b/examples/MobileTrader/src/views/WatchListView.mxml
index b92a9fc..b12fc73 100755
--- a/examples/MobileTrader/src/views/WatchListView.mxml
+++ b/examples/MobileTrader/src/views/WatchListView.mxml
@@ -92,13 +92,15 @@ limitations under the License.
                <js:VerticalLayout />
        </js:beads>
        
-       <js:HContainer className="WatchListInputArea">
+       <js:HContainer className="WatchListInputArea" width="100%" height="10%">
                <js:Label text="Symbol:" />
                <js:TextInput id="symbolName" />
                <js:TextButton text="Add" click="addSymbol()" />
        </js:HContainer>
+       
+       <js:Spacer height="10" />
                
-       <js:DataGrid id="dataGrid" change="selectRow()" 
className="WatchListDataGrid">
+       <js:DataGrid id="dataGrid" width="50%" height="90%" 
change="selectRow()" className="WatchListDataGrid">
                <js:beads>
                        <js:SimpleBinding
                                eventName="update"

Reply via email to