issues preserving the case of the key

2010-07-01 Thread Glyn Jackson
Hi Having more issues with a JSON request. the page calling the service is case sensitive, this was solved using the bracket structure syntax: i.e. response['hotspots'] = []; to preserve the case of the key. however I have an array I have tried added the array different ways to the struct but

Re: SQL - Selecting a row based off linking table row matches

2010-07-01 Thread Will Tomlinson
Could someone show me an example? I've tried all kinds of stuff with no luck. Thanks, Will ~| Order the Adobe Coldfusion Anthology now!

RE: issues preserving the case of the key

2010-07-01 Thread andy matthews
Put your initial array inside a scope. VARIABLES['response'] = {}; Then you'd refere to it like so: VARIABLES['response']['hotspots'] = []; On a side note, it's irritating that it does this, but you can code for it on the client as long as you know it's happening. ColdFusion itself could care

Re: issues preserving the case of the key

2010-07-01 Thread Glyn Jackson
does not matter about this now this seems to work... obj['actions']= []; arrayAppend(obj.actions, 'some value'); ~| Order the Adobe Coldfusion Anthology now!

Re: ByteArray objects

2010-07-01 Thread Rick Root
You could try looping through the bytearray object and convert each element to is char equivalent but of course there are several problems with that: #1 - the byte array can contain negative numbers (a byte is a signed 8 bit integer according to java.sun.com, ranging from -128 to +127 ... and

Re: ByteArray objects

2010-07-01 Thread James Holmes
You can try binaryDecode() http://cfquickdocs.com/cf8/?getDoc=BinaryDecodeas well. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 1 July 2010 20:28, Rick Root rick.r...@gmail.com wrote: You could try looping through the bytearray object and convert each element to

Vote ColdFusion

2010-07-01 Thread Paul Alkema
Hi All, So I've been a member of this Linux forum for awhile now and I recently came across a poll on the forum called The best languages. I know, I know how long are people going to debate this; but the one thing that gets me is ColdFusion isn't even on the list. I've made a post to

Re: ByteArray objects

2010-07-01 Thread sm...@ibsys.com sm...@ibsys.com
Java strings have a bytearray constructor: http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html#String(byte[]) myString = createObject(java,java.lang.String).init(myByteArray); Is there a way to convert a java bytearray into something human readable? Everything I've tried has thrown

RE: ByteArray objects

2010-07-01 Thread Sisk, Kris
The byteArray in question is an Active Directory msExchMailboxGuid field. I'm trying to put an app together as a helper to our backup software (which we generally access with a browser in case anyone is wondering why I'd use CF for something like this). We found out that it has trouble recovering

Re: ByteArray objects

2010-07-01 Thread Brad Wood
If you want to be able to visually represent something that is a little cumbersome to display, why don't you try hashing it? That may help comparing them as well. ~Brad - Original Message - From: Sisk, Kris ks...@gckschools.com To: cf-talk cf-talk@houseoffusion.com Sent: Thursday,

RE: Vote ColdFusion

2010-07-01 Thread Bobby Hartsfield
Looks like another pointless poll with fanboy padded results to me. I could have predicted those results on LinuxQuesitons.org. 1) Best should have just been Favorite 2) Web languages should be a separate poll from the others 3) CF is not the only language missing from that list 4) It was posted

Re: Facebook Connect and coldfusion

2010-07-01 Thread Dustin Wardlow
Hello, Kris I can understand how you would not want to post much on this forum for everyone to use, but do you know of anywhere that might be a good source of info on this specific topic... I am afraid Jeff is not the only one struggling with this, lol My Best, Dustin Jeff, very sorry to

Re: Vote ColdFusion

2010-07-01 Thread Sean Corfield
On Thu, Jul 1, 2010 at 7:10 AM, Paul Alkema paulalkemadesi...@gmail.com wrote: I've made a post to complain about this and I received some crap about how CF isn't a good language. Dognabbit! Scala and Clojure aren't on the list either! How dare they! *sigh* I think the point here is that the

Re: DB2 EBCDIC translation issue

2010-07-01 Thread Marko Simic
I am working in similar environment and never faced problem like that. All I can say is that we are working with custom JTOpen JDBC driver http://www-03.ibm.com/systems/i/software/toolbox/ (jt400.jar is all you need) JDBC URL: jdbc:as400://server_ip_address;libraries=list_of_libraries;date

Regex Lin Break Oddness

2010-07-01 Thread Ian Skinner
I have an XML file created by a tool I use. I am attempting to apply an XSLT transformation to this file to create a nice report. I am finding some strange behavior when I do so. There is an attribute that contains carriage returns and line feeds. This is desirable and I wish to include

CF9 - Cfwindow contents disappear when dragging

2010-07-01 Thread Mike
It seems that the contents in a CFWindow disappear while being dragged in CF9, whereas in CF8 the contents stayed visible. Anyone know how to make the contents stay visible while being dragged? Thanks, Mike ~| Order the

Re: ByteArray objects

2010-07-01 Thread denstar
On Thu, Jul 1, 2010 at 9:57 AM, Brad Wood wrote: If you want to be able to visually represent something that is a little cumbersome to display, why don't you try hashing it?  That may help comparing them as well. +1 for hash()! If it's binary data you'd just get gobbledygook when converting

Re: Regex Lin Break Oddness

2010-07-01 Thread denstar
On Thu, Jul 1, 2010 at 3:31 PM, Ian Skinner wrote: ...  Other then just breaking down and working this in IE does anybody have any other thoughs on what is going on here? Assuming I haven't totally misunderstood what's going on: You could drop to java and an XML lib that respects whitespace.