Logically, if two classes are aliased to the same CFC, how would the 
Remoting Gateway know which class to convert the CFC to?  That is 
probably why giving two classes the same alias causes problems. 
> I have now found the cause to this problem, why it happens I don't know.
>
> I have 2 separate classes, each making an individual remoting call,  
> both calls are different i.e. LoginClass calls the login remote method  
> and UserClass calls the getUsers remote method.
>
> - The LoginClass receives an object of nested datatyped objects and  
> therefore needs the registerClassAlias() method for each nested vo  
> i.e. CustomVO.
> - The UserClass makes a remoting request sending a CustomVO.
>
> My original error as detailed above is only shown when the UserClass  
> attempts to make its remoting call and if the LoginClass registers the  
> CustomVO as a class alias.
> If I register the CustomVO class alias in both classes it fails.
>   


> If I remove the class alias in the LoginClass and send the remote  
> request from the UserClass it now works fine???
>
> So one would presume that the registering of a class alias is the root  
> to all the problems here but why?
> Also, if this is the case, an unRegister class alias may be a  
> solution, but the docs show no such method.
>
> Simon
>
>   


-- 
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711  | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:5759
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to