Re: Extending Application.cfc

2008-06-15 Thread s. isaac dealey
Oh... I guess I skimmed over the fact that this was to get around the single-site limitation in the XP Pro version of IIS... So yeah, if that's the issue, I definitely recommend Apache -- it's honestly not any more difficult to set up and configure than ColdFusion imo. I use it on my notebook as

Using Threads and limitations of CF8 Standard vs Enterprise

2008-06-15 Thread c b
I've never fully jumped into Coldfusion but thought it perfect for an upcoming project I'm doing for a company but ran across Adobe's comparison chart for Standard vs. Enterprise. I don't fully understand threads or how they work exactly and their performance but reporting is an extremely

Re: CF thinks 0F is boolean.

2008-06-15 Thread denstar
On Fri, Jun 13, 2008 at 9:32 AM, Adam Haskell [EMAIL PROTECTED] wrote: This is going way off topic from the original thread but still pertinent to cf-talk, licenses and how licenses work is an important thing for anyone using or producing software. I'd assume many folks on this list are

Re: JNDI, Coldfusion and the AdminAPI

2008-06-15 Thread denstar
On Fri, Jun 13, 2008 at 9:23 PM, Kenton Gray [EMAIL PROTECTED] wrote: Thanks for all the suggestions, I think after much fiddling, my conclusion is there is no proper way this can be done. Yeah, I gave it a shot too. Same deal. And I tried all kinds of random things, just for good measure.

Learning about cfc's... couple of questions.

