Welcome Guest!
 Tartan Framework
 Previous Message All Messages Next Message 
Possible Error in tartan.vo.ValueObject.cfc  Sam Shrefler
 Feb 09, 2006 07:24 PST 
Paul and others:

When passing a ValueObject from Flash Remoting to Coldfusion, the following
was giving me an error in tartan.vo.ValueObject.cfc

<cfif NOT StructKeyExists(this, key)>
                  <cfset this[key] = ArrayNew(1)>
<cfelse>
               <cfset ArraySet(this[key], 1, ArrayLen(this[key]), "")>
</cfif>

More specifically, the ArraySet command. I wonder for what reason we can
not just do
<cfset this[key] = ArrayNew(1)>
and then populate the array.

Also, whenever I send an VO from flash remoting, I need to add a second
param that I set to true in the function call. If i don't, coldfusion says
that my vo argument wasnt' passed in. Any thoguhts?

Thanks

sam
	
 Previous Message All Messages Next Message 
  Check It Out!

  Topica Channels
 Best of Topica
 Art & Design
 Books, Movies & TV
 Developers
 Food & Drink
 Health & Fitness
 Internet
 Music
 News & Information
 Personal Finance
 Personal Technology
 Small Business
 Software
 Sports
 Travel & Leisure
 Women & Family

  Start Your Own List!
Email lists are great for debating issues or publishing your views.
Start a List Today!

© 2001 Topica Inc. TFMB
Concerned about privacy? Topica is TrustE certified.
See our Privacy Policy.