[flexcoders] Extending RemoteObject

2008-07-04 Thread mbhoisie
I'd like to have a custom remoteobject for specific error handling and logging. However, if I try to extend remoteobject: public dynamic class CustomRemoteObject extends RemoteObject { ... } It is completely unusable in an mxml file. If I try to declare any mx:methods inside of it, I get a

Re: [flexcoders] Extending RemoteObject

2008-07-04 Thread Pedro Sena
Hi, Be sure you are extending the mx.rpc.remoting.mxml.RemoteObject instead of extending the mx.rpc.remoting.RemoteObject. Hope this helps, Pedro Sena On Fri, Jul 4, 2008 at 1:20 PM, mbhoisie [EMAIL PROTECTED] wrote: I'd like to have a custom remoteobject for specific error handling and

Re: [flexcoders] Extending RemoteObject

2008-07-04 Thread Jeffry Houser
Try this: components:CustomRemoteObject components:method ... /components:CustomRemoteObject mbhoisie wrote: I'd like to have a custom remoteobject for specific error handling and logging. However, if I try to extend remoteobject: public dynamic class CustomRemoteObject extends

Re: [flexcoders] Extending RemoteObject

2008-07-04 Thread Simon Bailey
Just in case your doing something already done here http://www.nutrixinteractive.com/blog/?p=124 On 4 Jul 2008, at 17:20, mbhoisie wrote: I'd like to have a custom remoteobject for specific error handling and logging. However, if I try to extend remoteobject: public dynamic class

[flexcoders] Extending RemoteObject

2005-04-24 Thread Francois Le Lay
Hi, Has anyone any working examples of extending mx.servicetags.RemoteObject? It seems I always get error messages that let me think my extended class is only perceived as a mx.servicetags.Service and can't be seen as a RemoteObject! Thanks, François Le Lay --http://www.mfworx.com

RE: [flexcoders] Extending RemoteObject

2005-04-24 Thread Matt Chotin
In 1.5 you cant extend RemoteObject, sorry! Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: Sunday, April 24, 2005 6:14 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Extending RemoteObject Hi, Has anyone any working examples

Re: [flexcoders] Extending RemoteObject

2005-04-24 Thread Francois Le Lay
Ok, well my initial intention was to create a HibernateProxy which extends RemoteObject, so that I would call DAOs in a single JBoss HAR from that proxy, thus having hibernate stuff deployed once and shared among several WARs. I guess I'll duplicate my DAOs in the WAR's classes folder until