Sha256: a54f2c91f523f2e4e1bbb13b0aafbc5a3620e89562a290754ed0bef483d0bf7b

Contents?: true

Size: 1.15 KB

Versions: 17

Compression:

Stored size: 1.15 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.*"
  paddingBottom="8" paddingLeft="8" paddingRight="8" paddingTop="8"
  layout="horizontal" styleName="plain" initialize="init()">
  <mx:Script>
    <![CDATA[
<% if use_air -%>
      import org.ruboss.services.air.AIRServiceProvider;
<% end -%>
      import org.ruboss.Ruboss;
      import <%= base_package %>.controllers.<%= command_controller_name %>;

      private function init():void {
<% if use_air -%>
        <%= command_controller_name %>.initialize([AIRServiceProvider], AIRServiceProvider.ID, "<%= base_package %>");
<% else -%>
        <%= command_controller_name %>.initialize();
<% end -%>
      }
    ]]>
  </mx:Script>
  <mx:LinkBar dataProvider="{mainViewStack}" direction="vertical" borderStyle="solid" backgroundColor="#EEEEEE"/>
  <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

17 entries across 10 versions & 2 rubygems

Version Path
dima-ruboss4ruby-1.0.5 rails_generators/ruboss_config/templates/mainapp.mxml
dima-ruboss4ruby-1.1.0 app_generators/ruboss_app/templates/mainapp.mxml
dima-ruboss4ruby-1.1.0 generators/ruboss_main_app/templates/mainapp.mxml
dima-ruboss4ruby-1.1.0 rails_generators/ruboss_config/templates/mainapp.mxml
dima-ruboss4ruby-1.1.1 app_generators/ruboss_app/templates/mainapp.mxml
dima-ruboss4ruby-1.1.1 rails_generators/ruboss_config/templates/mainapp.mxml
dima-ruboss4ruby-1.1.2 app_generators/ruboss_app/templates/mainapp.mxml
dima-ruboss4ruby-1.1.2 rails_generators/ruboss_config/templates/mainapp.mxml
ruboss4ruby-1.1.2 rails_generators/ruboss_config/templates/mainapp.mxml
ruboss4ruby-1.0.4 rails_generators/ruboss_config/templates/mainapp.mxml
ruboss4ruby-1.1.2 app_generators/ruboss_app/templates/mainapp.mxml
ruboss4ruby-1.1.0 app_generators/ruboss_app/templates/mainapp.mxml
ruboss4ruby-1.0.3 rails_generators/ruboss_config/templates/mainapp.mxml
ruboss4ruby-1.1.1 rails_generators/ruboss_config/templates/mainapp.mxml
ruboss4ruby-1.1.0 rails_generators/ruboss_config/templates/mainapp.mxml
ruboss4ruby-1.0.5 rails_generators/ruboss_config/templates/mainapp.mxml
ruboss4ruby-1.1.1 app_generators/ruboss_app/templates/mainapp.mxml