/
CairngormExample.mxml
36 lines (25 loc) · 1.01 KB
/
CairngormExample.mxml
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
31
32
33
34
35
36
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:services="com.af.cep.services.*"
xmlns:control="com.af.cep.control.*"
xmlns:view="com.af.cep.view.*"
pageTitle="Cairngorm Sample Project"
horizontalAlign="center" verticalAlign="middle">
<mx:Style source="assets/css/style.css"/>
<mx:Script>
<![CDATA[
import com.af.cep.model.ModelLocator;
import com.af.cep.vo.ContactVO;
[Bindable]
public var model : ModelLocator = ModelLocator.getInstance();
]]>
</mx:Script>
<!-- ========================================================================== -->
<!-- the ServiceLocator where we specify the remote services -->
<services:Services id="addcontactServices"/>
<!-- the FrontController, containing Commands specific to this appliation -->
<control:ContactController id="controller"/>
<!-- ========================================================================== -->
<view:ContactPanel id="addcontactPanel" />
</mx:Application>