Sha256: bd12b8c3150f16de8956ec7558b2748c6560125130e53c2c027af36c944fad9f

Contents?: true

Size: 1.15 KB

Versions: 8

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.restfulx.services.air.AIRServiceProvider;
<% end -%>
      import org.restfulx.Rx;
      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

8 entries across 4 versions & 2 rubygems

Version Path
dima-restfulx-1.2.0 app_generators/rx_app/templates/mainapp.mxml
dima-restfulx-1.2.0 rails_generators/rx_config/templates/mainapp.mxml
dima-restfulx-1.2.1 rails_generators/rx_config/templates/mainapp.mxml
dima-restfulx-1.2.1 app_generators/rx_app/templates/mainapp.mxml
restfulx-1.2.1 rails_generators/rx_config/templates/mainapp.mxml
restfulx-1.2.1 app_generators/rx_app/templates/mainapp.mxml
restfulx-1.2.0 app_generators/rx_app/templates/mainapp.mxml
restfulx-1.2.0 rails_generators/rx_config/templates/mainapp.mxml