the following: 

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

might help you out.

> -----Original Message-----
> From: Mike Kear [mailto:[EMAIL PROTECTED]]
> Sent: 20 September 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
> _F6B94560ADC11
> 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
> 
> 
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to