I tried my own version of this test... A very simple structure with a nested
structure and a simple key. No problem. It wddxed just fine. So great.
I'm running into one of those, 'so difficult to reproduce it must be user
error, go read the manual' things. Great.
The code I used to try to reproduce the problem (that didn't create the
behavior at all)
[cfscript]
teststruct = structnew();
teststruct.foo = 'bar';
teststruct.foofoo = structnew();
teststruct.foofoo.bar = 'foo';
[/cfscript]
[cfdump var="#teststruct#"]
[cfwddx input="#teststruct#" output="wddxteststruct" action="cfml2wddx"
[cfdump var="#wddxteststruct#"]
Robertson-Ravo, Neil (RX) wrote:
> <cfscript>
> foo = structnew();
> temp = StructInsert(foo,"Doprotocol", 1,"yes");
> temp = StructInsert(foo,"eventdate", "2002-01-09","yes");
> temp = StructInsert(foo,"gender", "male","yes");
> </cfscript>
> <cfwddx action="CFML2WDDX" input="#foo#" output="myfoo">
> <cfdump var="#foo#">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4