Re: Is there a way to save the results of a query to a text file?

2008-06-15 Thread Gerald Guido
You mean something like this? http://www.cflib.org/udf/CSVFormat On Sun, Jun 15, 2008 at 11:19 AM, Jeff F [EMAIL PROTECTED] wrote: I need a page that will take a query, and save the results to a text file. What's more, the text file needs to be structured to a CSV format so the data can

Re: cfc question...

2008-06-15 Thread Gerald Guido
Anyway, what's lame about putting all the cfc's together in a directory where I can find them easily? There is nothing lame about it (you gotta stick them somewhere). What he means is that you are going to want to stick them in memory (the application scope) cuz there is a lot of overhead with

Re: many sites, one codebase

2008-06-13 Thread Gerald Guido
I had a similar set up as well. It keyed off of the domain name as well. That one started out well but ended up imploding. The theory was to have clone-able sites. But the client changed so many things that I ended up with 5 very different sites running off the same code base. They were rather

Re: SHORTENED QUESTION... CFORM enctype=multipart/form-data Problem

2008-06-11 Thread Gerald Guido
I don't know of a way to tell if it is a file (path actually) off hand but you can probably make sure that they entered a file name and or path using JS. I used the following code to make sure that the user only uploaded pdf files. Actually it just makes sure that the last 4 characters are .pdf

Re: LinkedIn CF group

2008-06-11 Thread Gerald Guido
Linked In = Facebook - Drunk Girl Pics Well, what good is that? I am in. I guess that makes me one of the cool kids now. ;) On Wed, Jun 11, 2008 at 4:18 PM, Dawson, Michael [EMAIL PROTECTED] wrote: Linked In = Facebook - Drunk Girl Pics m!ke -Original Message- From: Phillip

Re: cfkeditor rewriting cfif

2008-06-11 Thread Gerald Guido
any ways to stop it from rewriting code in source? What is rewriting your code? On Wed, Jun 11, 2008 at 4:16 PM, Paul Ihrig [EMAIL PROTECTED] wrote: i am trying to put a cfif statement in the source view of the fckeditor inside the richtext input field and it keeps re writing my cfml

Re: alternatives to cfcontent to allow large downloads

2008-06-10 Thread Gerald Guido
I have been looking at there stuff for a while for a my next dot bomb. Barney seems to like it a lot, but are there any major gotchas? Their set up is very cool. There are no major gotchas that I have seen to date. There are a couple of wrappers on RIAforge for using there service. Here is

Re: alternatives to cfcontent to allow large downloads

2008-06-10 Thread Gerald Guido
Actually the presentation is on this page: http://coldfusion.meetup.com/17/calendar/6620698/?from=listoffset=30 Good stuff G On Tue, Jun 10, 2008 at 9:37 AM, Gerald Guido [EMAIL PROTECTED] wrote: I have been looking at there stuff for a while for a my next dot bomb. Barney seems to like

Re: alternatives to cfcontent to allow large downloads

2008-06-09 Thread Gerald Guido
I have done cfcontent style download using PHP years ago. I am not sure it this will help you solve your problem, but it may be a viable alternative. I got the idea from working with OSCommerce http://oscommerce.org/ OSCommerce has a module that allow ppl buy and DL software and has a working

Re: Railo 3 - Open Source with JBoss

2008-06-05 Thread Gerald Guido
Now with cfvideo and cfvideoplayer No really. http://www.railo-technologies.com/en/index.cfm?treeID=354 On Thu, Jun 5, 2008 at 2:09 PM, Peter Boughton [EMAIL PROTECTED] wrote: Railo announced today that they are joining JBoss.org and going Open Source. The license will be LGPL2. More

Re: Railo 3 - Open Source with JBoss

2008-06-05 Thread Gerald Guido
The LGPL2 license is much more attractive than a straight GPL license. I am really not up on the nuances of OS licenses but from what I understand you can package an app with the Railo runtime and not have to release the code of your app as OS. The GPL license for Open BD was a deal breaker for

Re: Error in url parameter

2008-06-04 Thread Gerald Guido
try this Put this before the cfquery and see if you are passing the correct URL vars. cfdump var=#url# cfabort On Wed, Jun 4, 2008 at 12:25 PM, Yogendra Shivhare [EMAIL PROTECTED] wrote: I am getting following error in my applicationElement FORM_ID is undefined in URL.

Re: CF Studio 5

2008-06-04 Thread Gerald Guido
Troublemaker... :) Look Mark, you know as well as I that Charlie is a card carrying member of the CFeclipse Gestapo and is under direct orders from Herr Drew to recruit members by any and all means possible. I find your lack of faith disturbing. But yeah Dave, I have a copy of CFS 5.0

Re: ColdFusion 6.1 installer?

2008-06-03 Thread Gerald Guido
Dave, you're the bomb. Thanks. +1 on Dave's Bomb-iness. G$ On Mon, Jun 2, 2008 at 6:15 PM, Willy Ray [EMAIL PROTECTED] wrote: Dave, you're the bomb. Thanks. /w -- The important thing in science is not so much to obtain new facts as to discover new ways of thinking about them. - Sir

Re: CSV Generation MEMORY SUCK

2008-06-03 Thread Gerald Guido
Did you compare the memory usage by chance? G On Tue, Jun 3, 2008 at 1:07 PM, Brad Wood [EMAIL PROTECTED] wrote: Update: I experienced the same behavior on CF 8 JVM 1.6 (Win). Well, almost the same-- the CF8 server was actually faster overall. I would like to point out it is actually a

Re: CSV Generation MEMORY SUCK

2008-06-03 Thread Gerald Guido
I did a million loops - I don't know what possessed me to do that. Memory was measured using task manager. Totally unscientific. I did a restart on the service before each trial. CF 8 developer 2 gig ram Java v. 1.6.0_01 cfsavecontent 2281 ms 192,356 k start 260,872K after 68.516 k difference

Re: CF8 not validating CFFORM fields

2008-06-03 Thread Gerald Guido
Check to see if if the mapping for /CFIDE points to a dir that contains contans the scripts dir. Server Settings Mappings On Tue, Jun 3, 2008 at 2:44 PM, Maryam Jami [EMAIL PROTECTED] wrote: We've just upgraded our servers to CF8 and now forms containing CFFORM with required fields do

Re: do not increase counter is returns 0

2008-06-03 Thread Gerald Guido
I really don't think this response is appropriate and I'm sure that most of the community feels the same way. How about next time instead of saying You're an idiot, you either give some good advice or don't respond? That way there's no waste of everyone else's time reading posts that aren't

Re: CSV Generation MEMORY SUCK

2008-06-03 Thread Gerald Guido
Just a 411 I found a nice little tute on generating csv's using the StringBuffer class in ColdFusion http://www.stillnetstudios.com/2007/03/07/java-strings-in-coldfusion/ -- The important thing in science is not so much to obtain new facts as to discover new ways of thinking about them. - Sir

Re: do not increase counter is returns 0

2008-06-03 Thread Gerald Guido
True. I have wondered that too. I actually thought the same thing right after I sent the email. I don't want to chase off ppl either. On Tue, Jun 3, 2008 at 5:02 PM, Mark Kruger [EMAIL PROTECTED] wrote: Gerald, Regarding grammar and writing skill (and forgive me because I don't know this)

Re: Adobe ColdFusion Survey

2008-06-03 Thread Gerald Guido
That's not shoe size. Aww yeahh. Nice. I haven't been following this thread. Did anyone post the answers yet? Just askin'... ;) Fair is fair, right? G On Tue, Jun 3, 2008 at 8:05 PM, Dave Watts [EMAIL PROTECTED] wrote: I would have guessed Dave Watts. Or is that hat size That's

Re: Adobe ColdFusion Survey

2008-06-03 Thread Gerald Guido
Thanx Matt On Tue, Jun 3, 2008 at 8:49 PM, Matt Williams [EMAIL PROTECTED] wrote: On Tue, Jun 3, 2008 at 7:44 PM, Gerald Guido [EMAIL PROTECTED] wrote: That's not shoe size. Aww yeahh. Nice. I haven't been following this thread. Did anyone post the answers yet? Just askin

Re: CSV Generation MEMORY SUCK

2008-06-02 Thread Gerald Guido
#Chr(34)##replace(arguments .str,chr(34),#chr(34)##chr(34)#,ALL)##Chr(34)# There is your bottle neck. CF does not like string manipulation on a large scale. I have tried to parsed large text files before only to watched my dev box just keel over. I see two options off the top of my head, let

Re: Eclipse Question

2008-06-02 Thread Gerald Guido
It's also my number one complaint on CF IDEs, and that's the main reason I am unhappy about both CFEclipse and DW. Agreed. There are some IDEs that offer code assist/completion for the functions in included scripts/Libraries (JS, PHP etc.) which can be invaluable when working with large

Re: CSV Generation MEMORY SUCK

