Dave Watts wrote:
>> Maybe I am posting on the wrong forum.
>> Is that a better one to use?
>>     
>
> No, it's just that long, complex questions may not be as easily answered as
> short questions. Fortunately for me, your question isn't actually that
> complicated, if I understand you correctly.
>
>   
>> After I had the struct I thought I could use the data conversion 
>> routine StructToXml from cflib.org to produce a string that I would 
>> write to a file with cffile.
>> It was missing the arrayOfStructs. Not much there.
>> Then I read the fine print on StructToXml and noted that it says it 
>> converts "simple" structs.
>> A struct whose elements include an array of stucts is not 
>> included in the definition of simple. Darn I said.
>>
>> Basically, right now, I have my struct and I am stuck.
>> What I originally thought to be a simple task for Cold Fusion (CF 
>> nicely takes many otherwise complex tasks and makes them 
>> simple) has got me stuck.
>>     
>
> You can use the CFWDDX tag to serialize your complex structure.
>   
Hi Dave.
Even though I seem to have a solution (see my recent posting) I am 
curious about your suggestion.
I think you are saying that if I ever want to transfer a CF complex 
structure I can use CFWDDX to serialize it.

My questions are:

Does that mean that the guy at the other end must be CF so that it can 
use the CFWDDX tag to deserialize it, or ...

Or, if I want to save it in a file, I could serialize it with cfwddx, 
save the serialized string in a file.
To get it back I would read the file, deserialize it and poof, I have 
the original structure. Yeah?

Thanks Dave

Archie



Thanks
Archie








> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
>
> This email has been processed by SmoothZap - www.smoothwall.net
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284744
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to