Sha256: b8dd21354efbdc8e2c8f99bc561ffaad506988acea1576a31b42c00ffead5b89

Contents?: true

Size: 1.29 KB

Versions: 3

Compression:

Stored size: 1.29 KB

Contents

<?xml version="1.0" encoding="utf-8"?>
<core:EmergentComponent
	xmlns:mx="http://ns.adobe.com/mxml/2009"
	xmlns:core="com.fourD.emergent.core.*"
	xmlns:nav="<%= base_package %>.views.navigation.*"
	xmlns:presentation="<%= base_package %>.models.presentation.*"
	width="100%" height="100%">
	
	<mx:Script>
		<![CDATA[
			import org.restfulx.Rx;
			import org.restfulx.collections.ModelsCollection;


			import <%= base_package %>.models.domain.Content;
			
			[Bindable] public var contentTree:ModelsCollection = new ModelsCollection();
	
		]]>
	</mx:Script>
	
	<!-- Presenter and Model________________________________________________________ -->
	
	<!-- Presenter Wraps the View and Handles Navigation Animations
		 Model allows you to easily call CRUD methods and handle sorting on data -->
	<mx:Declarations>
		<presentation:NavigationBarLeftModel id="model"/>
		<nav:NavigationBarLeftPresenter id="presenter" view="{this}"/>
	</mx:Declarations>
	
	<!-- GUI ______________________________________________________________________ -->
	
	<mx:Panel paddingTop="15" verticalCenter="0" width="100%" height="100%">
		
	    <mx:Tree id="tree"
			dataProvider="{contentTree}"
			labelField="title" showRoot="false"
			width="90%" height="90%"
			verticalCenter="0" horizontalCenter="-1"/>

	</mx:Panel>
	
</core:EmergentComponent>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
emergent-core-0.1.0 rails_generators/emergent_config/templates/app/flex/application/views/navigation/navigation_bar_left_view.mxml
emergent-core-0.1.01 rails_generators/emergent_config/templates/app/flex/application/views/navigation/navigation_bar_left_view.mxml
emergent-core-0.1.02 rails_generators/emergent_config/templates/app/flex/application/views/navigation/navigation_bar_left_view.mxml