2008-06-02 Thread Gerald Guido
dropped my time from 68 seconds to 18 seconds Nice. Is that entirety of the code sans the query? little java class library called JavaCSV that handles The the one from SourceForge? I am going to need something like this shortly. G -- The important thing in science is not so much to

Re: CF with PostgreSQL

2008-06-02 Thread Gerald Guido
I *adore* PostgreSQL and use it almost exclusively (unless told to use something else). I have never used it before. I love MySQL and have been using MSSQL since forever (love/hate). I was always amazed that MySQL 4.x would be handling my dev work and have a 5-7meg footprint. I understand that

Re: Best Coldfusion Formatters or Coldfusion Beautifiers

2008-06-01 Thread Gerald Guido
Yeah, but *GREAT* indenting :)) Oddly enough both of those came from the same script. By far the highest wtfpm ratio I have seen to date. http://www.osnews.com/story/19266/WTFs_m On Sat, May 31, 2008 at 12:19 AM, Dave Francis [EMAIL PROTECTED] wrote: He also did not grasp the concept of

Re: Best CF editor?

2008-05-30 Thread Gerald Guido
no-one finds out I'm vegan! On Fri, May 30, 2008 at 9:59 AM, Gerald Guido [EMAIL PROTECTED] wrote: I make no assumptions. I made an observation. My wording was not intended to offend, if I did my apologies. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au

Re: Best CF editor?

2008-05-30 Thread Gerald Guido
I am learning more about Dreamweaver from this thread. I'm tempted to give it a shot. I am looking at the specks on the CS4 beta and it looks *tight*. I agree with Mark Drew. You should have many tools in your utility belt and know the strengths and weakness's of each. I really like CS3 *A lot*

Re: Comparing dates in text field

2008-05-30 Thread Gerald Guido
Are they dates as in when you do a isDate() they return true? If you can get them to be valid dates you do date manipulation even if they are stored as strings in the database.. I have dealt with this before. Not fun. But do-able. G On Fri, May 30, 2008 at 10:59 AM, Joy Paulose [EMAIL

Re: Comparing dates in text field

2008-05-30 Thread Gerald Guido
I think you can cast them as dates using SQL. I don't know the syntax off the top of my head nor have I done it. Perhaps some one can put forth some code. What DB are you using? but why do you have dates stored in a varchar field? In my case it was the person before me. On Fri, May 30, 2008

Re: Best CF editor?

2008-05-30 Thread Gerald Guido
Any second now someone is going to invoke Godwin's law. Too late. Tom Chiverton broke out his SS cap early this morning. ;) G On Fri, May 30, 2008 at 11:51 AM, Larry Lyons [EMAIL PROTECTED] wrote: Any second now someone is going to invoke Godwin's law. On Friday 30 May 2008, Gerald Guido

Re: Best CF editor?

2008-05-30 Thread Gerald Guido
a good online resource for CFEclipse, please? This is a good place to start: http://www.dopefly.com/projects/cfeclipse.cfm -- The important thing in science is not so much to obtain new facts as to discover new ways of thinking about them. - Sir William Bragg

Re: Best CF editor?

2008-05-30 Thread Gerald Guido
which i suppose will raise the question of what's a working set? :) Problem solved: http://www.dopefly.com/techblog/entry.cfm?entry=129 BTW Nathan Strutz has TONS of CFEclipse stuff on his site. Lots of good resources: http://www.dopefly.com/techblog/?bycategory=5 -- The important thing in

Re: How is cfswitch better that cfif?

2008-05-30 Thread Gerald Guido
On Fri, May 30, 2008 at 1:36 PM, Barney Boisvert [EMAIL PROTECTED] wrote: optimize your DB, add caching, check for any silly algorithms (query w/in a loop where a JOIN would work, etc.). Then tune your JVM. Then buy more hardware. Then switch from CF to a lower-level language. Then,

Re: Best Coldfusion Formatters or Coldfusion Beautifiers

2008-05-30 Thread Gerald Guido
Unfortunately if you didn't write the code, it may not be formatted as you like it... or it may not be formatted at all.. The guy before me was allergic indenting. This is 2 lines of his code: http://www.nomorepasting.com/getpaste.php?pasteid=16314 He also did not grasp the concept of variable

Re: Best CF editor?

2008-05-29 Thread Gerald Guido
I rub two sticks together. I do adore Eclipse though. Aptana absolutely ROCKS for JS, Ajax and CSS and AIR development. I do dust off CF studio for some stuff. But Rick is right, what ever gets you most productive. G -- One man with courage makes a majority. -Andrew Jackson

Re: Best CF editor?

2008-05-29 Thread Gerald Guido
Eclipse is indeed a resource pig. Between CF server, MSSQL, MySQL, Eclipse, FF etc. my workstation hovers around .1.5 gigs of ram. I had a problem with it being slow and I up-ed the ram to 512 using the following: C:\Program Files\eclipse\eclipse.exe -vmargs -Xmx512M It is quite speedy now. G

Re: Comparing 2 different chunks of text

2008-05-29 Thread Gerald Guido
The everyday question for me really is what limitation CF has.. It is largely dependent of the imagination of the person using it. And being able to tap into the underlying Java lessens many of the things that CF isn't all that great at. Like sting manipulation. I think the power and rapidity

Re: Why is CF giving me grief over this code?

2008-05-29 Thread Gerald Guido
I have a function that does that. It is pretty old so don't make fun of me. but it works ;) http://pastebin.com/m6d287cb5 On Thu, May 29, 2008 at 12:14 PM, Loathe [EMAIL PROTECTED] wrote: Steve Nelson had a tag formurl2attributes.cfm I can't seem to find it for download though.

Re: Why is CF giving me grief over this code?

2008-05-29 Thread Gerald Guido
in by one or the other. So I just put in a cfset StructAppend(FORM, URL, false) / for those needs. On Thu, May 29, 2008 at 11:24 AM, Gerald Guido [EMAIL PROTECTED] wrote: I have a function that does that. It is pretty old so don't make fun of me. but it works ;) http

Re: Why is CF giving me grief over this code?

2008-05-29 Thread Gerald Guido
Oh yeah Usage: PopulateStruct(form,url) On Thu, May 29, 2008 at 12:24 PM, Gerald Guido [EMAIL PROTECTED] wrote: I have a function that does that. It is pretty old so don't make fun of me. but it works ;) http://pastebin.com/m6d287cb5 On Thu, May 29, 2008 at 12:14 PM, Loathe

Re: Best CF editor?

2008-05-29 Thread Gerald Guido
I wouldn't use a developer workstation that was expected to run what looks like a full copy of the staging system in under 2G RAM. Which is why I need a new laptop. And why I don't want one w/vista. ;) Do you have the latest Java I am one behind: 1.6.0_05. You think it would make a diff? G --

Re: Application encryption

2008-05-29 Thread Gerald Guido
You can also compiled it into Java byte code using cfcompile (as of CF 7). I looked into it and from what I understand there is no real way to turn it back into CFML

Re: Best CF editor?

2008-05-29 Thread Gerald Guido
because of the Eclipse gestapo. I am sorry. The WHAT? The Eclipse gestapo? You HAVE to be kidding me. -- The important thing in science is not so much to obtain new facts as to discover new ways of thinking about them. - Sir William Bragg

Re: Best CF editor?

2008-05-29 Thread Gerald Guido
, Gerald Guido [EMAIL PROTECTED] wrote: because of the Eclipse gestapo. I am sorry. The WHAT? The Eclipse gestapo? You HAVE to be kidding me. -- The important thing in science is not so much to obtain new facts as to discover new ways of thinking about them. - Sir William Bragg

Re: Best CF editor?

2008-05-29 Thread Gerald Guido
cutting edge tech? On Fri, May 30, 2008 at 9:39 AM, Gerald Guido [EMAIL PROTECTED] wrote: I actually like that phrase and find it rather fitting. VERY Interesting. I would venture to say that notion reflects a zeitgeist of the CF community as a whole. Namely the skill/Knowledge divide

Re: Best CF editor?

2008-05-29 Thread Gerald Guido
James please read my first post on this thread. -- The important thing in science is not so much to obtain new facts as to discover new ways of thinking about them. - Sir William Bragg ~| Adobe® ColdFusion® 8 software 8 is

Re: cfoutput in a cfouput

2008-05-28 Thread Gerald Guido
My god Have I officially passed into Old Time ColdFusion Geezer after 8 years? :) Ha! Look here sonny. Back in my day when we wanted to query a database we did it by rubbing two sticks together. ~| Adobe® ColdFusion® 8

SOT: pastebin.com - Tool for posting/sharing code - collaborative debugging

2008-05-28 Thread Gerald Guido
I see a lot of people posting code and/or having problems doing so (like Carl was having today) and I thought I would share this little nugget of joy: http://pastebin.com/ They describe themselves as being a collaborative debugging tool Basically it a site that allows you to post code and

Re: powered by and copyright

2008-05-27 Thread Gerald Guido
This is in the US, and I assume Richard is in the UK. Even with that said here is a good reference on US Copyright law http://smallbusiness.findlaw.com/copyright/ Unfortunately I ran into copyright issues a few years back and found this site to be invaluable. G$ On Tue, May 27, 2008 at

Re: Flex vs Ajax?

2008-05-24 Thread Gerald Guido
This immediately made me think of this article by Bruce Eckel (the famed author of Thinking in Java http://www.amazon.com/exec/obidos/ASIN/0131872486 ) http://www.artima.com/weblogs/viewpost.jsp?thread=193593 G On Fri, May 23, 2008 at 6:21 PM, Nick Gleason [EMAIL PROTECTED] wrote: Folks,

Re: Help! I get someone else's variables!

2008-05-22 Thread Gerald Guido
Just a guess. Bu.. do you by chance have two applications on the machine with the same name in cfapplication? Maybe a staging site? I had a staging site and live site on the same machine and I would get weird phantom data that would bleed over from the staging site because (I am assuming) that

Re: referecing a cfc function

2008-05-22 Thread Gerald Guido
Richard, Check this out: http://photos.guidofamily.org/CfcCrashCourse.zip This should get you going. I don't know who the original author is or I would credit him/her. It take a while to get your head around cfc's and OO in general. Keep on plugging away at it, it *will* pay of. One day you will

Re: referecing a cfc function

2008-05-22 Thread Gerald Guido
I am glad I could help. I am just contributing to the community that has helped me become the developer I am. You reap what you sow. G$ On Thu, May 22, 2008 at 1:50 PM, Richard White [EMAIL PROTECTED] wrote: wow what a link :) thanks very much Gerald and your words were very

SOT: MSSQL Query help - Finding an exact word in a field

2008-05-21 Thread Gerald Guido
We are trying to tease out the following: SELECT ProjNum, ClientName, tblProj.Title, StartDate FROM tblProj WHERE (tblProj.Title LIKE '%Cost Plan%') OR(tblProj.Title LIKE '%Cost Allocation Plan%') OR (tblProj.Title LIKE '%CAP%') The problem is that OR

Re: MSSQL Query help - Finding an exact word in a field