2008-06-15 Thread Rick Faircloth
So, let's see if I've got this straight. If I want to use the cfreturn result from a query in a cfc that is only *one* piece of info, (as in 'select username' I don't have to use the returntype of 'query'. But, if I want to access *all* the data returned by a query in a cfc, (as in 'select *' I

Re: Learning about cfc's... couple of questions.

2008-06-15 Thread Azadi Saryev
it does not matter what your query selects... it matters what from that query you are returning... you query may select 1 field in 1 row - it will still be a query, and you can cfreturn it as such if you want to. or your query may return thousands of rows of thousands of columns - but you cfreturn

Creationg virtual directories with CF and dotNet

2008-06-15 Thread Rick Root
Okay so I'm trying to use the System.DirectoryEntry assembly to create some virtual directories in IIS and not having much luck. Essentially I'm not getting past step 1: cfobject type=.net class=DirectoryEntry

Re: Learning about cfc's... couple of questions.

2008-06-15 Thread s. isaac dealey
Well technically, returntype doesn't have anything to do with cfquery... Whatever you return from your function with cfreturn has to match what you put in your cfreturn tag, so lets say for example that you put returntype=query, then whatever's in your cfreturn tag has to be a query, whether

Re: Creationg virtual directories with CF and dotNet

2008-06-15 Thread Rick Root
scratch that, I figured out that i need to use the full clas path... cfobject type=.net class=System.DirectoryServices.DirectoryEntry assembly=C:\WINDOWS\Microsoft ..NET\Framework\v1.1.4322\System.DirectoryServices.dll name=site Rick

Re: many sites, one codebase

2008-06-15 Thread Cutter (CFRelated)
Rick, To start off, take a look at cfoop.org, to gain a better understanding of object oriented programming with ColdFusion. Next, download and review the LitePost application off of Google Code. This is a simple blog app with a single model, but showing that model being used by Mach II,

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

2008-06-15 Thread Jeff F
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 easily be imported into a database. is this possible? Any hints on tags, or examples ??? Thanks, jeff

Re: Creationg virtual directories with CF and dotNet

2008-06-15 Thread Rick Root
If anyone's interested, I've got this working, and blogged about it here: http://www.opensourcecf.com/1/2008/06/Creating-IIS-Virtual-Directories-with-Coldfusion-8-and-NET-integr.cfm ~| Adobe® ColdFusion® 8 software 8 is the most

Re: many sites, one codebase

2008-06-15 Thread Gerald Guido
+ 1 for lludium PU-36 Code Generator IMHO the first step is to abstract your database. btw the trip down OO lane is not all that easy. I wish I could point you (or me for that matter) to a definitive guide and say have at it. It is a totally different way of thinking about coding, and like all

Deviceatlas and ColdFusion

2008-06-15 Thread Piotr Artman
Hello, I am new in ColdFusion and I want to connect ColdFusion server with a database of mobile devices known as Deviceatlas. When I was trying to import the Da.jar file (cfimport tag) I received the message: Cannot import the tag library specified by http://localhost/test/lib/DA.jar;. The same

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: Is there a way to save the results of a query to a text file?

2008-06-15 Thread Rick Root
On Sun, Jun 15, 2008 at 12:54 PM, Gerald Guido [EMAIL PROTECTED] wrote: You mean something like this? http://www.cflib.org/udf/CSVFormat and if you're looking for something faster for handling larger result sets, check out the JavaCSV library... using it is pretty easy:

RE: Learning about cfc's... couple of questions.

2008-06-15 Thread Rick Faircloth
In one example project I was working on, I used this for the cfreturn: cfreturn get_agent / And then I could access any of the query info contained in the 'get_agent' query by column name back on the calling page. In other words, I didn't have to specify in cfreturn what specific column I was

RE: many sites, one codebase

2008-06-15 Thread Rick Faircloth
Thanks for the references and advice, Cutter and Gerald! Rick -Original Message- From: Cutter (CFRelated) [mailto:[EMAIL PROTECTED] Sent: Sunday, June 15, 2008 10:01 AM To: CF-Talk Subject: Re: many sites, one codebase Rick, To start off, take a look at cfoop.org, to gain a

Re: Creationg virtual directories with CF and dotNet

2008-06-15 Thread Azadi Saryev
just stumbled upon this: http://tuttletree.com/nerdblog/?page_id=85 thought you may be interested... Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Rick Root wrote: If anyone's interested, I've got this working, and blogged about it here:

cfc question...

2008-06-15 Thread Rick Faircloth
Let's say I have link on a page back to itself: a href='page.cfm?agent_id=20'Get Agent/a Then I have this in my page.cfm to invoke a cfc called 'agent.cfc': cfinvoke component='agent' method='get_agent_info' returnvariable='agent_info' agent_id='#url.agent_id#'

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

2008-06-15 Thread Will Tomlinson
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 easily be imported into a database. is this possible? Any hints on tags, or examples ??? What DB are you using? Usually, I try

Re: Creationg virtual directories with CF and dotNet

2008-06-15 Thread Rick Root
Cool, that'd be useful for CF versions prior to CF8 without .NET integration. Thanks for the link! Rick On Sun, Jun 15, 2008 at 3:34 PM, Azadi Saryev [EMAIL PROTECTED] wrote: just stumbled upon this: http://tuttletree.com/nerdblog/?page_id=85 thought you may be interested... Azadi Saryev

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

2008-06-15 Thread Doug Hyde
See http://coldfusion.sys-con.com/read/42020.htm 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 easily be imported into a database. is this possible? Any hints on

RE: Deviceatlas and ColdFusion

2008-06-15 Thread Dave Watts
When I was trying to import the Da.jar file (cfimport tag) I received the message: Cannot import the tag library... Did you put it in the classpath? Dave Watts, CTO, Fig Leaf Software ~| Adobe® ColdFusion® 8 software 8

RE: Case Sensitive Form Field Names

2008-06-15 Thread Dave Watts
Probably a lost cause but does anyone know of any method(s) to preserve the case of form field names through a POST? I know you already got a useful answer, but you can probably do this using the CF function GetHttpRequestData. Dave Watts, CTO, Fig Leaf Software

cfchart and server monitor

2008-06-15 Thread Vance Whitehouse
Hello, I'm unable to get my cfcharts to display on Red Hat running Apache. Our Windows servers running IIS can display the charts properly, but our Red Hat boxes create the chart in the default cache folder, but the page can't find them. The image location is

Re: cfc question...

2008-06-15 Thread Brian Kotek
On Sun, Jun 15, 2008 at 3:43 PM, Rick Faircloth [EMAIL PROTECTED] wrote: Let's say I have link on a page back to itself: a href='page.cfm?agent_id=20'Get Agent/a Then I have this in my page.cfm to invoke a cfc called 'agent.cfc': cfinvoke component='agent'

Re: Case Sensitive Form Field Names

2008-06-15 Thread Barney Boisvert
You'd have to parse the request body manually to get the info from getHttpRequestData, as it returns a struct of headers and the raw request body. The ServletRequest object has the already-parsed data from the body, which makes it a lot simpler. cheers, barneyb On Sun, Jun 15, 2008 at 2:23 PM,

RE: cfc question...

2008-06-15 Thread Rick Faircloth
Thanks for the reply, Brian. I see what you mean about the agnosticism of the view. Thanks, also, for the tip on handling the session variables. and the rest of the comments. Another issue I've run into is how to help my calling page find my cfc's. While learning, I've just placed the cfc in

Re: cfc question...

2008-06-15 Thread Azadi Saryev
invoke your agents.cfc as c21-ar.components.agents cf expects a path from web root if the component is not in same folder. Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Rick Faircloth wrote: Thanks for the reply, Brian. I see what you mean about the agnosticism of the view. Thanks,

Re: cfc question...

2008-06-15 Thread Will Tomlinson
Another issue I've run into is how to help my calling page find my cfc's. While learning, I've just placed the cfc in the same folder as the calling page. But now I'm placing them in a components folder and the calling page can't find it. Rick, I mostly initialize them in application scope in

RE: cfc question...

2008-06-15 Thread Rick Faircloth
Now, Will... all that's a bit complicated for a newbie to cfc's! Didja haf'ta make it so hard! I just wanted a path! :o) Anyway, what's lame about putting all the cfc's together in a directory where I can find them easily? -Original Message- From: Will Tomlinson [mailto:[EMAIL

Re: cfc question...

2008-06-15 Thread Azadi Saryev
there's nothing lame about it. Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Rick Faircloth wrote: Now, Will... all that's a bit complicated for a newbie to cfc's! Didja haf'ta make it so hard! I just wanted a path! :o) Anyway, what's lame about putting all the cfc's together in a

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: cfc question...

2008-06-15 Thread Rick Faircloth
I'll check out the info... thanks, Guido! -Original Message- From: Gerald Guido [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2008 12:02 AM To: CF-Talk Subject: Re: cfc question... Anyway, what's lame about putting all the cfc's together in a directory where I can find them

Re: cfc question...

2008-06-15 Thread Mike Kear
Rick, I'm delighted to see you starting to work with the power of CFCs. I also had the same confusion as you did at first. The terminology for some of these OO concepts gets a bit confusing, so perhaps i can help you by expressing some of the ideas related without using the teminology. Perhaps

RE: cfc question...

2008-06-15 Thread Rick Faircloth
I looked over the info and I'm sure I'll end up doing that, but I still have to execute the code at some point, which leads me back to the question of how to set up paths for the cfc's. Let's say I've got a root folder of e:\inetpub\webroot\c21ar and a component folder path of

Re: cfc question...

2008-06-15 Thread Azadi Saryev
you can always use: cfinvoke component=dot.delimited.path.to.cfc.from.webroot method=your_cfc_method_name_here ... same dor notation goes for createobject() function and cfobject tag did my first comment not come through on the list yet? i do have it in my email inbox... Azadi Saryev

RE: cfc question...

2008-06-15 Thread Rick Faircloth
Yes, that's a good explanation of the encapsulation perspective and code. See the message I just posted for even more basic info on trying to help a cfinvoke function locate a cfc. Unless I put it in the same folder as the calling page, I get an error saying it can't be found no matter how I try

Re: Looking for javascript expert and CF professional worker

2008-06-15 Thread Larry C. Lyons
What people have been saying about this topic are best set of arguments for getting requirements docs before anything is coded.That has saved me more than once. regards, larry On Sat, Jun 14, 2008 at 9:41 PM, James Holmes [EMAIL PROTECTED] wrote: Especially putting together the last couple of

RE: Looking for javascript expert and CF professional worker

2008-06-15 Thread Bobby Hartsfield
+1 ..:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Larry C. Lyons [mailto:[EMAIL PROTECTED] Sent: Sunday, June 15, 2008 3:15 PM To: CF-Jobs-Talk Subject: Re: Looking for javascript expert and CF professional worker What people