Sha256: f3a3e1ea91f67689ac0b155a3415546c304530104a7a5eff4c856e48ee7991d5
Contents?: true
Size: 1.3 KB
Versions: 3
Compression:
Stored size: 1.3 KB
Contents
package <%= base_package %>.models.presentation { import flash.events.Event; import flash.events.EventDispatcher; import flash.events.IEventDispatcher; import mx.binding.utils.BindingUtils; import mx.collections.ICollectionView; import mx.events.CollectionEvent; import org.restfulx.models.RxModel; import org.restfulx.collections.ModelsCollection; import org.restfulx.utils.RxUtils; import <%= base_package %>.models.presentation.ResourceModel; public class ContactUsModel extends ResourceModel { public var emailSent:Boolean; [Bindable] public function get submitButtonEnabled():Boolean { return emailSent; } public function ContactUsModel() { } public function sendEmail():void { /* var senderName:String = senderName.text; var senderEmail:String = senderEmail.text; var sendToName:String = sendToName.text; var sendToEmail:String = sendToEmail.text; var emailMessage:String = emailMessage.text; this.emailService.send({senderName: senderName, senderEmail:senderEmail, sendToName: sendToName, sendToEmail: sendToEmail, emailMessage: emailMessage}); if (cb.selected == true) { this.emailService.send({senderName: senderName, senderEmail:senderEmail, sendToName: sendToName, sendToEmail: senderEmail, emailMessage: emailMessage}); } */ } } }
Version data entries
3 entries across 3 versions & 1 rubygems