My favorites | Sign in
Project Logo
                
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
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0" encoding="utf-8"?>
<EventMap
xmlns="http://mate.asfusion.com/"
xmlns:mx="http://www.adobe.com/2006/mxml">

<mx:Script>
<![CDATA[
import com.tearaway_tea.opportunities.data.OpportunityDataProvider;
import com.tearaway_tea.opportunities.events.NavigationEvent;
import com.tearaway_tea.opportunities.events.OpportunityEvent;
]]>
</mx:Script>

<EventHandlers
type="{OpportunityEvent.CREATE_OPPORTUNITY}">
<MethodInvoker
generator="{OpportunityDataProvider}"
method="createOpportunity"/>
</EventHandlers>

<EventHandlers
type="{OpportunityEvent.EDIT_OPPORTUNITY}">
<MethodInvoker
generator="{OpportunityDataProvider}"
method="editOpportunity"
arguments="{[event.data]}"/>
<EventAnnouncer
type="{NavigationEvent.NAVIGATE_EDIT_VIEW}"
generator="{NavigationEvent}"/>
</EventHandlers>

<EventHandlers
type="{OpportunityEvent.SAVE_OPPORTUNITY}">
<MethodInvoker
generator="{OpportunityDataProvider}"
method="saveOpportunity"/>
</EventHandlers>

<EventHandlers
type="{OpportunityEvent.CLOSE_OPPORTUNITY}">
<EventAnnouncer
type="{NavigationEvent.NAVIGATE_LIST_VIEW}"
generator="{NavigationEvent}"/>
</EventHandlers>

</EventMap>
Show details Hide details

Change log

r3 by tearaway.tea on Mar 23, 2009   Diff
Initial import
Go to: 

Older revisions

All revisions of this file

File info

Size: 1222 bytes, 46 lines
Hosted by Google Code