Created
February 29, 2012 01:27
-
-
Save gigafied/1936807 to your computer and use it in GitHub Desktop.
com.f00 - example config with routes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<config> | |
<locales> | |
<locale id="en_us" language="en" name="US English" default="true" /> | |
</locales> | |
<settings> | |
<localeGroup> | |
<locale id="default"/> | |
<pathVars> | |
<pathVar id="xml_dir" value="static/xml" /> | |
<pathVar id="css_dir" value="static/css" /> | |
<pathVar id="vid_dir" value="static/vid" /> | |
<pathVar id="img_dir" value="static/img" /> | |
<pathVar id="swf_dir" value="static/swf" /> | |
<pathVar id="snd_dir" value="static/snd" /> | |
</pathVars> | |
</localeGroup> | |
</settings> | |
<assets> | |
<localeGroup> | |
<locale id="default"/> | |
<assetGroup id="app"> | |
<asset id="app" src="{swf_dir}/index.swf" /> | |
</assetGroup> | |
<assetGroup id="xml"> | |
<asset id="baseImages" src="{xml_dir}/baseImages.xml" /> | |
</assetGroup> | |
</localeGroup> | |
</assets> | |
<views> | |
<localeGroup> | |
<locale id="default"/> | |
<viewGroup id="main"> | |
<routes> | |
<route path="user/:id?"> | |
<view src="{swf_dir}/users.swf"/> | |
</route> | |
<route path="garage/:userID?/:carID?"> | |
<view class="com.mustang.views.garage.Garage"/> | |
</route> | |
</routes> | |
</viewGroup> | |
</localeGroup> | |
</views> | |
</config> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment