Re: cffileupload and makeUnique

2011-04-26 Thread Matt Williams
I thought about that, but is that still and Enterprise only deal? I'm on CF Standard for this. -Matt On Tue, Apr 26, 2011 at 10:10 PM, Bobby Hartsfield wrote: > > You might check into an event gateway. Ray Camden had an example online for > a directory watcher that basically just monitored a di

RE: cffileupload and makeUnique

2011-04-26 Thread Bobby Hartsfield
You might check into an event gateway. Ray Camden had an example online for a directory watcher that basically just monitored a directory for new files to do stuff with. It shouldn't be too hard to find but if he sees this, I'm sure he will share it again. .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Harts

Re: Dynamic SQL in CFScript

2011-04-26 Thread Sean Corfield
On Tue, Apr 26, 2011 at 11:32 AM, Kyle McLean wrote: > > SELECT > * > FROM > TBL > > WHERE > COL = '#arguments.testArg#' > > I know this doesn't help you, since you're on CF9, but I just wanted to note that Railo also supports an alternative syntax that was discussed by the CFML Advisory Com

Re: cffileupload and makeUnique

2011-04-26 Thread Matt Williams
Thanks Russ, Lucky me! >>"sounds like you may have found a bug in cffileupload" I'm looking to replace an existing page that simply puts 5 tags on one page. I just downloaded and was checking out Dan Vega's CFMU on riaforge. The demo didn't work perfectly for me right away so I'm not sure if i

Re: cffileupload and makeUnique

2011-04-26 Thread Russ Michaels
sounds like you may have found a bug in cffileupload then, as you don't have any control over which filename is passed with oncomplete as far as I can see. You may have to resort to the old fashioned cffile upload instead, then you can use the following attribute. serverFile Filename of the file

cffileupload and makeUnique

2011-04-26 Thread Matt Williams
I'm using cffileupload to allow users to upload multiple photos into a gallery. For each photo, there is additional processing including resizing, cropping, writing to DB, etc. At the end four new photo files are written. At first I tried doing all of that when the image was uploaded, but that see

RE: serializeJson() oddity

2011-04-26 Thread Brook Davies
Adobe fixed the JSON numeric encoding bug in the CF 9 9.01 updater (http://kb2.adobe.com/cps/862/cpsid_86263.html) but there is still a bug that encodes 'yes' or 'no' strings to true / false. Adobe really needs to fix this, its been outstanding for a long time. Yes, you can append a character or

Re: Dynamic SQL in CFScript

2011-04-26 Thread Kyle McLean
It does, but it still looks like it's a little more clunky (in my opinion at least :)) than the tag-based alternative. Bummer, since I much prefer the succinct style of CFSCRIPT for writing pretty much everything else in a component. Thanks for your help everyone! >var q = new com.adobe.coldf

RE: More work than we can handle

2011-04-26 Thread Sebastiaan GMC van Dijk
Remote working is also fine?We live and work in the Netherlands, have used ACF for 11 years and now Railo for two years.Timedifference might be a challenge, and hourly rates are a bit higher here in Europe than at your side of the pond.Anyways, love to hear what, where and how if you are intere

Re: Dynamic SQL in CFScript

2011-04-26 Thread Raymond Camden
var q = new com.adobe.coldfusion.query(); q.setDatasource("cfartgallery"); var sql = "select mediatype from media"; if(structKeyExists(arguments, "something")) { sql &= " where media like :search"; q.addParam(name="search",value="%#arguments.str#%",cfsqltype="cf_sql_varchar"); } q.setSQL(sql); v

Re: Dynamic SQL in CFScript

2011-04-26 Thread Jeffrey Battershall
Do you have the option of moving your query logic into a stored proc? It would be more secure. Jeff On Tue, Apr 26, 2011 at 2:32 PM, Kyle McLean wrote: > > I've been working on a CF9 project, and I'm trying to take full advantage of > the cfscript syntax for my components. I have many cases wh

Dynamic SQL in CFScript

2011-04-26 Thread Kyle McLean
I've been working on a CF9 project, and I'm trying to take full advantage of the cfscript syntax for my components. I have many cases where I'm using dynamic SQL based on the existence of an optional argument in a function. In CF8 and below it'd look something like this: SELECT * FROM TBL

Re: serializeJson() oddity

2011-04-26 Thread Ras Tafari
i think so too, mark. testing that later today. On Tue, Apr 26, 2011 at 12:20 PM, Mark Drew wrote: > > I think this is a bug with CF9, there is an updater (I think) that fixes this > issue? > > Regards > > Mark Drew > > On 26 Apr 2011, at 16:45, Tony wrote: > >> >> hi there. >> >> i have a weir

Re: serializeJson() oddity

2011-04-26 Thread Ras Tafari
doing that later today. thanks russ. tw On Tue, Apr 26, 2011 at 12:24 PM, Russ Michaels wrote: > > http://kb2.adobe.com/cps/862/cpsid_86263.html > > There are a couple of JSON related bugs here. Do you have this update > installed ? > > > > -- > > Russ Michaels > > www.bluethunderinternet.com  

More work than we can handle

2011-04-26 Thread Robert Harrison
Not sure if I'm posting this to the right place in the CFLIST or not, but the bottom line is we are swamped with more work than we can handle. I need a very reliable CF programmer or CF consulting group who can take at least one, maybe two projects and in the next few months. These are not sm

Re: serializeJson() oddity

2011-04-26 Thread Patrick Santora
looks like the post was just too large. I've went ahead and emailed you the cfc file i use. On Tue, Apr 26, 2011 at 9:28 AM, Patrick Santora wrote: > Sorry for the ugly format. I can send the file to you directly if you'd > like. > > > On Tue, Apr 26, 2011 at 9:28 AM, Patrick Santora wrote: > >

Re: serializeJson() oddity

2011-04-26 Thread Patrick Santora
Sorry for the ugly format. I can send the file to you directly if you'd like. On Tue, Apr 26, 2011 at 9:28 AM, Patrick Santora wrote: > I ran into this problem myself and ended up building my own cfc to help > handle this. It's a mix of other fixes that I've found. Maybe it will help > you. > >

Re: serializeJson() oddity

2011-04-26 Thread Patrick Santora
I ran into this problem myself and ended up building my own cfc to help handle this. It's a mix of other fixes that I've found. Maybe it will help you. var ret = ""; var key = Tri

Re: serializeJson() oddity

2011-04-26 Thread Russ Michaels
http://kb2.adobe.com/cps/862/cpsid_86263.html There are a couple of JSON related bugs here. Do you have this update installed ? -- Russ Michaels www.bluethunderinternet.com : Business hosting services & solutions www.cfmldeveloper.com: ColdFusion developer community www.michaels.me.

Re: serializeJson() oddity

2011-04-26 Thread Mark Drew
I think this is a bug with CF9, there is an updater (I think) that fixes this issue? Regards Mark Drew On 26 Apr 2011, at 16:45, Tony wrote: > > hi there. > > i have a weird issue with cf and json. when i have a number like > "4104227536", cf and its implementation > of json are making it

serializeJson() oddity

2011-04-26 Thread Tony
hi there. i have a weird issue with cf and json. when i have a number like "4104227536", cf and its implementation of json are making it "4.104227536E9" i have googled a bit, and i have looked through bugs, and stuff but none seem to explain this... i can prepend a space, and all is well, other

Re: htaccess - 301 - wildcard and remove query string.

2011-04-26 Thread Michael Grant
I dunno yet. I won't be able to test for a bit. However you're a star just for replying. On Tue, Apr 26, 2011 at 11:07 AM, Wil Genovese wrote: > > But did it work? > > > Wil Genovese > Sr. Web Application Developer/ > Systems Administrator > CF Webtools > www.cfwebtools.com > > wilg...@trunkfu

Re: htaccess - 301 - wildcard and remove query string.

2011-04-26 Thread Wil Genovese
But did it work? Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Apr 26, 2011, at 6:24 AM, Michael Grant wrote: > > you==star > > thanks! > > On Tue, Apr 26, 2011 at 1:40 AM, Wil Genovese wrote: > >

Re: htaccess - 301 - wildcard and remove query string.

2011-04-26 Thread Michael Grant
you==star thanks! On Tue, Apr 26, 2011 at 1:40 AM, Wil Genovese wrote: > > Michael, > > Try this > > RewriteRule ^([^\/]*)/sales/([0-9]){1}/(122) mysite.com/sales/$2/$3/ > > Also, get the Regular Expressions Tester plugin for FireFox. It works > great! > > > > > Wil Genovese > Sr. Web Applica

Re: Exchange 2010 and cfexchange - has anyone been able to get it to work?

2011-04-26 Thread Steve 'Cutter' Blades
From a comment during last weeks ColdFusion Builder 2 User Group Tour, the slide deck had some info on the next version of CF, and one item was Exchange 2010 support. Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer ___