I was wondering what the best way to dispatch form elements in
Cairngorm is since repeating all these elements from event to
controller to command and back and be extremely cumbersome!! Please
help! I've included a sample below of the type of dispatched event
that takes forever to get right.
Thanks,
Boybles
i.e.
public function updateUser() : void {
var cgEvent : UpdateUserEvent = new UpdateUserEvent
(model.userTemp.UserName,model.userTemp.UserID,LastName.text,FirstName.t
ext,UserName.text,Email.text,Password.text,Position.text,Division.text,A
ddress.text,City.text,State.text,County.text,OfficePhone.text,OfficeCell
.text,OfficeFax.text,PersonalPhone.text,PersonalCell.text,PersonalFax.te
xt);
CairngormEventDispatcher.getInstance().dispatchEvent( cgEvent );