I was able to finally get this figured out.

The last question I have for remoting is. In my controller how do I
reference the value passed into the RemotingService if my object is a
value object?

For example I have this bit of AS code:

import model.users.UsersVO;

                        import mx.controls.Alert;
                        import mx.rpc.events.FaultEvent;
                        import mx.rpc.events.ResultEvent;
                        import mx.utils.ObjectUtil;

                        private var value:UsersVO;



                        private function resultHandler(event:ResultEvent):void{
                                trace(ObjectUtil.toString(event.result));
                        }

                        private function faultHandler(event:FaultEvent):void{
                                Alert.show(event.fault.toString());
                        }

                        private function clickTest():void{
                                value = new UsersVO();
                                value.UserID = 1;
                                
MGService.executeEvent('get.user',value,'user,address');
                        }

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

Reply via email to