Re: Looking for a CF Recipe script!

2010-07-13 Thread Brad Wood
And if you want to just go way too far-- these logic gates are actually only aware of the current flowing through their traces which is pushed by the voltage and inversely proportional to the resistance in the circuit per Ohm's law. Current is measured in amperes whereas one amp-second is a

Re: Looking for a CF Recipe script!

2010-07-13 Thread mac jordan
On Tue, Jul 13, 2010 at 5:37 AM, Mike Kear afpwebwo...@gmail.com wrote: The short answer, Ennio is no, I would be very surprised if there is such a thing available, but it would make a really good learning opportunity for you. I wrote www.nibblous.com as such an exercise - it's now #1 on

RE: ColdFusion Blogging Engines

2010-07-13 Thread Will Swain
That's very interesting Casey. Thanks. I'll look into scribefire. w -Original Message- From: Casey Dougall [mailto:ca...@uberwebsitesolutions.com] Sent: 12 July 2010 20:15 To: cf-talk Subject: Re: ColdFusion Blogging Engines On Mon, Jul 12, 2010 at 12:57 PM, Jake Churchill

Re: logout and back button

2010-07-13 Thread Tom Chiverton
On Monday 12 Jul 2010 14:02:07 Michael Grant wrote: I don't think this is an Adobe issue. It's an application design issue. This is an important point; by pressing 'back' the user can't see anything they couldn't see before, and maintain a permanent record of if they wanted to (by saving the

CF901 Released

2010-07-13 Thread Raymond Camden
Title says it all - details at my blog post: http://www.coldfusionjedi.com/index.cfm/2010/7/13/ColdFusion-901-Released Or you can skip me and go here: http://www.adobe.com/support/coldfusion/downloads_updates.html#cf9 Folks, this is NOT a minor update. Lots of new features! --

struct lookup vs. query of queries

2010-07-13 Thread Michael Dinowitz
I've got a loop which will need to look up a piece of data on each iteration. The data is standardized so there is really just one call to the database (outside the loop). I can either do a query of queries on each iteration or I can turn the query into a structure and do a structure lookup

CFPRINT problem

2010-07-13 Thread Ian Skinner
We have a CF application that uses cfprint This morning this code started throwing errors that it can not print the the designated printer. Looking at the ColdFusion Administrator for the instance this code runs in, that is true. There are not printers listed. But looking at another

development and testing server

2010-07-13 Thread Won Lee
Hi folks, I've been using CF 9 developer on edition on my dev box and the standard version on my production box. I want to change the dev box to standard for development only purpose under the EULA 3.1.3. Any directions for this or do I just enter the same key? W

How to interpret log files?

2010-07-13 Thread Shannon Rhodes
My boss sent us a snapshot of an event log after a 503 error shut down dev, and asked us if anyone could figure out what it meant. I spent some time searching online for some kind of guide to log messages, but I can't find anything at all. At very least, it would be nice to know what kind of

Re: Extract an URL Variable name?

2010-07-13 Thread Shannon Rhodes
I did something like this relatively recently, with the added requirement that both the variable name and the value be encrypted (fun, eh). On top of that, there was a handler page that I had to ensure was continuing to attach all of my url vars to the url for cflocation. I'll give you my

Re: struct lookup vs. query of queries

2010-07-13 Thread Mike Chabot
I think the size of the query and structure would be an important factor, as well as how many loop iterations are done. Often I lean towards using structures if I need to look up data frequently because the syntax is cleaner. There is also the array method of accessing queries like

Re: Turning off try/catch

2010-07-13 Thread Shannon Rhodes
Thanks all, great suggestions. I especially like the find/replace option, since I don't have access to the administrator and log files here. Andrew, this is a dev site that I fully expect to error dozens of times, my main task being clean-up. It costs time and aggravation when these errors

Re: development and testing server

2010-07-13 Thread Adrocknaphobia
Just use the same key. -Adam On Tue, Jul 13, 2010 at 1:03 PM, Won Lee won...@gmail.com wrote: Hi folks, I've been using CF 9 developer on edition on my dev box and the standard version on my production box. I want to change the dev box to standard for development only purpose under the

Re: development and testing server

2010-07-13 Thread Won Lee
Thanks On Tue, Jul 13, 2010 at 1:36 PM, Adrocknaphobia adrocknapho...@gmail.comwrote: Just use the same key. -Adam On Tue, Jul 13, 2010 at 1:03 PM, Won Lee won...@gmail.com wrote: Hi folks, I've been using CF 9 developer on edition on my dev box and the standard version on my

How Many CFCs is too many CFCs

2010-07-13 Thread Brook Davies
Hi folks, I need to ask what you more experienced folks thing about my application design. I have some reservations about the number of CFC's loaded into the application scope and the number of calls to CFC methods per request. Background: -Client variable DB storage -Not able

Re: Turning off try/catch

2010-07-13 Thread Andrew Clarke
You can have errors dumped to the screen in dev, and quietly handled in production, if you keep the try/catch. You probably understood what I was saying earlier, but just in case, I'll reiterate my point. If you call some sort of error handling function inside the cfcatch blocks, you can do

Re: development and testing server

2010-07-13 Thread Won Lee
Adam, my network admin is asking me for a URL or documenation that specifically states that. I showed him the EULA but he is asking for the part where we can use a production key for development and testing. He understands those servers will only be used for development and testing. W On

Re: development and testing server

2010-07-13 Thread Judah McAuley
http://www.terrenceryan.com/blog/post.cfm/coldfusion-9-testing-staging-and-development-changes-to-eula On Tue, Jul 13, 2010 at 12:16 PM, Won Lee won...@gmail.com wrote: Adam, my network admin is asking me for a URL or documenation that specifically states that.  I showed him the EULA but he

Re: How Many CFCs is too many CFCs

2010-07-13 Thread Tony Bentley
How you are encapsulating your cfc's. It there only one remote object that interacts with the client and everything else is private/public? ~| Order the Adobe Coldfusion Anthology now!

Re: CF901 Released

2010-07-13 Thread Dan Crouch
I installed this on our test server and every datasource that is wrapped for SeeFusion is failing now. All of the other datasources are fine. So that may be something to keep in mind for folks using SeeFusion. I haven't found a fix for it yet. java.sql.SQLException:

Re: How Many CFCs is too many CFCs

2010-07-13 Thread Andrew Clarke
I took a quick read through your email and couldn't find anything inherently wrong with the design IMHO. Having 60 objects in the application scope I presume is analogous to saying you have 60 singletons. Let's say you have 10 simultaneous requests at any given point. It's better to have 60

Re: development and testing server

2010-07-13 Thread Won Lee
He was looking for something more official. We take licenses very seriously here. W On Tue, Jul 13, 2010 at 3:19 PM, Judah McAuley ju...@wiredotter.com wrote: http://www.terrenceryan.com/blog/post.cfm/coldfusion-9-testing-staging-and-development-changes-to-eula On Tue, Jul 13, 2010 at

Re: development and testing server

2010-07-13 Thread Judah McAuley
The author of that article works for Adobe in an official CF capacity and then points to the changes in the EULA. I think that short of get a signed statement from Adobe's lawyers that they won't sue you, that is about as official as you are going to get. You've got the license text and you have

Oracle Stored Procedure Help

2010-07-13 Thread Chad Baloga
I have never used stored procedures before but have been working on some code where they might be helpful to use with CFSTOREPROC instead of CFQUERY since I am dealing with a ton of records. Can anyone provide an example of a simple stored procedure which will return a set of data with more

Re: development and testing server

2010-07-13 Thread Won Lee
Thanks. I did tell him that I got the post from Adam, who is the product manager, and the evangelist's blog. he understands that we can create a dev and staging server for each key we own. The EULA is clear about that. He wants, in writing, that the process is to just use the production key.

Re: development and testing server

2010-07-13 Thread Eric Cobb
Not only that, let's not forget that Adam (adrocknaphobia) is the main man in charge of all things CF at Adobe, so his direct response to this post instructing Won to use the same key should suffice. I realize some people want to see official documentation in writing, but short of having Ben

Re: development and testing server

2010-07-13 Thread Dave Watts
Not only that, let's not forget that Adam (adrocknaphobia) is the main man in charge of all things CF at Adobe, so his direct response to this post instructing Won to use the same key should suffice.  I realize some people want to see official documentation in writing, but short of having

Re: Oracle Stored Procedure Help

2010-07-13 Thread Shannon Rhodes
I'm not completely clear if you're asking about how to write the proc or how to call the proc. You call the proc via ColdFusion like so: cfstoredproc procedure= datasource= username= password=

Re: CF901 Released

2010-07-13 Thread Dan Crouch
Oddly enough, it is the other way around. Any datasource that was NOT wrapped by SeeFusion is not working. Anything that is wrapped in the SeeFusion driver works fine. So I go create another SQL datasource and it will break, it gives me that same error. I wrap that datasource for SeeFusion and

Best conference?

2010-07-13 Thread Andrew Clarke
I posted a similar question on cf-community a week or two ago, but it sort of got buried and only got one response (thanks ** Private ** for your response). I understand this is probably a loaded question, but what are peoples' opinions on the best conference to attend? I've been developing

Re: Best conference?

2010-07-13 Thread Charlie Griefer
On Tue, Jul 13, 2010 at 1:25 PM, Andrew Clarke s...@clarke.ca wrote: I posted a similar question on cf-community a week or two ago, but it sort of got buried and only got one response (thanks ** Private ** for your response). I understand this is probably a loaded question, but what are

Re: Best conference?

2010-07-13 Thread Andrew Clarke
Thanks, I hadn't really considered that one. My big concern right now is CFUnited. I would have liked to go but since there are other options and it's a very inconvenient time for me I think I'll check out one of the others later on in the year or next year. I'm not knocking NCDevCon but

cfspreadsheet question

2010-07-13 Thread Sisk, Kris
Is there a better way to do this? cfspreadsheet action=read src=file.xls name=spreadsheet cfspreadsheet action=read Src=file.xls Headerrow=1 Rows=2-#spreadsheet.rowcount# Query=spreadsheet Basically I want to end up with a

Re: CF901 Released

2010-07-13 Thread Steve Rittler
Hey Dan: Rename the macromedia_drivers.jar file in WEB-INF/cfusion/lib and replace it with the same file from /WEB-INF/cfusion/updater_backup/lib I don't know what the real problem is, but this'll get you back up and running. I'm filing the bug now. Steve Rittler CounterMarch Systems

changing apache documentroot causes CF administrator to break

2010-07-13 Thread joe martinez
Hi. Here is my directory structure: c:\webstuff c:\webstuff\mainwebsite c:\webstuff\CFIDE In my httpd.conf, I changed the DocumentRoot from c:\webstuff to c:\webstuff\mainwebsite. I also added the following directive to accommodate the change I made earlier since CF Administrator is now

Re: development and testing server

2010-07-13 Thread Roger Austin
On 7/13/2010 3:36 PM, Won Lee wrote: Thanks. I did tell him that I got the post from Adam, who is the product manager, and the evangelist's blog. he understands that we can create a dev and staging server for each key we own. The EULA is clear about that. He wants, in writing, that the

Re: Oracle Stored Procedure Help

2010-07-13 Thread Chad Baloga
I can't seem to get cfprocresult to dump anything (it's undefined). The proc runs and returns data but for some reason it doesn't put the record set in it. Any ideas? I'm not completely clear if you're asking about how to write the proc or how to call the proc. You call the proc via

Re: Oracle Stored Procedure Help

2010-07-13 Thread James Holmes
We'll really need to know which DB you're using. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 14 July 2010 08:23, Chad Baloga cbal...@gmail.com wrote: I can't seem to get cfprocresult to dump anything (it's undefined).  The proc runs and returns data but for

Re: How Many CFCs is too many CFCs

2010-07-13 Thread Michael Grant
Let me make a completely useless aside: The abbreviation for Alberta is AB not AL? On Tue, Jul 13, 2010 at 3:13 PM, Brook Davies br...@logiforms.com wrote: Hi folks, I need to ask what you more experienced folks thing about my application design. I have some reservations about the number

Re: changing apache documentroot causes CF administrator to break

2010-07-13 Thread Kym Kovan
On 14/07/2010 8:40 AM, joe martinez wrote: Hi. Here is my directory structure: c:\webstuff c:\webstuff\mainwebsite c:\webstuff\CFIDE In my httpd.conf, I changed theDocumentRoot from c:\webstuff to c:\webstuff\mainwebsite. I also added the following directive to accommodate the

Re: Oracle Stored Procedure Help

2010-07-13 Thread Chad Baloga
Oracle 10g We'll really need to know which DB you're using. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 14 July 2010 08:23, Chad Baloga cbal...@gmail.com wrote: I can't seem to get cfprocresult to dump anything (it's undefined).  The proc runs and

Re: changing apache documentroot causes CF administrator to break

2010-07-13 Thread joe martinez
Thanks, that worked! This might be a dumb question, but why does it matter? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion

Re: Oracle Stored Procedure Help

2010-07-13 Thread James Holmes
Have you declared your result as a ref cursor in the PL/SQL? -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 14 July 2010 08:31, Chad Baloga cbal...@gmail.com wrote: Oracle 10g We'll really need to know which DB you're using. -- WSS4CF - WS-Security framework

Re: Oracle Stored Procedure Help

2010-07-13 Thread Chad Baloga
I tried but get an error. Here is my stored procedure: create or replace PROCEDURE GETALL_SP ( v_a OUT table.a%TYPE, v_b OUT NOCOPY table.b%TYPE, v_c OUT NOCOPY table.c%TYPE ) IS CURSOR Cursor_table IS select distinct a, b, c from mytable where d not in (select d from getDeleted_V); BEGIN

Re: struct lookup vs. query of queries

2010-07-13 Thread Michael Grant
Can you accomplish the same thing in the db? I would feel pretty confident saying that unless you've got an unusual table it's going to be faster to use the db for you data comparison. On Tue, Jul 13, 2010 at 12:19 PM, Michael Dinowitz mdino...@houseoffusion.com wrote: I've got a loop

Re: changing apache documentroot causes CF administrator to break

2010-07-13 Thread Kym Kovan
On 14/07/2010 10:37 AM, joe martinez wrote: Thanks, that worked! This might be a dumb question, but why does it matter? All the CFCs are in a folder under the CFIDE one. Remember the error: Could not find the ColdFusion Component or Interface CFIDE.adminapi.security it was looking for CFC

Re: Oracle Stored Procedure Help

2010-07-13 Thread Chad Baloga
My error is: Error(2,1): PLS-00410: duplicate fields in RECORD,TABLE or argument list are not permitted when I have... create or replace PROCEDURE GETALL_SP ( v_a OUT table.a%TYPE, v_b OUT NOCOPY table.b%TYPE, v_c OUT NOCOPY table.c%TYPE, Cursor_table sys_refcursor ) IS

Re: Turning off try/catch

2010-07-13 Thread Mark Mandel
I was going to say - this is probably a good place for a tool like Logbox. If you log your errors in your catch statements at one level (say debug level), then when you are working in development you set your log level to 'debug'. When you're in stage or prod, you have it at 'warn' or 'error'.

Re: struct lookup vs. query of queries

2010-07-13 Thread Dan G. Switzer, II
Depending on the size of the lookup table, I like using a struct to hold a reference to the row number, that way I quickly lookup the data in the query. Lookup = structNew(); Lookup[id] = row; then you can do: query.column[Lookup[id]]; -Dan On Tuesday, July 13, 2010, Michael Dinowitz

Re: CF901 Released

2010-07-13 Thread Dan Crouch
Thanks, I updated that and restarted the CF service and they are working again. Hey Dan: Rename the macromedia_drivers.jar file in WEB-INF/cfusion/lib and replace it with the same file from /WEB-INF/cfusion/updater_backup/lib I don't know what the real problem is, but this'll get you