Ahh but from the code he posted
"The struct is called: application.um.#UmID#_Data"
How would you reference that as [] ?
As you posted #Application.Um[UmID].Data# wouldn't that fail as it would
be Application.Um[#UmID#_Data]
Or am I miles off ?
Didn't take it as a put down... Im not the most advanced CF'er ;)
-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 14:19
To: CF-Talk
Subject: RE: CFWDDX problem
No, no no. Please do not use evaluate. Please use [] notation.
Again, this is not meant to put you down, Mike, in any way, but as I
said, I see _way_ too many people doing this. In fact, 3 people replied
to cf-talk suggesting evaluate. Never use evaluate when you don't need
to.
=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia
Email : [EMAIL PROTECTED]
Yahoo IM : morpheus
"My ally is the Force, and a powerful ally it is." - Yoda
>
> > <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:
> >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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