WDDX can't be turned into variables with eval() - that's JSON you're
thinking of.
Why are using WDDX? Can you either use the JSON returntype from a CFC
or, if you are on an old version of CF, build a JSON return?
--
WSS4CF - WS-Security framework for CF
http://wss4cf.riaforge.org/
On 20
I am using jQuery/ajax to pass a value to search for in the database.
This all seems to work fine except what is returned is a WDDX packet
Do you have control of code that currently returns WDDX packet? If so, why
not edit it to use cfwddx action = wddx2js SEE
It's been a long time since I've done this so this may not be useful, but isn't
the returned packet a Javascript array? At least it was when I used to use
cfwddx, so it was just a matter of normal array manipulation.
~|
It's been a long time since I've done this so this may not be useful,
but isn't the returned packet a Javascript array? At least it was
when I used to use cfwddx, so it was just a matter of normal array
manipulation.
Thanks for the response! You would think so, but from my experience I
No, WDDX is XML, not Javascript; it always has been.
--
WSS4CF - WS-Security framework for CF
http://wss4cf.riaforge.org/
On 20 July 2010 21:13, Shannon Rhodes shan...@rhodesedge.com wrote:
It's been a long time since I've done this so this may not be useful, but
isn't the returned packet a
Right...and cfwddx action = wddx2js should convert that WDDX to a
WddxRecordset javascript object. SEE
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_u-z_2.html#2682044
On Tue, Jul 20, 2010 at 8:40 AM, James Holmes james.hol...@gmail.comwrote:
No, WDDX is XML, not
To: cf-talk
Subject: Re: CF Query to WDDX to Javascript. Possible?
It's been a long time since I've done this so this may not be useful,
but isn't the returned packet a Javascript array? At least it was
when I used to use cfwddx, so it was just a matter of normal array
manipulation.
Thanks
On Tue, Jul 20, 2010 at 9:40 AM, James Holmes james.hol...@gmail.com wrote:
No, WDDX is XML, not Javascript; it always has been.
The WDDX SDK actually shipped with a fairly robust (for the time) set
of JS libraries for manipulating WDDX data via JavaScript.
Looks like the official home(s) for
OK, first not sure why there are two threads going about this question...
Anyway, to address some of the comments:
I currently on CF 6.1 so I (should?) be able to get a JSON response, I will
take a look at that route. I do not have a lot of experience doing this type
of thing so I am pretty
Sorry, meant as per John's suggestion cfwddx action = wddx2js, not the packet
itself.
No, WDDX is XML, not Javascript; it always has been.
--
WSS4CF - WS-Security framework for CF
http://wss4cf.riaforge.org/
On 20 July 2010 21:13, Shannon Rhodes shan...@rhodesedge.com wrote:
It's
On Tue, Jul 20, 2010 at 11:07 AM, Will Blake willbl...@printelect.com wrote:
OK, first not sure why there are two threads going about this question...
Probably something about the HOF email/BB interface splitting it up.
I currently on CF 6.1 so I (should?) be able to get a JSON response, I
Cameron,
Agreed. We do have CF 9 we just have not installed it yet. I am not 100%
sure what is taking so long to get it done, but that is a decision that much
higher up in the food chain than I am.
I'll check out CFLib.org and see what I can find. Thanks for the info.
Will
OK,
12 matches
Mail list logo