
661
DEVELOPING
COLDFUSION 9 APPLICATIONS
Flex and AIR Integration in ColdFusion
Las
t
upda
te
d 8/5/2010
Alert.show("Mail was delivered Successfully");
}
public function handleError(event:ColdFusionServiceFaultEvent):void
{
Alert.show("Failure"+ event.toString());
}
]]>
</mx:Script>
<mx:Panel width="100%" height="100%">
<local:CFCredential id="cred" />
<mx:ControlBar>
<mx:Spacer width="100%"/>
<mx:HBox>
<mx:Button label="Send Mail" id="sendbutton"/>
<mx:Button label="Attachment" id="attachbutton"/>
</mx:HBox>
</mx:ControlBar>
<mx:VBox width="100%" height="100%">
<mx:HBox width="100%">
<mx:Text text="From" width="100" />
<mx:TextInput width="100%" id="from"/>
</mx:HBox>
<mx:HBox width="100%">
<mx:Text text="To" width="100"/>
<mx:TextInput width="100%" id="too"/>
</mx:HBox>
<mx:HBox width="100%">
<mx:Text text="CC" width="100"/>
<mx:TextInput width="100%" id="cc"/>
</mx:HBox>
<mx:HBox width="100%">
<mx:Text text="Bcc" width="100"/>
<mx:TextInput width="100%" id="bcc"/>
</mx:HBox >
<mx:HBox width="100%">
<mx:Text text="Subject" width="100"/>
<mx:TextInput width="100%" id="subject"/>
</mx:HBox>
<mx:HBox width="100%">
<mx:Text text="Attachments" width="100"/>
<mx:TextInput width="100%" id="attachList" enabled="false"
backgroundDisabledColor="white"/>
</mx:HBox>
<mx:TextArea width="100%" height="100%" id="mailbody"/>
</mx:VBox>
</mx:Panel>
<!--Provide your CF server credentials here-->
<cf:Config id="conf"
Содержание COLDFUSION 9
Страница 1: ...Developing Applications ADOBE COLDFUSION 9...