Re: Java in CF (CFMX)

2002-11-25 Thread Jochem van Dieten
Quoting Dave Carabetta [EMAIL PROTECTED]: While I understand this isn't a feature that everybody would use, I would personally like to see MM focus on encapsulating some more Java features into easy-to-use black-box CF tags rather than having to code my own Java. I agree. For instance, it

amending a record

2002-11-25 Thread Seamus Campbell
Hi I am looping thru a text file, updating a database. I want to have an errors table which will list all titles not updated due to errors. But what I want (and can't see how to do) is to add each record not updated to a memo field but not lose the previous data ie initially memo field is

Log Files

2002-11-25 Thread Shahzad.Butt
Size of my application.log file is 51217475. Does it make any difference if it keeps growing without cleaning or we should clear it up. If we should clean it can I trim it like deleting old data? Or do I have to delete file altogether? I cant view it from CFAdmin page as it says size exceed limit

RE: Log Files

2002-11-25 Thread John Beynon
Shahzad, take a read of this: snip The end result of the above, is that the server.log file grows alarmingly if not closely monitored - once it grew to 1.5Gb (that's not a typo) and took up all the space on the server c:\ and crashed the server :-( It's for that reason (and that CF slows

RE: Log Files

2002-11-25 Thread Shahzad.Butt
Nice one, thanks John -Original Message- From: John Beynon [mailto:[EMAIL PROTECTED]] Sent: 25 November 2002 11:34 To: CF-Talk Subject: RE: Log Files Shahzad, take a read of this: snip The end result of the above, is that the server.log file grows alarmingly if not closely

Re: Image creation

2002-11-25 Thread Jon Hall
There are a couple free cfx_image tags around that can do this, also a commercial one called cfx_imageflare which is pretty nice. You can use any of the COM objects out there to do this also. -- jon mailto:[EMAIL PROTECTED] Sunday, November 24, 2002, 9:27:15 PM, you wrote: SW I'm just

RE: What are your experiences with PDF forms/FDF/CFMX?

2002-11-25 Thread webguy
Look at ActivePDF.com, Have to be careful with MX and COM, though. Also you can do XML - PDF with xml-fo fop.apache.org. also look at http://www.school-for-champions.com/coldfusion/cftopdf.htm http://www.cfcomet.com/pdf/ web guy -Original Message- From: Jeff Small [mailto:[EMAIL

RE: CFMX JDBC ERROR: No ResultSet set was produced.

2002-11-25 Thread Debbie Dickerson
Isaac, The reason you got no results when entering 45938 into the article ID field on the search form is because that is a bug number, not a technote number. I'll change the wording in the Known Issues technote so it's not so misleading. Deb -Original Message- From: S. Isaac Dealey

Exchange

2002-11-25 Thread Shahzad.Butt
Hi We are using MS Outlook 2000 (Fax over IP) to send faxes from computer. It works perfect as outlook probably converts Email-type to FAX rather than SMTP. But when I try doing same practice in coldfusion (MX) it doesn't work. following is Fax I am trying to send cfmail to=[Fax:01992701604]

RE: Exchange

2002-11-25 Thread Craig Dudley
Don't use cfmail, try writing the mail file directly into the exchange queue folder, should be fine. Heres some sample code from a custom tag of mine. It should point you in the right direction. cfset variables.content = Content-type: text/plain Date: #dateformat(now(),ddd, dd mmm )#

Verity result calculations

2002-11-25 Thread Dowdell, Jason G
Hi all, I've implemented a verity collection based on a query. How are the relevancy scores calculated though? Even if I type in the exact phrase from the column I'm indexing it doesn't go above 82% accuracy? Has anyone ever seen a score above 90% before? If there is an algorythm out there

Re: What are your experiences with PDF forms/FDF/CFMX?

2002-11-25 Thread Jeff Small
on 11/25/02 7:33 AM, webguy at [EMAIL PROTECTED] wrote: Look at ActivePDF.com, Have to be careful with MX and COM, though. Also you can do XML - PDF with xml-fo fop.apache.org. also look at http://www.school-for-champions.com/coldfusion/cftopdf.htm http://www.cfcomet.com/pdf/ Yeah,

RE: Limiting functionality to individual PC's

2002-11-25 Thread Luce, Greg
Can you set session vars denoting if they're accessing from an approved PC? -Original Message- From: Andy Ousterhout [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 23, 2002 2:09 PM To: CF-Talk Subject: OT: Limiting functionality to individual PC's I am looking to lock down certain

Re: Java in CF (CFMX)

2002-11-25 Thread Dick Applebaum
On Monday, November 25, 2002, at 01:43 AM, Jochem van Dieten wrote: Quoting Dave Carabetta [EMAIL PROTECTED]: While I understand this isn't a feature that everybody would use, I would personally like to see MM focus on encapsulating some more Java features into easy-to-use black-box CF tags

Re: Listing/adding/deleting checkboxes generated from database - CONTINUED THREAD

2002-11-25 Thread FlashGuy
Hi, Currently I have the following fields in my database: Database name: test table: tblprofiles fields: strUser_ID (auto-generated) strUserName strGroup strSelect strSelectFlag strShow Contents of above fields for example purposes:

RE: CFMX JDBC ERROR: No ResultSet set was produced.

2002-11-25 Thread S . Isaac Dealey
Thanks, So what do I do with the issue id from the known issues page? Isaac, The reason you got no results when entering 45938 into the article ID field on the search form is because that is a bug number, not a technote number. I'll change the wording in the Known Issues technote so it's

Re: Listing/adding/deleting checkboxes generated from database - CONTINUED THREAD

2002-11-25 Thread FlashGuy
Hi everyone, Sorry, Please ignore this posting. On Mon, 25 Nov 2002 09:55:11 -0500, FlashGuy wrote: Hi, Currently I have the following fields in my database: Database name: test table: tblprofiles fields: strUser_ID (auto-generated) strUserName strGroup

Re: amending a record

2002-11-25 Thread Joe Eugene
Seamus This is probably your are looking for. Update TableName set FieldName=FieldName + ' ' + 'New Record Value' where TableRowID=23442 You can use char(13) to add values to next line.. as well Joe On Mon, 25 Nov 2002 20:46:47 +1100 Seamus Campbell [EMAIL PROTECTED] wrote: Hi I am

remove all linebreaks

2002-11-25 Thread jon hall
Kind of an odd request, but does anyone know if it's possible to use Studio's replace function to replace all line breaks from a document, and if so, how? -- jon mailto:[EMAIL PROTECTED] ~| Archives:

Re: Java in CF (CFMX)

2002-11-25 Thread Jochem van Dieten
Dick Applebaum wrote: On Monday, November 25, 2002, at 01:43 AM, Jochem van Dieten wrote: And especially from the point of view of security built-in tags are better. All those JSP tags and Java classes are nice, but on a shared server you need to disable them anyway because the same

RE: CFMX JDBC ERROR: No ResultSet set was produced.

2002-11-25 Thread Debbie Dickerson
Check the release notes for Updater 2 when it comes out to see if that issue is included in the fixes. It's basically just a tracking number. Deb -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 10:03 AM To: CF-Talk Subject: RE: CFMX

Laptop burns...

2002-11-25 Thread Jacob
http://story.news.yahoo.com/news?tmpl=storyu=/nm/20021125/od_uk_nm/oukoe_summary_13 Hot laptop burns penis LONDON (Reuters) - Laptops have always been a hot item but a 50-year-old scientist didn't realise just how much until he burned his penis. The previously healthy father of two remembered

RE: Verity result calculations

2002-11-25 Thread Dave Watts
I've implemented a verity collection based on a query. How are the relevancy scores calculated though? Even if I type in the exact phrase from the column I'm indexing it doesn't go above 82% accuracy? Has anyone ever seen a score above 90% before? If there is an algorythm out there

RE: CFMX JDBC ERROR: No ResultSet set was produced.

2002-11-25 Thread S . Isaac Dealey
ahh... okay... so there's no detail info I can get on the website for it? I was hoping maybe there would be some sort of detail that would describe what situations in which the error is produced. Check the release notes for Updater 2 when it comes out to see if that issue is included in the

RE: Laptop burns...

2002-11-25 Thread Dave Watts
Subject: Laptop burns... While this is tremendously amusing, and while I think that it's nice of you to warn us of this impending danger to us all, I think that this is probably off-topic for a programming list. Also, we shouldn't have this problem, because we use Cold Fusion. Dave Watts, CTO,

RE: Laptop burns...

2002-11-25 Thread Robertson-Ravo, Neil (RX)
sounds like the voice of a recent burns unit out patient. :-p -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: 25 November 2002 15:50 To: CF-Talk Subject: RE: Laptop burns... Subject: Laptop burns... While this is tremendously amusing, and while I think that

Re: What are your experiences with PDF forms/FDF/CFMX?

2002-11-25 Thread Jason Miller
You know - you may want to look at a product called PlanetPress by Objectif Lune. I don't want this to be a sales pitch - they happen to be one of my clients and are a very good solution to electronic forms and have ALOT of pdf features. Their whole software is about low file size, conditional

RE: remove all linebreaks

2002-11-25 Thread Moneymaker, Jon S CONT (WPNSTA Yorktown)
In studio goto searchextended replace..find what.hit the enter key in that box, leave replace with blank, and hit replace caution: make sure you have a copyonce done, it's not easily undone, and FYI, the resulting code is very hard to read. -Original Message- From: jon

SORRY - RE: Laptop burns...

2002-11-25 Thread Jacob
Sorry folks. I posted to wrong list. Meant for CF-Community. Select wrong address... :( ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription:

Re: Java in CF (CFMX)

2002-11-25 Thread Joe Eugene
Dick, Can we see your code? Cant you have a method that converts CF String null to Java String=null? tried to invoke it with cfobject. We could not make the interface work because we could not pass Nulls between CF and Java. Here is an example public class StringType{ private String

CFC Addressing

2002-11-25 Thread Jeff D. Chastain
I have just finished Hal Helm's CFC book for the second time and this stuff is looking pretty nice. (of course I started programming in OO, so I knew it would be useful). My question is with regards to addressing a CFC. All of Hal's examples were directly under the MX wwwroot directory. How do

Re: remove all linebreaks

2002-11-25 Thread jon hall
Doh...that was too easy, thanks. I've got a bunch of large formatted XML files that I need to programmatically create and I was gettting really sick of going through and deleting all the line breaks... -- jon mailto:[EMAIL PROTECTED] Monday, November 25, 2002, 11:14:57 AM, you wrote: MJSCWY

CFAPPLICATION causes NULL Error for new users

2002-11-25 Thread Dustin Snell [Unisyn Software, LLC]
Hello all, I upgraded from CF 4.5 to MX the other day and among other problems I ran into a strange issue where the presence of CFAPPLICATION in my application.cfm file would cause a new visitor (that is, one that had not been to the site to receive a cookie) would receive an CF generated error

RE: Anyone have experience in writing Postscript files from CF?

2002-11-25 Thread Rob Rohan
As a shameless plug: http://treebeard.sourceforge.net/cfx_treebeard.php Rob Certified Organic When you put things in quotes, people think someone actually said it. http://treebeard.sourceforge.net http://ruinworld.sourceforge.net Scientia Est Potentia -Original Message- From: Samuel

Re: CFC Addressing

2002-11-25 Thread Jeffry Houser
You can access CFCs just like you would access custom tags. They can be put in the customtags directory of the ColdFusion installation. Or they can be in a directory that you can access via a ColdFusion mapping. Or they can be in the same directory as the page that invokes it. ( Or a

Message Board

2002-11-25 Thread Double Down, Inc.
Does anyone know of a good free message board program? I have checked out the ones on the developers exchange and was wondering if anyone had any others that they would recommend. TIA ~| Archives:

RE: What are your experiences with PDF forms/FDF/CFMX?

2002-11-25 Thread Rob Rohan
Shameless plug again http://treebeard.sourceforge.net/cfx_treebeard.php Rob Certified Organic When you put things in quotes, people think someone actually said it. http://treebeard.sourceforge.net http://ruinworld.sourceforge.net Scientia Est Potentia -Original Message- From: webguy

session variables nested application.cfm files

2002-11-25 Thread Dwayne Cole
I'm working on a site that has two application.cfm files, one in the root directory and the other in a subdirectory. Each cfapplication tag has different name attributes. I would like to use session variables to restrict access to the subdirectory. If I create a session varible within the

Re: Message Board

2002-11-25 Thread Michael Greenberg
Try Simpleboard - http://www.simplemessageboard.com Or you might want to try CFBB as well http://www.adersoftware.com/index.cfm?page=cfbb I've heard good things about both Thanks, Michael - Original Message - From: Double Down, Inc. [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent:

Re: session variables nested application.cfm files

2002-11-25 Thread S . Isaac Dealey
Afaik session variables are application specific, so if your subdirectroy cfapplication tag has a different name attribute, the subdirectory will have separate sessions. s. isaac dealey954-776-0046 new epoch http://www.turnkey.to lead architect, tapestry cms

Application variables

2002-11-25 Thread Cutter (CF_Talk)
I've been on http://www.benorama.com looking at a CF design pattern. In this tutorial it talks about using your Application.cfm to call _init.cfm, which parses through an xml file to create your application variables. I've done this (very closely following the sample app). I've created a page

Re: Application variables

2002-11-25 Thread Bryan Stevenson
You have to restart CF to reset APPLICATION vars (timing out the app might work too). Personally I like to use REQUEST scope over APPLICATION scope ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED]

Re: Application variables

2002-11-25 Thread S . Isaac Dealey
You can overwrite them with cfset ... though I typically use cfset request.myapp.myvar = something instead of application variables for this sort of thing also. The app could be using cfparam tags instead of cfset tags in which case it would chew through the xml file on each request unecessarily

RE: Application variables

2002-11-25 Thread Andy Ousterhout
What's are the Pro's and Con's of using Request Variables over Application Var? -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 12:16 PM To: CF-Talk Subject: Re: Application variables You can overwrite them with cfset ... though I

Re: Application variables

2002-11-25 Thread Bryan Stevenson
Well a big plus is that you don't need to lock REQUEST scoped vars. Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner

Re: CFAPPLICATION causes NULL Error for new users

2002-11-25 Thread Dustin Snell [Unisyn Software, LLC]
Answering my own post. I changed the variable handling mechanism from Registry to Cookie and it seemed to fix the problem. I still don't know why though. Dustin Snell Unisyn Software, LLC http://www.unisyn.com - Original Message - From: Dustin Snell [Unisyn Software, LLC] [EMAIL

RE: Application variables

2002-11-25 Thread Raymond Camden
Depending on how you use them, in cfmx you don't need to lock application vars as well. === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] WWW : www.camdenfamily.com/morpheus Yahoo IM :

TUCOWS / OpenSRS

2002-11-25 Thread Sean Daniels
If anyone out there has had success interfacing with the OpenSRS domain name reseller system, and has any tips or code samples they can provide, I would be much obliged. TIA ~| Archives:

Re: CFAPPLICATION causes NULL Error for new users

2002-11-25 Thread jon hall
I've seen this problem in action, but never on one of my installs, but this bug was the topic of a thread about a month ago. -- jon mailto:[EMAIL PROTECTED] Monday, November 25, 2002, 1:45:46 PM, you wrote: DSUSL Answering my own post. I changed the variable handling mechanism from DSUSL

Re: Java in CF (CFMX)

2002-11-25 Thread Dick Applebaum
Joe Below is the Java source, originally caalled DBViewer. This is working code that I modified to use the CFMX cfsnippets db (The PointBase database shipped with the Linux distro). I want to accomplish the same thing within CFMX, and generalize it a bit so it will work with any JDBC driver

RE: Application variables

2002-11-25 Thread Andy Ousterhout
Do you have to set them each time, for each page? -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 12:40 PM To: CF-Talk Subject: Re: Application variables Well a big plus is that you don't need to lock REQUEST scoped vars. Bryan

Re: CFAPPLICATION causes NULL Error for new users

2002-11-25 Thread Dustin Snell [Unisyn Software, LLC]
No - actually it seems to have broken other things. This upgrade from 4.5 to MX is turning into a nightmare. Can anyone tell me why CFApplication with session and client management turned on causes a NULL error message for all new users? Dustin Snell Unisyn Software, LLC http://www.unisyn.com

Re: Application variables

2002-11-25 Thread Jeffry Houser
Request variables and Application variables are two completely different things, so i don't know if they deserve direct comparison. It depends what you want to use them for. Request variables exist during a single page execution. They are not persistent across page requests. You do not

RE: Application variables

2002-11-25 Thread Andy Ousterhout
So, it seems to me that in a purist sense, common values across all Users belong in application variables. -Original Message- From: Jeffry Houser [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 1:06 PM To: CF-Talk Subject: Re: Application variables Request variables and

Re: Application variables

2002-11-25 Thread Zac Spitzer
Bryan Stevenson wrote: You have to restart CF to reset APPLICATION vars (timing out the app might work too). application=strucnew(); z ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription:

Re: Application variables

2002-11-25 Thread S . Isaac Dealey
And this doesn't suffer from the confusion of race conditions either since you can't have a race condition caused by a request var. Well a big plus is that you don't need to lock REQUEST scoped vars. Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group

RE: Application variables

2002-11-25 Thread S . Isaac Dealey
Yea, you'd just use something like this in your application.cfm template: cfset request.myapp.dsn = mydsn cfset request.myapp.mailserver = mail.mydomain.com cfset request.myapp.url_login = https://www.mydomain.com/securelogin/index.cfm; etc... Do you have to set them each time, for each page?

component caching

2002-11-25 Thread Brook Davies
How can you force a component to stop reading from the cache? I have a component that is not reflecting the changes made to it Brook ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription:

RE: Application variables

2002-11-25 Thread Jeffry Houser
I would agree. At a conceptual level. If a variable is being used a lot, however, it may make not make sense to store it in a local (or request) variable to avoid the need for locks. Of course, that was in CF5. I don't know of best practices for CFMX yet. At 01:08 PM 11/25/2002 -0600,

RE: component caching

2002-11-25 Thread Tony Weeg
must stop/restart cfmx service from services panel. don't know why, just gotta :) ..tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: Brook Davies [mailto:[EMAIL PROTECTED]]

RE: component caching

2002-11-25 Thread Raymond Camden
I assume you mean a web service authored in a CFC. There is no way to turn it off - but you can refresh the cache in the CFMX admin. === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] WWW :

CFQUERYPARAM in cfincludes

2002-11-25 Thread Funky Music
Hello CF-people! I have got a question - I am updating a coldfusion application to certain standards - one thing is the insert of cfqueryparams in all query operations. Now I have the problem that the query is split into several files, because many queries use the same SQL parts. If I want

Re: Application variables

2002-11-25 Thread S . Isaac Dealey
Bryan Stevenson wrote: You have to restart CF to reset APPLICATION vars (timing out the app might work too). application=strucnew(); I'm not necessarily convinced that would clear the application scope rather than creating a local variable called application. structclear(application);

Studio MX install issues - help on upgrade

2002-11-25 Thread James Mathieson
Heya, folks, OK, so wanting to support my favorite software company, I purchased Studio MX (I'll admit, I use CF Studio for everything, but I figured I might as well get the whole bundle and finally sit down and learn how to create Flash goodness). According to the upgrade chart, since I have CF

RE: Studio MX install issues - help on upgrade

2002-11-25 Thread Tony Weeg
how about the serial for the new MX stuff? ..tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: James Mathieson [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 3:35 PM

RE: Studio MX install issues - help on upgrade

2002-11-25 Thread David Notik
Hi James: I remember having a similar issue when upgrading from 4.5 to MX. I recall having to enter the serial number a few times before it finally caught it. Try entering it all upper-case (both the old and new) and try simply retyping it. Sorry I don't know the specific thing I did, but I

Re: component caching

2002-11-25 Thread Samuel R. Neff
If you're talking about the WSDL cache, then you can delete them from CF Admin manually as Ray suggested or you can do it programmatically through the XML RPC service. See here: http://webforums.macromedia.com/coldfusion/messageview.cfm?catid=7threadid=456032 If you're talking about the

RE: Application variables

2002-11-25 Thread S . Isaac Dealey
Storing variables in the application scope allows you to temporarily change application-wide settings, which can be useful at times, for instance, if you had an application which required scheduled maintenance to take several minutes ( or hours or however long ), it's possible you might want to

Re: Re: CFC Addressing

2002-11-25 Thread mike . wokasch
That's not totally true. You can only sort of address CFCs relatively. You can't for example go up a directory, i.e. ../CFCs/ Which frankly, is rather annoying. ** You can access CFCs just like you would access custom tags. They can be put in the

Re: Studio MX install issues - help on upgrade

2002-11-25 Thread Matt Brown
I saw someone telling you to try again. If that does not work, maybe restart and try to install. If that doesn't work, you can contact me and I can try to help out. Sorry you are having an issue. _ Matt Brown

CFMX array sort

2002-11-25 Thread Rob Rohan
Anyone know what algorithm arraySort() uses? Rob Certified Organic When you put things in quotes, people think someone actually said it. http://treebeard.sourceforge.net http://ruinworld.sourceforge.net Scientia Est Potentia ~|

-isDefined() finesse

2002-11-25 Thread Brian Scandale
I am trying to see if a particular dynamic variable is defined... but having trouble building the ifDefined argument. Form.SerNum1 Form.SerNum2 Form.SerNum3 ...etc. are built dynamically and then passed to an action form below like below. -cfloop index=i from=1 to=#theSerNums.RecordCount#

Re: Application variables

2002-11-25 Thread Bryan Stevenson
Nope. I will generally test for the existence of one of my REQUEST vars in Application.cfm. If it doesn't exist I assume none of them are set and I use CFPARAM to set them all. Once set they won't be reset on every page. If I ever need to reset them, I just comment out the CFIF that checks for

Re: Application variables

2002-11-25 Thread Bryan Stevenson
wasn't my idea ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com

RE: -isDefined() finesse

2002-11-25 Thread Raymond Camden
So what is wrong? Your code looks fine to me. === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] WWW : www.camdenfamily.com/morpheus Yahoo IM : morpheus My ally is the Force, and a powerful

Re: -isDefined() finesse

2002-11-25 Thread Brian Scandale
Sorry, just worked it out... -cfif isDefined(Form.SerNum#i#) At 01:11 PM 11/25/02, you wrote: I am trying to see if a particular dynamic variable is defined... but having trouble building the ifDefined argument. Form.SerNum1 Form.SerNum2 Form.SerNum3 ...etc. are built dynamically and then

RE: -isDefined() finesse

2002-11-25 Thread Raymond Camden
Well your original code should have worked as well. Also note you could do: isDefined(form.sernum i) as well as structKeyExists(form,sernum#i#) === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED]

Re: Application variables

2002-11-25 Thread Jeffry Houser
I believe you are mixing up request and application variables. If the application.cfm is running, then it is safe to assume that this is a new page request, and request variables have not been defined yet (unless they were defined earlier in the Application.cfm ) Additionally, if you

Re: CFMX array sort

2002-11-25 Thread Jeffry Houser
Presumably some form of quicksort, however I do not know for a fact. At 12:58 PM 11/25/2002 -0800, you wrote: Anyone know what algorithm arraySort() uses? Rob Certified Organic When you put things in quotes, people think someone actually said it. http://treebeard.sourceforge.net

RE: -isDefined() finesse

2002-11-25 Thread Mark Johnson
Another Option: -cfloop index=i from=1 to=#theSerNums.RecordCount# -cfif structKeyExists(Form,'SerNum' i) DoSomething -cfelse DoSomethingElse -/cfif -/cfloop however what you have looks fine to me. Mark -Original Message- From:

STATUS_OBJECT_NAME_NOT_FOUND - Does MX have a hard time creating objects?

2002-11-25 Thread David Adams
I am using CFEXECUTE to initiate an outside process from a small binary file. In the CFEXECUTE tag I set the time out to be something like 60 seconds and CFMX will try several times to initiate this process and will eventually give up and render a timeout error in the client browser. I can run

RE: CFMX array sort

2002-11-25 Thread Rob Rohan
Ok, here is a more specific question. I am writting an arrayFind function that (mostly) uses the binary search algorithm - which needs to have a sorted array. I have run several test on serial search vs. my search and see little difference. Is the arraySort that expensive? Perhaps the array is too

RE: STATUS_OBJECT_NAME_NOT_FOUND - Does MX have a hard time creating objects?

2002-11-25 Thread Tony Weeg
nope no problems...make sure you have the path right...i ran into somewhat of the same issues when I wasn't correctly path'ing the calling cfexecute tag c:\whatev~1\tony.exe needed to have the ~ for long dir names. make sure of this. hthx ..tony Tony Weeg Senior Web Developer Information

combo box

2002-11-25 Thread Jones, Becky
is there any way to do a reverse combo box? so say i have two fields, one is applications the other is companies. say i choose the application: outlook 2000, then the company would automatically change to microsoft. but lets say i knew the company was microsoft. how could i get the top box to

RE: CFMX array sort (arrayFind)

2002-11-25 Thread Rob Rohan
Here is the finished one: CFSCRIPT /** * int arrayFind(Array, item, [textnocase|numeric]); * * Searches an array for a specific item * and returns the positon of that item * or 0 if that item is not found. * text searches are case

Re: Java in CF (CFMX)

2002-11-25 Thread Joe Eugene
Dick, Here is an Example that works with CFMX. The Java file should be compiled under WEB-INF/classes/ and you can invoke it with CFObject. Note i am using Macromedia drivers to connect to Sql-Server. This is rough sketch..if you want.. i can improvise this later..to be generic. Dont forget to

RE: Java in CF (CFMX)

2002-11-25 Thread Rob Rohan
See though the whole point is The Java file should be compiled under WEB-INF/classes/ and you can invoke it with CFObject. wouldn't need to happen. Rob Certified Organic When you put things in quotes, people think someone actually said it. http://treebeard.sourceforge.net

RE: Java in CF (CFMX)

2002-11-25 Thread Joe Eugene
wouldn't need to happen. Where do u want it happen? Joe On Mon, 25 Nov 2002 14:37:29 -0800 Rob Rohan [EMAIL PROTECTED] wrote: See though the whole point is The Java file should be compiled under WEB-INF/classes/ and you can invoke it with CFObject. Rob Certified Organic When

Re: combo box

2002-11-25 Thread jon hall
Sure, do you already have the combo box working in one direction? If so, just apply the same logic to the second dropdown, the only difference would be that you would be searching for a software title, instead of searching for the company. -- jon mailto:[EMAIL PROTECTED] Monday, November 25,

RE: Java in CF (CFMX)

2002-11-25 Thread Rob Rohan
Thought this thread was still about inline java. Sorry - maybe it was another thread. nevermind. Rob -Original Message- From: Joe Eugene [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 2:40 PM To: CF-Talk Subject: RE: Java in CF (CFMX) wouldn't need to happen. Where do u

finished arrayFind binary search thing RE: CFMX array sort

2002-11-25 Thread Rob Rohan
CFSCRIPT /** * int arrayFind(Array, item, [textnocase|numeric]); * * Searches an array for a specific item * and returns the positon of that item * or 0 if that item is not found. * uses the binary search algorithm */

RE: CFQUERYPARAM in cfincludes

2002-11-25 Thread Jim Campbell
ColdFusion is likely building the contents of the common_where_clause.cfm tag before it parses the whole template, so it sounds like it's trying to evaluate those cfqueryparam tags before it realizes they're supposed to be contained in a cfquery statement. If you store your common SQL statement

Re: Java in CF (CFMX)

2002-11-25 Thread Jochem van Dieten
Joe Eugene wrote: wouldn't need to happen. Where do u want it happen? At some MM production facility. As I said, cfobject is a no-go on a shared server. Jochem ~| Archives:

RE: Java in CF (CFMX)

2002-11-25 Thread Jim Campbell
True, but have you ever used the cfmodule tag, cfx_ or cf_ anything, cfinvoke? Why bother using them when you could just write all that code inline with your current template source? By encapsulating that function seperately, you not only make the template code more readable, but leave it

Writing a file with CFFILE

2002-11-25 Thread Steve Reich
I have a code editor I've written that uses cffile to grab a cf page and put it in a textarea. Then I can edit my cf code and save it by writing back to the file using cffile. Everything seems to work fine except with the non-braking spaces character (nbsp;). It replaces all nbsp; with a Â

Re: Java in CF (CFMX)

2002-11-25 Thread Joe Eugene
You loose alot of flexibility.. on a shared server.. How many ppl are running enterprise CFMX on shared servers? Have ever had to call a function/method in CF around 1000 times on a page? Do some math with it...CFObject(Java) blows CF..try it. Joe On Mon, 25 Nov 2002 23:58:02 +0100 Jochem van

Re: Java in CF (CFMX)

2002-11-25 Thread Dick Applebaum
Rob You are right! The thread is/was about inline Java (someone, maybe you started it) I posted that I would like to see inline Java for several reasons: to gently learn Java to get at some capabilities not available in CF etc. Several others posted. Then,

Re: Java in CF (CFMX)

2002-11-25 Thread Sean A Corfield
On Monday, Nov 25, 2002, at 14:32 US/Pacific, Joe Eugene wrote: Here is an Example that works with CFMX. The Java file should be compiled under WEB-INF/classes/ ... if(c.equalsIgnoreCase(null)) cat=null; else cat=c; if(s.equalsIgnoreCase(null)) schPattern=null; else schPattern=s;

RE: Java in CF (CFMX)

2002-11-25 Thread Rob Rohan
Bet you could add 'null' if you could do inline java :) just kidding Rob -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 3:24 PM To: CF-Talk Subject: Re: Java in CF (CFMX) On Monday, Nov 25, 2002, at 14:32 US/Pacific, Joe Eugene

Re: Java in CF (CFMX)

2002-11-25 Thread Jochem van Dieten
Joe Eugene wrote: You loose alot of flexibility.. on a shared server.. How many ppl are running enterprise CFMX on shared servers? You mean people run shared servers *without* sandbox security? /me rolles eyes Have ever had to call a function/method in CF around 1000 times on a page? Do

  1   2   >