2008-05-21 Thread Gerald Guido
- From: Gerald Guido [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 21, 2008 1:43 PM To: CF-Talk Subject: SOT: MSSQL Query help - Finding an exact word in a field We are trying to tease out the following: SELECT ProjNum, ClientName, tblProj.Title, StartDate

Re: delete duplicates.

2008-05-21 Thread Gerald Guido
http://www.cflib.org/udf.cfm?id=532 /** * Case-sensitive function for removing duplicate entries in a list. * @param list The list to be modified. * @return Returns a list. */ function ListDeleteDuplicates(list) { var i = 1; var delimiter = ','; var returnValue =

Re: delete duplicates.

2008-05-21 Thread Gerald Guido
You have to remove the dupes before you loop over the list On Wed, May 21, 2008 at 3:57 PM, morchella [EMAIL PROTECTED] wrote: all that seems to do is to remove the commas? cfoutput query=getAce group=title #title# xbr / cfloop From = 1 To = #ListLen(getAce.specs_partnum)# index = Counter

Re: mssql beyond compare tool?

2008-05-20 Thread Gerald Guido
Ditto the +1 on RedGate. On Tue, May 20, 2008 at 10:28 AM, John Paul Ashenfelter [EMAIL PROTECTED] wrote: +1 for the RedGate tools. They are *unbelievably* useful if you're thrown in with lots of poorly documented MSSQL databases or just problems. On Tue, May 20, 2008 at 10:23 AM, Crow T.

Re: cfchart and pdf

2008-05-20 Thread Gerald Guido
For what it is worth, I tried to do the same thing before and I was not able to get it to work either. G On Tue, May 20, 2008 at 12:35 PM, Kevin Roche [EMAIL PROTECTED] wrote: I am using CF8 and Yes, it certainly looks like the docs may be wrong. Ahamad Patan wrote: Currently,

Re: image editing

2008-05-19 Thread Gerald Guido
There is nothing to install. However, CFX's need to be registered with CF server. You drop it in the CFX dir under the CF install directory and go to the cf admin Extensions CFX Tags And point it to the executable cfx. It is standard fair and most reputable hosting companies will register a

Re: reusable components

2008-05-19 Thread Gerald Guido
Dom, I think I follow. Loading them in memory like mini CFC's? Very interesting. I take it you can load the function in to memory like using an init method on a CFC... by calling the function with out the the () and not passing it any vars? cfset application.udfs.MyFunction1 = MyFunction1 Is

Re: Cftextarea and Fukeditor

2008-05-19 Thread Gerald Guido
Just download the Library and look under examples. There are a bunch of them that work right out of the box. You pass just it a couple vars and you are done. Very easy. There is also a custom tag version too if that is more to your liking. hth G On Mon, May 19, 2008 at 11:09 AM, Don L [EMAIL

Re: CF8 json return....

2008-05-19 Thread Gerald Guido
Just a guess... Look in your application.cfm or other include files. G On Mon, May 19, 2008 at 12:08 PM, adam j. sontag [EMAIL PROTECTED] wrote: don't know if anyone has encountered this before, but I'm using CF8 components to return JSON to my applications, but even when i specify

Re: Cftextarea and Fckeditor

2008-05-19 Thread Gerald Guido
For what it is worth, I used Rick Root's CFFM - Coldfusion File Manager with Fckeditor a few years back and they play(ed) nice with each other. He was also nice enough to help me work out some issues I was having when trying to tweak some settings with Fckeditor as it related to CFFM.

Re: FCKEditor and IE7

2008-05-19 Thread Gerald Guido
Nice, thanx for the 411. G On Mon, May 19, 2008 at 2:39 PM, Erika L. Walker [EMAIL PROTECTED] wrote: Just an FYI in case many of you didn't know, but ActivEdit, the other WYSIWYG editor for web pages, is now open source and available for download at the creator's website:

Re: reusable components

2008-05-19 Thread Gerald Guido
. When ColdFusion processes a 'page' with a udf (either cffunction or scripted 'function'); the function is parsed and created as an *object* in memory (a special function type object). By 'calling' the function without the () you are actually referencing the object itself rather than invoking the

Re: Cftextarea and Fukeditor

2008-05-18 Thread Gerald Guido
Don, I hear you. So far I have avoided using a lot of the Ajax features in CF 8 (save cfajaxproxy ) and sticking with their source libraries like EXT and FCKeditor and the like. If anything for the foot print. I am still a sucker for cfform though. BTW FCKeditor has a CFC that works out of the

Re: secure ftp with HomeSite 5.5

2008-05-17 Thread Gerald Guido
It supports SSL. I have never used it though. Go to the file tab and select: Macromedia FTP RDS Add FTP server There will be a dialog for Configure SSL hth G On Sat, May 17, 2008 at 6:03 PM, Colman, Richard [EMAIL PROTECTED] wrote: Does anyone know if HomeSite 5.5 supports secure ftp

Re: ASSISTANCE

2008-05-16 Thread Gerald Guido
Why? On Fri, May 16, 2008 at 12:56 PM, erik tom [EMAIL PROTECTED] wrote: FROM THE DESK OF DR YUSUF KAZEEM, THE BANK MANAGER, STANDARD TRUST BANK LIMITED. -- The pursuit of truth and beauty is a sphere of activity in which we are permitted to remain children all our lives. - Albert

Re: image editing

2008-05-16 Thread Gerald Guido
Or if you are cheap like me there is always cfx_image. ;) I don't think it uses java image library as previous versions predate CFMX. http://www.kolumbus.fi/jukka.manner/ On Fri, May 16, 2008 at 12:54 PM, Bobby Hartsfield [EMAIL PROTECTED] wrote: And if you don't have CFImage... I still

Re: image editing

2008-05-16 Thread Gerald Guido
CFX_image has been the best for a long time, but it is really missing image quality in resizing. True. Sorely lacking in that respect. But for general purpose image functions it has been my work horse for years. If you can include a better commercial product in your budget more power to you.

Re: DateCompare or Diff? To determine if the Current Date is the Weekend or a Weekday

2008-05-14 Thread Gerald Guido
boy was I proud when I built a function for determining leap year to CF Jim I am still waiting on CF_GimmieABeer, CF_WashCar and isWasteOfTime() ;) On Wed, May 14, 2008 at 11:55 AM, Jim Davis [EMAIL PROTECTED] wrote: -Original Message- From: Nate Willard [mailto:[EMAIL PROTECTED]

Re: easy one! : comma separated list from cfoutput

2008-05-13 Thread Gerald Guido
ValueList(getProd.specs_partnum, ,) G On Tue, May 13, 2008 at 11:26 AM, morchella [EMAIL PROTECTED] wrote: ok. i am having a serious brain fart... i know there is a beter way to ooutput a list the is comma seperated then this.. cfloop query=getProd cfset columns =

Re: easy one! : comma separated list from cfoutput

2008-05-13 Thread Gerald Guido
You can do it using a QoQ and Select DISTINCT OR I wrote a couple of functions to do this. One day I will post them to CFLib. /** * Case-sensitive function for removing duplicate entries in a list. * @param list The list to be modified. * @return Returns a list. */ function

Re: easy one! : comma separated list from cfoutput

2008-05-13 Thread Gerald Guido
Wait... I cant remember if I wrote those or not. I have a library of list functions... Some I wrote, some I got offa CFlib. Don;t want to take credit for someone else's work. G On Tue, May 13, 2008 at 12:04 PM, Gerald Guido [EMAIL PROTECTED] wrote: You can do it using a QoQ and Select

Re: easy one! : comma separated list from cfoutput

2008-05-13 Thread Gerald Guido
In that case you would probably either have to move the values to a look up table (normalize) or uses a function to tease out the dupes. G On Tue, May 13, 2008 at 1:11 PM, Paul Ihrig [EMAIL PROTECTED] wrote: ian, that is exactly what i am doing. but i am storing a list inside a column to

Re: VMWare Open BlueDragon image made available

2008-05-11 Thread Gerald Guido
Greg, Good deal. Could you provide any more info on the centos distro? A gig sounds like it is a Desktop install. Is it one of the existing VM's form VMWares Virtual Appliances Center or a custom install? Any admin tools on it like webmin or is it a pure command line interface? Many TIA, G On

Re: VMWare Open BlueDragon image made available

2008-05-11 Thread Gerald Guido
On Sun, May 11, 2008 at 4:36 PM, Gerald Guido [EMAIL PROTECTED] wrote: Greg, Good deal. Could you provide any more info on the centos distro? A gig sounds like it is a Desktop install. Is it one of the existing VM's form VMWares Virtual Appliances Center or a custom install? Any admin tools

Error: attempted to dereference a scalar variable

2008-05-09 Thread Gerald Guido
We have a live survey and we took a look at the application log and we ran into this several times in the course of 20 min. I am assuming it is one user. You have attempted to dereference a scalar variable of type class java.math.BigDecimal as a structure with members. It seems to happen in

Re: Avoid multiple form submits.

2008-05-09 Thread Gerald Guido
Massimo? As in Massimo The DW Extension Guru? Awesome! I just wanted to say thank you SIR!! I have been using your stuff for years. And thanx for showing up when you did. I was *just* about to write a custom tag for DHTML Calendar for work. I looked and noticed that you have not posted any of

Re: Spry Eclipse Plugin?

2008-05-09 Thread Gerald Guido
And Eclipse 3.4 has a WYSIWYG HTML editor, for those pesky table-based layouts. @denstar Could you point me to that wonderful nugget of joy? With that, CF studio will become just another text editor (though awesome). I think the only other thing I use it for is the change tag case feature... G

Re: CF Opinions: best AIR developement methods

2008-05-08 Thread Gerald Guido
You might want to look at Aptana. It has a plug-in that takes a bit of the pain out of developing AIR apps. It comes with a bunch of prebuilt examples to help flatten out the learning curve. It is also a great IDE for javascript and the defacto tool of choice for many Ajax developers.

Re: OT - Google Hosted Email

2008-05-08 Thread Gerald Guido
I would recommend Gmail to retrieve your email *not hosted* on Google as well. Period. e.g. I have had the same email address since '99. I am sure it made it on every spammers list there is. I used to get over run with spam... we are talking thousands a day. Even with server side black lists and

Re: OT - Google Hosted Email

2008-05-08 Thread Gerald Guido
Griefer [EMAIL PROTECTED] wrote: On Thu, May 8, 2008 at 2:49 PM, Gerald Guido [EMAIL PROTECTED] wrote: I would recommend Gmail to retrieve your email *not hosted* on Google as well. Period. and why would that be? i've hosted my personal domain's email on google for a year now, and couldn't

Re: OT - Google Hosted Email

2008-05-08 Thread Gerald Guido
at 3:47 PM, Gerald Guido [EMAIL PROTECTED] wrote: I think you misinterpreted what I was trying say. Let me try again: I would recommend Gmail to retrieve your email, *even for* accounts *not hosted* on Google as well. I use gmail to get email for accounts that don't use googles

Re: or in a cfcase statement

2008-05-06 Thread Gerald Guido
As a side note you can use IIF to do conditionals as an inline variable . The basic syntax is like so: #IIf(expr, truepart, falsepart)# iif((Myvar eq x Or Myvar eq y, returnX, returnY) Or sumptin like that. G On Tue, May 6, 2008 at 12:08 PM, Scott Stewart [EMAIL PROTECTED] wrote: Hey All,

Re: query on query advice

2008-05-06 Thread Gerald Guido
you can use ColumnList to tease out the column names and use them to dynamicly created the query. cfquery name=getProj datasource=#application.DSN# SELECT * FROM tblProj /cfquery cfset mystring = getProj.ColumnList And

Re: Open BlueDragon released

2008-05-05 Thread Gerald Guido
Awesome. I heard the 3rd. I was looking for it this weekened. Wooo wooo, new toy to play with. There goes this mornings productivity. G On Mon, May 5, 2008 at 9:01 AM, Larry Lyons [EMAIL PROTECTED] wrote: Just thought the list would like to know that Open BlueDragon, the open source version

Re: Television: Mythbusters and CBS

2008-05-02 Thread Gerald Guido
Did you try: cfset WTF = evaluate(#Mythbusters# #CBS#) cfdump var=#WTF# On Fri, May 2, 2008 at 12:19 PM, Ian Skinner [EMAIL PROTECTED] wrote: Does anybody know if there is something going on here? Are Jamie and Adam perchance coming to a broadcast channel near me? I have not had cable

Re: CSS page calls and image calls from a CFC

2008-05-01 Thread Gerald Guido
It would be the same if you were using regular cfincludes. It is relative to the page that processes the actual http request. As an adjunct to Dom's suggestion, custom tags would be a good candidate for headers and footers if you are looking to control the data that is passed to and from them.

Re: CSS page calls and image calls from a CFC

2008-05-01 Thread Gerald Guido
handle both the header and footer in a single file. It is pretty slick in how it works. G On Thu, May 1, 2008 at 1:31 PM, Gerald Guido [EMAIL PROTECTED] wrote: It would be the same if you were using regular cfincludes. It is relative to the page that processes the actual http request

Re: multiple insert in coldfsuion

2008-05-01 Thread Gerald Guido
I am not sure what you are asking. Could you restate the question? Also posting your form code may help as well G On Thu, May 1, 2008 at 10:43 AM, erik tom [EMAIL PROTECTED] wrote: i am looping through theform and collecting survey answers, if i select multiple answers they get inserted on

Re: Form to TIFF?

2008-04-30 Thread Gerald Guido
If you are on linux you might want to look at Imagemagick and/or GD. I know that there a tons of libraries for them. They where (when I was doing PHP) the defacto image libraries. I imagine that you could call them using CFexecute but you might want to look at some of the php libraries as they

Re: Online Persentations (powerpoint style)

2008-04-30 Thread Gerald Guido
I work with some sales people who would probably wet themselves and call me blessed if they could send clients to a URL instead of trying to distribute a Powerpoint file. You can do that with Google docs. You upload a ppt file and it will convert it to a html

Re: Form to TIFF?

2008-04-29 Thread Gerald Guido
There is Image.cfc and cfx_image. I don't know if they write to tiff. I have a bunch of code that uses cfx_image that I can dig up for you if need be. Let me know. hth G On Tue, Apr 29, 2008 at 12:11 PM, Melissa Cope [EMAIL PROTECTED] wrote: We have a client that wants a form that, after

Re: problems with cflocation and redirect will never complete.

2008-04-25 Thread Gerald Guido
@ Casey You said that it was a problem with Time outs? You can override the servers default time out using cfsetting. ex: cfsetting requestTimeOut = 5000 If that doesn't solve the problem Dom's idea looks good. @Dom Stop making sense. ;) HTH, G On Fri, Apr 25, 2008 at 4:32 PM, Dominic

Re: OT: Printing Database Structure

2008-04-25 Thread Gerald Guido
In CF 8 cfset MyDSN = YourDSN cfdbinfo type=tables datasource=#MyDSN# name=tableMetaData table cfoutput query=tableMetaData cfdbinfo type=columns datasource=#MyDSN# name=ColumnMetaData table =

Re: OT: Printing Database Structure

2008-04-25 Thread Gerald Guido
useful -Original Message- From: Gerald Guido [mailto:[EMAIL PROTECTED] Sent: Friday, April 25, 2008 2:56 PM To: CF-Talk Subject: Re: OT: Printing Database Structure In CF 8 cfset MyDSN = YourDSN cfdbinfo type=tables datasource=#MyDSN# name=tableMetaData

<    4   5   6   7   8   9   10   11   >