Re: CF8 Image manipulation

2009-03-08 Thread Azadi Saryev
normal 8 handles? what is that? where is it 'normal to see them??? the only thing i can think of where an image has 8 handles when you click on it is M$ applications... and even then it is not always the case... what handles are you talking about? Azadi Saryev Sabai-dee.com

Re: CF8 Image manipulation

2009-03-08 Thread Peter Boughton
Your browser is not an image editor - it cannot manipulate *any* images in this way -regardless of what server-side language/application generated them. To the browser there is no significant difference with the image downloaded from your server and any other image downloaded from the web. If

RE: CF8 Image manipulation

2009-03-08 Thread Terry Troxel
Azadi, What I was trying to explain was normally when you click on an image object you get top left, top middle, top right, left, right, bottom left, bottom center and bottom right handles that you can then manipulate them. Sorry it was late. Terry -Original Message- From: Azadi Saryev

Re: CF Facebook

2009-03-08 Thread Raymond Camden
If I may be so bold, I'll also bring up this article: http://www.adobe.com/devnet/coldfusion/articles/coldfusion_facebook.html On Sat, Mar 7, 2009 at 12:22 PM, Monte Chan monte_c...@sanctuarysoftwareonline.com wrote: Hi Michael, I have done five Facebook apps using ColdFusion and there are

RE: CF8 Image manipulation

2009-03-08 Thread Terry Troxel
I beg to differ, but I have a cfx_efflare and it allows me to click on an image and crop it on the admin area of my sites. I can click and drag to any part of the image and then resize to my heart's content. What I am looking for is a way to do a similar thing only basically change a rectangle

Re: CF Facebook

2009-03-08 Thread Gerald Guido
Nobody can resist pitching their wares... not even that Camden feller. G! On Sun, Mar 8, 2009 at 9:57 AM, Raymond Camden rcam...@gmail.com wrote: If I may be so bold, I'll also bring up this article: http://www.adobe.com/devnet/coldfusion/articles/coldfusion_facebook.html -- Gerald

true false

2009-03-08 Thread Chad Gray
Isnt there a CF function that takes a 1 or 0 and converts it to display True or False? Or am I dreaming? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Re: true false

2009-03-08 Thread Barney Boisvert
YesNoFormat does it for yes and no, but nothing built in for true and false. cheers, barneyb On 3/8/09, Chad Gray cg...@careyweb.com wrote: Isnt there a CF function that takes a 1 or 0 and converts it to display True or False? Or am I dreaming?

RE: true false

2009-03-08 Thread Chad Gray
Ah.. I was not dreaming. I knew there was something built in. Thanks Barney! -Original Message- From: Barney Boisvert [mailto:bboisv...@gmail.com] Sent: Sunday, March 08, 2009 1:31 PM To: cf-talk Subject: Re: true false YesNoFormat does it for yes and no, but nothing built in

RE: true false

2009-03-08 Thread William Seiter
You can build your own. cffunction name=yesnoformat return=string cfargument name=bValue required='true' cfif arguments.bValue cfreturn 'True' cfelse cfreturn 'False' /cfif /cffunction Not tested, but along these lines... William

Re: CF8 Image manipulation

2009-03-08 Thread Dave Watts
I beg to differ, but I have a cfx_efflare and it allows me to click on an image and crop it on the admin area of my sites. I can click and drag to any part of the image and then resize to my heart's content. The last time I looked at CFX_Efflare, it didn't have any client-side functionality.

RE: true false

2009-03-08 Thread William Seiter
Prolly should have called it 'truefalseformat', instead of an already defined function of 'yesnoformat' ::blush:: =^) -- William E. Seiter Need to have your mortgage modified? I charge no fees until I am successful, then I charge almost half the rate you would find

Re: true false

2009-03-08 Thread Gerald Guido
Semi-sorta: #IIF(myvar eq 1, DE(true), DE(false))# On Sun, Mar 8, 2009 at 12:36 PM, Chad Gray cg...@careyweb.com wrote: Ah.. I was not dreaming. I knew there was something built in. Thanks Barney! -Original Message- From: Barney Boisvert [mailto:bboisv...@gmail.com] Sent:

Re: true false

2009-03-08 Thread Peter Boughton
You're possibly thinking of Railo's TrueFalseFormat function. Does exactly the same as YesNoFormat, but with true and false. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free

phpBB to Galleon migration?

2009-03-08 Thread Seb Duggan
Has anyone ever carried out a successful migration from phpBB to Galleon (or even any other CF-based forum)? After wasting nearly a whole Sunday trying to get PHP installed and running on a new web server (just to transfer across an existing phpBB forum), I've really had enough of PHP

Re: true false

2009-03-08 Thread s. isaac dealey
#IIF(myvar eq 1, DE(true), DE(false))# Actually you can get a little bit cleaner than this even: #iif(myvar,true,false)# True and false don't need the DE wrappers because they're boolean values, so they evaluate to themselves and then as long as myvar is a boolean, you don't have to

RE: CF8 Image manipulation

2009-03-08 Thread Terry Troxel
Dave, I sent the guys at Efflare a the code I downloaded at http://www.defusion.org.uk/demos/060519/cropper.php And they sent me a script for cfx_imageflare to allow me to do the following: User uploads a photo, cfx_imagecr3 resizes to 760px with proper aspect ratio, optimizes to 72 dpi. The

Re: true false

2009-03-08 Thread Dominic Watson
Indeed, evaluating to 1 is not strictly correct because: false = 0 true = not false Dominic ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Re: CF8 Image manipulation

2009-03-08 Thread Peter Boughton
Cropping is easy, because JavaScript can mimic it with transparent/shaded backgrounds, and just send the coordinates of the corner back to the server to perform the actual manipulation. Likewise, normal resizing is also rectangular and easy to mimic in JS. Creating a trapezoid is more

Re: CF8 Image manipulation

2009-03-08 Thread Peter Boughton
Cropping is easy, because JavaScript can mimic it with transparent/shaded backgrounds, and just send the coordinates of the corner back to the server to perform the actual manipulation. Likewise, normal resizing is also rectangular and easy to mimic in JS. Creating a trapezoid is more

Re: CF Facebook

2009-03-08 Thread Dominic Watson
Nobody can resist pitching their wares... not even that Camden feller. I did for sometime but hey, for a stripped down starter into facebook apps, there is always: http://fbmlstarter.riaforge.org/ :p Dominic ~| Adobe®

Re: true false

2009-03-08 Thread Maureen
Yes, but I think he wanted it to display TRUE or FALSE the way the yesnoformat displays YES or NO. On Sun, Mar 8, 2009 at 11:50 AM, s. isaac dealey i...@turnkey.to wrote: #IIF(myvar eq 1, DE(true), DE(false))# Actually you can get a little bit cleaner than this even:

What the heck is happening during CFQUERY?

2009-03-08 Thread Claude Schneegans
Hi, I've always thought that all what CFQUERY was doing was to create some connection to the database, and then the actual content of all records would be read as needed during some loop on the result set. I have this statement on some Access database : CFQUERY NAME=getArmes

Re: What the heck is happening during CFQUERY?

2009-03-08 Thread James Holmes
Yes, CFQUERY reads all the content of the query. It gets a connection from the pool, queries the DB, retrieves all the data and finally returns the connection to the pool. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/3/9 Claude Schneegans

Re: What the heck is happening during CFQUERY?

2009-03-08 Thread Seb Duggan
The CFQUERY connects to the database, returns the whole of the resulting query result into the specified variable, then closes the connection; the variable is held in memory for the lifetime of the request. So, if you run a query that, as in this case, returns more than 300,000 records,

Re: What the heck is happening during CFQUERY?

2009-03-08 Thread Brad Wood
By the time the cfquery tag has finished executing the entire data set has been returned from the database and is loaded into memory in ColdFusion. If the cfquery tag is taking a very long time to complete then: 1) The actual SQL is taking a long time to complete. 2) and/or you are returning a

Re: What the heck is happening during CFQUERY?

2009-03-08 Thread Al Musella, DPM
Change it to this and the time should go down by a factor of about 100,000 : CFQUERY NAME=getArmes DATASOURCE=Armoriaux SELECT count (*) as N FROM armesArmoriaux /CFQUERY CFOUTPUTgetArmes.recordCount = #getArmes.n#BR cfquery.ExecutionTime = #cfquery.ExecutionTime#BR/CFOUTPUTCFABORT

How to convert GMT Time into something I can use

2009-03-08 Thread Brian FitzGerald
Hey all, I'm building an app which is using the Checkout by Amazon service. Whenever an order is placed, Amazon is nice enough to pass me an order notification in xml which contains the data associated w/ the order. Problem is, the order date they are passing is in Greenwich Mean Time, and

Re: How to convert GMT Time into something I can use

2009-03-08 Thread James Holmes
Did you try DateConvert()? http://cfquickdocs.com/cf8/?getDoc=DateConvert mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/3/9 Brian FitzGerald bmfitzgera...@yahoo.com: Hey all, I'm building an app which is using the Checkout by Amazon service.  

Re: true false

2009-03-08 Thread s. isaac dealey
I thought this sample would do that. Yes, but I think he wanted it to display TRUE or FALSE the way the yesnoformat displays YES or NO. On Sun, Mar 8, 2009 at 11:50 AM, s. isaac dealey i...@turnkey.to wrote: #IIF(myvar eq 1, DE(true), DE(false))# Actually you can get a little bit

Re: How to convert GMT Time into something I can use

2009-03-08 Thread Will Tomlinson
Problem is, the order date they are passing is in Greenwich Mean Time, and looks pretty funky to me: I used this. Seemed to work fine... http://www.cflib.org/udf/DateConvertZ Will ~| Adobe® ColdFusion® 8 software 8 is

Compare FieldValues with DataBase Values

2009-03-08 Thread Priya Koya
Hi All, I have an issue and I am out of my mind.. to solve it. FieldNames: FirstName, LastName,Address,PhoneNumber, EmployerID, DepartmentID , DepartmentName, EmployerID, Branch Table Employee FirstName, LastName,Address,PhoneNumber, EmployerID Table Department DepartmentID ,

Re: How to convert GMT Time into something I can use

2009-03-08 Thread Brian FitzGerald
Hey there James, thanks for the response ... Actually, I hadn't tried dateConvert simply because I figured if one date function wouldn't recognize the string as a valid datetime string, then none of them would. I went ahead and gave dateConvert() a go and came up w/ the same error:

Re: How to convert GMT Time into something I can use

2009-03-08 Thread Paul Hastings
Brian FitzGerald wrote: Problem is, the order date they are passing is in Greenwich Mean Time, and looks pretty funky to me: example: 2009-03-08T06:23:15.000Z that's iso8601 format. there's code to convert to cf datetimes in the comments here:

Re: How to convert GMT Time into something I can use

2009-03-08 Thread Brian FitzGerald
Wow, all sorts of great info here... thanks a million. I tried the function you linked to Will but didn't have much luck w/ that. You'll have to show me how you managed to finesse that at work. Paul, you were right, Ben's post and subsequent comments right on target for this situation. I

Re: Compare FieldValues with DataBase Values

2009-03-08 Thread Priya Koya
Any ideas? Hi All, I have an issue and I am out of my mind.. to solve it. FieldNames: FirstName, LastName,Address,PhoneNumber, EmployerID, DepartmentID , DepartmentName, EmployerID, Branch Table Employee FirstName, LastName,Address,PhoneNumber, EmployerID Table Department

Re: Compare FieldValues with DataBase Values

2009-03-08 Thread Brad Wood
- Original Message - From: Priya Koya priya23...@gmail.com To: cf-talk cf-talk@houseoffusion.com I have an issue and I am out of my mind.. to solve it. FieldNames: FirstName, LastName,Address,PhoneNumber, EmployerID, DepartmentID , DepartmentName, EmployerID, Branch Ok,