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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
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