But his structure is application.um.#UmID#_Data

NOT

application.um.#UmID#._Data

The difference being that _Data isn't a member of UmID but a part of the
name for the KEY itself



----- Original Message -----
From: "Jason Malfatto" <[EMAIL PROTECTED]>

As one of those three, I agree.  I responded in haste to the simple problem
of evaluating variables within (simple) variables, ignoring the struct
aspect of the problem.

Jason

>From: "Raymond Camden" <[EMAIL PROTECTED]>

>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.

> > > <cfwddx action="CFML2WDDX" output="UserDataPacket"
> > > input="#evaluate('application.um.' & UmID & '_Data')#">
> >
> > might help you out.
> >
> > > -----Original Message-----
> > >
> > >
> > > 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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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