Youll need 

<cfwddx action="CFML2WDDX" output="UserDataPacket"
input="#Evaluate('application.um.#UmID#_Data')#">

HTH

Mike

-----Original Message-----
From: Mike Kear [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, September 20, 2001 13:49
To: CF-Talk
Subject: CFWDDX problem


CFWDDX problem.. What do I do about this?   I want to turn a struct into
a
WDDX packet, but the name of the struct is dymanic, based on the user
id.


The struct is called:   application.um.#UmID#_Data

and the CFWDDX tag is as follows:


<cfwddx action="CFML2WDDX" output="UserDataPacket"
input="application.um.#UmID#_Data">


But that puts the following into the packet:

<wddxPacket
version='1.0'><header></header><data><string>application.um.Um_F6B94560A
DC11
1D583DC0003470B0337_Data</string></data></wddxPacket>

As you can see it hasn't turned the contents of the struct into the WDDX
packet, but just the dynamic name instead.  I tried putting a hash
before and after the name, e.g.


<cfwddx action="CFML2WDDX" output="UserDataPacket"
input="#application.um.#UmID#_Data#">


but that throws an error.


What am I doing wrong here?



Cheers,
Mike Kear
Windsor, NSW, Australia
AFP WebWorks




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to