{
	"id": "borderLayoutApp",
	"name": "border layout App",
	"description": "A border layout App",
	"splash": "splash",

	"loaderConfig": {
		"paths": {
			"layoutApp": "../dojox/app/tests/borderLayoutApp"
		}
	},

	"dependencies": [
		"dojox/mobile/_base",
		"dojox/mobile/compat",
		"dojox/mobile/TabBar",
		"dojox/mobile/RoundRectList",
		"dojox/mobile/ListItem",
		"dojox/mobile/TabBarButton",
		"dojox/mobile/Button",
		"dojox/mobile/RoundRect",
		"dojox/mobile/Heading",
		"dojox/mobile/ScrollableView",
		"dojo/store/Memory",
		"dojox/mobile/EdgeToEdgeStoreList",
		"dojo/store/Observable",		
		"dijit/layout/BorderContainer",
		"dojox/mobile/View",
		"dojox/app/widgets/Container"
	],

	"modules": [],

	"controllers": [
		"dojox/app/controllers/Load",
		"dojox/app/controllers/Transition",
		"dojox/app/controllers/BorderLayout"   
	//	"dojox/app/controllers/Layout"         // this test can work with either Layout or BorderLayout
	],

	"borderLayoutNoSplitter": false,  // set true to turn off the splitter on the StackContainer.

	// these are the possible defaultTransitions, 
	// the defaultTransition is only used if transition is not set in the config and it is not set or defaulted on the transitionEvent
	//"defaultTransition": "slide",
	//"defaultTransition": "none",
	//"defaultTransition": "fade",
	//"defaultTransition": "flip",     // Note: flip does not work with a BorderLayout Controller

	// these are the possible transitions, 
	// if a transition is set on a view or parent it will override the transition set on the transitionEvent or the defaultTransition in the config.
	"transition": "slide",
	//"transition": "none",
	//"transition": "fade",
	//"transition": "flip",     // Note: flip does not work with a BorderLayout Controller

	//stores we are using 
	"stores": {
       "listStore":{
           "type": "dojo/store/Memory",
	       "observable": true,
           "params": {
                "data": "modelApp.listData"
           }
       }
	},
	
	// The has section will include the sections for which the has checks are true.  
	// For the sections with ! it will include the section if the has check is not true.
	"has" : {
		"ie9orLess" : {
			"controllers": [
				"dojox/app/controllers/HistoryHash"
			]
		},
		"!ie9orLess" : {
			"controllers": [
				"dojox/app/controllers/History"
			]
		}
	},	

	// this app uses constraint (region) and multiple files in defaultView instead of an outer template for the layout

	//the name of the view to load when the app is initialized.
	//"defaultView": "view1+view3+view7+view9+view5", 
	//"defaultView": "view1+view9+view3+view7+view5", 
	//"defaultView": "view9+view1+view7+view3+view5", 
	"defaultView": "view2+view10+view4+view8+view6", 
	
		
	"views": {
		"view1":{
			"constraint" : "top",
			"controller" : "layoutApp/views/view1.js",			
			"template": "layoutApp/templates/view1.html"
		},
		"view2":{
			"constraint" : "top",
			"template": "layoutApp/templates/view2.html"
		},
		"view3":{
			"constraint" : "left",
			"template": "layoutApp/templates/view3.html"
		},
		"view4":{
			"constraint" : "left",
			"template": "layoutApp/templates/view4.html"
		},
		"view5":{
			"constraint" : "center",
			"controller" : "layoutApp/views/view5.js",
			"template": "layoutApp/templates/view5.html"
		},
		"view6":{
			"constraint" : "center",
			"template": "layoutApp/templates/view6.html"
		},
		"view7":{
			"constraint" : "right",
			"template": "layoutApp/templates/view7.html"
		},
		"view8":{
			"constraint" : "right",
			"template": "layoutApp/templates/view8.html"
		},
		"view9":{
			"constraint" : "bottom",
			"template": "layoutApp/templates/view9.html"
		},
		"view10":{
			"constraint" : "bottom",
			"template": "layoutApp/templates/view10.html"
		},
		//list view, include list view and details view
		"list":{
			"controller" : "layoutApp/views/list.js",
			"template": "layoutApp/templates/list.html",
			"dependencies":["dojox/mobile/TextBox"]
		},
		"itemDetails":{
			"controller" : "layoutApp/views/itemDetails.js",
			"template": "layoutApp/templates/itemDetails.html",
			"dependencies":["dojox/mobile/TextBox"],
			"defaultParams": {"cursor":"2"}
		}
	}	
}
