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
47
48
49
50
51
52
53
54
55
56
57
58
<?xml version="1.0" encoding="utf-8"?>
<OpportunityEditViewBase
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns="com.tearaway_tea.opportunities.views.*">

<mx:Binding
source="nameTextInput.text"
destination="opportunity.name"/>

<mx:Binding
source="startDateChooser.selectedDate"
destination="opportunity.startDate"/>

<mx:Binding
source="endDateChooser.selectedDate"
destination="opportunity.endDate"/>

<mx:Array
id="commandButtons">
<mx:Button
label="Save"
click="onSaveClick()" />
<mx:Button
label="Close"
click="onCloseClick()" />
</mx:Array>

<mx:Form
width="100%"
height="100%">
<mx:FormItem
label="Id:">
<mx:TextInput
enabled="false"
text="{opportunity.id}"/>
</mx:FormItem>

<mx:FormItem
label="Name:"
required="true">
<mx:TextInput
id="nameTextInput"
text="{opportunity.name}" />
</mx:FormItem>

<mx:FormItem
label="Date Region:"
direction="horizontal">
<mx:DateChooser
id="startDateChooser"
selectedDate="{opportunity.startDate}" />
<mx:DateChooser
id="endDateChooser"
selectedDate="{opportunity.endDate}" />
</mx:FormItem>
</mx:Form>

</OpportunityEditViewBase>
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: 1200 bytes, 58 lines
Hosted by Google Code