I am not sure about CFMX, but the following works in CF5 :
foo = structnew();
temp = StructInsert(foo,"Doprotocol", 1,"yes");
temp = StructInsert(foo,"eventdate", "2002-01-09","yes");
temp = StructInsert(foo,"gender", "male","yes");
?
-Orig
t's the data you have in your
> structure?
>
> - Original Message -
> From: "Robertson-Ravo, Neil (RX)" <[EMAIL PROTECTED]>
> Date: Tuesday, January 14, 2003 8:54 am
> Subject: RE: WDDX bug?: structure keys into arrays unintentionally
>
>> I am
The only other thing I have to add is that it seems like the keys that are
becoming arrays are those keys that are themselves nested into another
structure.
Main Struct |
key 1 | simple value like it should be
key 2 | [structure]
key 1 | [structure] < should be simple v
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 repro
age-
From: Patti G. L. Hall [mailto:[EMAIL PROTECTED]]
Sent: 14 January 2003 16:49
To: CF-Talk
Subject: Re: WDDX bug?: structure keys into arrays unintentionally
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 f
ly the only struct you want is
> the one to WDDX, and the rest should be simple key > value pairs?
>
> -Original Message-
> From: Patti G. L. Hall [mailto:[EMAIL PROTECTED]]
> Sent: 14 January 2003 16:49
> To: CF-Talk
> Subject: Re: WDDX bug?: structure keys into
Yup, works in CFMX. Patti, are you sure that's the data you have in your structure?
- Original Message -
From: "Robertson-Ravo, Neil (RX)" <[EMAIL PROTECTED]>
Date: Tuesday, January 14, 2003 8:54 am
Subject: RE: WDDX bug?: structure keys into arrays unintentionally
7 matches
Mail list logo