summaryrefslogtreecommitdiff
path: root/js/dojo-1.7.2/dojox/app/schema/view.json
blob: b6c1c545fabad01cbebd48081a9251d896838b81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
	"description": "Base View Schema for defining View Instances in an application",	
	"type": "object",
	"properties": {
		"type": {
			"type":"string",
			"description": "The Name of the Class to be used for this view"		
		},

		"models": {
			"type": "array",
			"items": {
				"type":"string",
				"description": "Models that this view requires. These should reference one of the available #models",
				"dependences":{}
			}
		},

		"persist": {
			"type": "boolean",
			"description":"Keep this view loaded on the dom or memory, but not necessarily visible"
		},

		"template": {
			"type": "string",
			"description": "Template to be used with this view"
		}
	}
}