Re: [Junk E-Mail - MED] [flexcoders] remote object mapping frustration

2006-07-27 Thread Douglas Knudsen



bloody hell!  Don't ever trust a wizard, eh?  Seems the CFC to AS wizard leavs out the dynamic keyword in the class definition, like why else would I want to create a AS obj from a CFC?  Anyhoo, this appears to have addressed it for now.
DKOn 7/27/06, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
yup, tried all that.  I've bounced the machine, the services, even tried bouncing like a monkey all to no avail.  freaking pain to debug such a beast.DK
On 7/27/06, 
Dave Carabetta <[EMAIL PROTECTED]> wrote:




On 7/27/06, Douglas Knudsen <[EMAIL PROTECTED]> wrote:





thanks, yeah, I checked that like 500 times now, all looks fine and dandy.  errr, so frustrating.  All my other cfcs are mapping fine.  DKProbably a dumb question, but have you refreshed both the server template cache and the browser cache to make sure neither are stale? Perhaps even a restart of the CF server just for good measure?
Regards,Dave. 




-- Douglas Knudsen
http://www.cubicleman.comthis is my signature, like it?

-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



Re: [Junk E-Mail - MED] [flexcoders] remote object mapping frustration

2006-07-27 Thread Douglas Knudsen



yup, tried all that.  I've bounced the machine, the services, even tried bouncing like a monkey all to no avail.  freaking pain to debug such a beast.DKOn 7/27/06, 
Dave Carabetta <[EMAIL PROTECTED]> wrote:



On 7/27/06, Douglas Knudsen <[EMAIL PROTECTED]> wrote:




thanks, yeah, I checked that like 500 times now, all looks fine and dandy.  errr, so frustrating.  All my other cfcs are mapping fine.  DKProbably a dumb question, but have you refreshed both the server template cache and the browser cache to make sure neither are stale? Perhaps even a restart of the CF server just for good measure?
Regards,Dave. 




-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



Re: [Junk E-Mail - MED] [flexcoders] remote object mapping frustration

2006-07-27 Thread Dave Carabetta



On 7/27/06, Douglas Knudsen <[EMAIL PROTECTED]> wrote:



thanks, yeah, I checked that like 500 times now, all looks fine and dandy.  errr, so frustrating.  All my other cfcs are mapping fine.  DKProbably a dumb question, but have you refreshed both the server template cache and the browser cache to make sure neither are stale? Perhaps even a restart of the CF server just for good measure?
Regards,Dave. 

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



Re: [Junk E-Mail - MED] [flexcoders] remote object mapping frustration

2006-07-27 Thread Douglas Knudsen



thanks, yeah, I checked that like 500 times now, all looks fine and dandy.  errr, so frustrating.  All my other cfcs are mapping fine.  DKOn 7/27/06, 
Shannon Hicks <[EMAIL PROTECTED]> wrote:









I had similar problems at one point Turned out my 
RemoteClass alias was wrong.
 
I think I also had the same problem when the alias in the 
 tag didn't match, too.
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Douglas 
KnudsenSent: Thursday, July 27, 2006 9:12 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - MED] [flexcoders] 
remote object mapping frustration


Ok, I got this CFC modeling a composite object.  Lets say 
its com.myco.project.user.  user has three members:  userid a 
string, address a  com.myco.project.adress, and say cars a array of 
com.myco.project.car .  The CFCs work fine in that DAOs do their 
magik.  On the Flex side I have com.myco.project.vo.user, 
com.myco.project.vo.address, and com.myco.project.car all mapping to 
the above.  sounds good so far, eh?  Now, the Flex code kicks a event 
off that does the remoteobject connection to the CF server requesting a user 
object.  It gets built and according to the debug data I can see at the DOS 
prompt from CFServer, it is returned to Flex as the proper 
com.myco.project.car object containing the other objects properly.  
BUT in the FlexBuilder debugger the returned object is listed as result = 
mx.utils.ObjectProxy (@5824481)   I've been bangin my head for 
hours on this.  I have many other setups like this working fine, suddenly 
this one doesn't. My onresult() has a line like which throws a runtime 
error about type coercionfoo = event.result as user; any 
thoughts?-- Douglas Knudsenhttp://www.cubicleman.com this is 
my signature, like it? 
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 
7/26/2006




--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 7/26/2006
 

-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



RE: [Junk E-Mail - MED] [flexcoders] remote object mapping frustration

2006-07-27 Thread Shannon Hicks





I had similar problems at one point Turned out my 
RemoteClass alias was wrong.
 
I think I also had the same problem when the alias in the 
 tag didn't match, too.
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Douglas 
KnudsenSent: Thursday, July 27, 2006 9:12 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - MED] [flexcoders] 
remote object mapping frustration


Ok, I got this CFC modeling a composite object.  Lets say 
its com.myco.project.user.  user has three members:  userid a 
string, address a  com.myco.project.adress, and say cars a array of 
com.myco.project.car .  The CFCs work fine in that DAOs do their 
magik.  On the Flex side I have com.myco.project.vo.user, 
com.myco.project.vo.address, and com.myco.project.car all mapping to 
the above.  sounds good so far, eh?  Now, the Flex code kicks a event 
off that does the remoteobject connection to the CF server requesting a user 
object.  It gets built and according to the debug data I can see at the DOS 
prompt from CFServer, it is returned to Flex as the proper 
com.myco.project.car object containing the other objects properly.  
BUT in the FlexBuilder debugger the returned object is listed as result = 
mx.utils.ObjectProxy (@5824481)   I've been bangin my head for 
hours on this.  I have many other setups like this working fine, suddenly 
this one doesn't. My onresult() has a line like which throws a runtime 
error about type coercionfoo = event.result as user; any 
thoughts?-- Douglas Knudsenhttp://www.cubicleman.com this is 
my signature, like it? 
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 
7/26/2006
__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 7/26/2006