Sha256: 3a44d764f2c7f9cd8a91e2d12545a9cbaf77c46da50ce7cab4708264a7a0f43f

Contents?: true

Size: 1.12 KB

Versions: 5

Compression:

Stored size: 1.12 KB

Contents

<?xml version="1.0" encoding="utf-8"?>
<mx:<%= application_tag %> xmlns:mx="http://www.adobe.com/2006/mxml"
  xmlns:generated="<%= base_package %>.components.generated.*"
  layout="vertical"
  styleName="plain"
  initialize="init()">
  <mx:Script>
    <![CDATA[
<% if get_option(:air) -%>
      import org.ruboss.services.air.AIRServiceProvider;
<% end -%>
			import org.ruboss.Ruboss;
      import <%= base_package %>.controllers.<%= command_controller_name %>;

      private function init():void {
<% if get_option(:air) -%>
        <%= command_controller_name %>.initialize([AIRServiceProvider], AIRServiceProvider.ID, "<%= base_package %>");
<% else -%>
        <%= command_controller_name %>.initialize();
<% end -%>
      }
    ]]>
  </mx:Script>
  <mx:ApplicationControlBar dock="true" width="100%">
    <mx:LinkBar dataProvider="{mainViewStack}"/>
  </mx:ApplicationControlBar>
  <mx:ViewStack id="mainViewStack" width="100%" height="100%">
    <!-- For a simple demo, put all the components here. -->
<% for component in component_names -%>
    <generated:<%= component %>/>
<% end -%>
  </mx:ViewStack>
</mx:<%= application_tag %>>

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
dima-ruboss4ruby-1.0.5 merb_generators/templates/ruboss_flex_app/mainapp.mxml
ruboss4ruby-1.0.2 merb_generators/templates/ruboss_flex_app/mainapp.mxml
ruboss4ruby-1.0.4 merb_generators/templates/ruboss_flex_app/mainapp.mxml
ruboss4ruby-1.0.5 merb_generators/templates/ruboss_flex_app/mainapp.mxml
ruboss4ruby-1.0.3 merb_generators/templates/ruboss_flex_app/mainapp.mxml