Hmm. Have you tried putting the application variable into a local variable 
first? e.g.:

<cfset l_var = evaluate("application.um.#UmID#_Data")>

<cfwddx action="CFML2WDDX" output="UserDataPacket"
input="#l_var#">

Jason

>From: "Mike Kear" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: CFWDDX problem
>Date: Thu, 20 Sep 2001 22:49:06 +1000
>
>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