Hi Boybles, it appears you already have a temporary User Object on your model. why dont you store all your user info on that object, pass only the user object through to your event and then pass that object onto the server?
Regards, Justin --- In [email protected], "boybles" <[EMAIL PROTECTED]> wrote: > > 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 ); >

