flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlosrov...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - Iist exploded but no selection
Date Sat, 26 Nov 2016 18:55:24 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop ca2001243 -> 099e208fa


Iist exploded but no selection


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

Branch: refs/heads/develop
Commit: 099e208fad08f8a3736e53aa49bebd20c5a7eaba
Parents: ca20012
Author: Carlos Rovira <carlosrovira@apache.org>
Authored: Sat Nov 26 19:55:16 2016 +0100
Committer: Carlos Rovira <carlosrovira@apache.org>
Committed: Sat Nov 26 19:55:16 2016 +0100

----------------------------------------------------------------------
 .../flexjs/MDLExample/src/main/flex/Lists.mxml  | 42 +++++++++++++++++++-
 1 file changed, 41 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/099e208f/examples/flexjs/MDLExample/src/main/flex/Lists.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/src/main/flex/Lists.mxml b/examples/flexjs/MDLExample/src/main/flex/Lists.mxml
index b6cd543..4614166 100644
--- a/examples/flexjs/MDLExample/src/main/flex/Lists.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/Lists.mxml
@@ -21,7 +21,13 @@ limitations under the License.
                  xmlns:js="library://ns.apache.org/flexjs/basic"
                  xmlns:local="*"
                  xmlns:mdl="library://ns.apache.org/flexjs/mdl"
-                 xmlns="http://www.w3.org/1999/xhtml">
+                 xmlns="http://www.w3.org/1999/xhtml"
+                 xmlns:ui="org.apache.flex.core.*"
+                 xmlns:models="org.apache.flex.html.beads.models.*"
+                 xmlns:beads="org.apache.flex.html.beads.*"
+                 xmlns:controllers="org.apache.flex.html.beads.controllers.*"
+                 xmlns:layout="org.apache.flex.html.beads.layouts.*"
+                 xmlns:support="org.apache.flex.html.supportClasses.*">
     
     <mdl:Grid>
 
@@ -37,4 +43,38 @@ limitations under the License.
     
     </mdl:Grid>
 
+    <ui:ListBase>
+        <ui:beads>
+            <models:ArraySelectionModel labelField="label">
+                <js:dataProvider>
+                    <fx:Array>
+                        <fx:Object label="Install SIM Card"/>
+                        <fx:Object label="Install SIM Card 1"/>
+                        <fx:Object label="Install SIM Card 2"/>
+                    </fx:Array>
+                </js:dataProvider>
+            </models:ArraySelectionModel>
+            
+            <models:ViewportModel/>
+            
+            <support:DataGroup/>
+            
+            <support:ScrollingViewport/>
+            
+            <beads:ListView/>
+            
+            <controllers:ListSingleSelectionMouseController/>
+            <layout:VerticalLayout/>
+            <ui:ItemRendererClassFactory>
+                <ui:itemRendererFactory>
+                    <fx:Component>
+                        <support:StringItemRenderer />
+                    </fx:Component>
+                </ui:itemRendererFactory>
+            </ui:ItemRendererClassFactory>
+            <beads:TextItemRendererFactoryForArrayData/>
+        </ui:beads>
+    </ui:ListBase>
+
+    
 </mdl:TabBarPanel>
\ No newline at end of file


Mime
View raw message