Re: !! cfmail wierdness on developer vs enterprise versions

2006-06-01 Thread Tom Chiverton
On Thursday 01 June 2006 00:12, Duncan wrote: So this then goes back to my question - if the SMTP server throws an error, how do I get that error fed back to cf? I thought spool enable would be the answer. I believe the normal answer is to have a scheduled task to look at the Undelvr folder

Re: how (the heck) to call functions on a jsp page?

2006-06-01 Thread Tom Chiverton
On Wednesday 31 May 2006 18:28, stylo stylo wrote: Why not just use CreateObject() to create the Java class you need, and then use it like a CFC. So how would I do all that, including the jsp page includes and calling the functions on the jsp page? Ignore including a JSP page. In a CFML

free sql tool

2006-06-01 Thread dave
http://www.red-gate.com/products/SQL_Prompt/index.htm get it while its free ~Dave the disruptor~ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241899 Archives:

Find in an array...

2006-06-01 Thread Andy Matthews
What the hell? I've run into this before but I just can't believe that MM didn't provide some sort of ArrayFind function!!! I've got this code: cfset villages = ArrayNew(1) cfset villages[1] = -25|25 cfset villages[2] = 4|14 cfset villages[3] = 12|20 Which works just fine. But I'm looping over a

RE: Simpler Cleaner Way

2006-06-01 Thread Ben Nadel
Does this currently work for you? Are you calling several different component paths? Or just making different paths to the same directory? ... Ben Nadel Web Developer Nylon Technology 350 7th Avenue Floor 10 New York, NY 10001 212.691.1134 212.691.3477 fax

RE: Find in an array...

2006-06-01 Thread Ben Nadel
What about something like this: cffunction name=FindSimpleValue access=public returntype=numeric output=no hint=This returns the index of the first occurence of the given string or number within a one dimensional array. !--- Define arguments. --- cfargument name=Array type=array

RE: Find in an array...

2006-06-01 Thread Artur Kordowski
How about to use ArrayToList() and ListFind() Function? cfset cords = ArrayToList(villages) cfset result = ListFind(cords, 4|14) Artur -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 8:24 PM To: CF-Talk Subject: Find in an array... What

reseting the CF admin password

2006-06-01 Thread Chad Gray
Is there anyway to reset the CF administrator password? I have the development version on my laptop and I forgot the password because I don’t use it that often. Thanks! ~| Message:

RE: reseting the CF admin password

2006-06-01 Thread Bruce Sorge
Assuming you are using CF MX: 1. Stop the CFMX service. 2. Open cfmxroot/lib/password.properties (CFMX Standard) or jrun.home/servers/instance/cfusion-ear/cfusion-war/WEB-INF/lib/password.properties (CFMX/J2EE) 3. Change the password to something temporary. 4. Change the encrypt line to

Re: reseting the CF admin password

2006-06-01 Thread Nick Tong - TalkWebSolutions.co.uk
here it is on the coldfusion cookbook website: http://coldfusioncookbook.com/entry/68/How-do-I-reset-the-ColdFusion-Administrator-password? On 01/06/06, Chad Gray [EMAIL PROTECTED] wrote: Is there anyway to reset the CF administrator password? I have the development version on my laptop and

RE: Find in an array...

2006-06-01 Thread Andy Matthews
Artur... I'm looping over what could potentially be 2500 records. I'd rather avoid converting back and forth. I ended up finding a function on cflib that did the trick. I'm just irritated that there's no ArrayFind function built into CF to begin with. That seems like a complete no-brainer.

Re: Find in an array...

2006-06-01 Thread Brian Kotek
I'd say the reasons they didn't include it are: 1) writing code to loop through an array to look for a simple value is only about 4 lines of code and 2) more importantly, a great deal of the time an array doesn't just contain simple values, but rather contains other arrays, CFC instances,

RE: Find in an array...

2006-06-01 Thread Mike Klostermeyer
You are correct that they should have an ArrayFind function, but knowing this limitation you should code to the strength of the language. In CF, that means using a lot of lists and queries vs. something like C++ in which I would use arrays. Mike -Original Message- From: Andy Matthews

RE: Find in an array...

2006-06-01 Thread Mike Klostermeyer
and 2) more importantly, a great deal of the time an array doesn't just contain simple values, but rather contains other arrays, CFC instances, queries, etc. In a large number of cases a simple arrayFind() wouldn't work anyway, and a custom function would have to be written anyway. The same

Problems with manipulating a query

2006-06-01 Thread Frode_Str�mg�rd
I'm trying to manipulate the values in a query, by selecting a money value and replacing it with a formated value. QuerySetCell(qryTest,MONEYVALUE,LSCurrencyFormat(MONEYVALUE,'none'),currentrow); Original value: 123.45 Replace value: 123,45 But when I insert the new formated value, sometimes

Re: Find in an array...

2006-06-01 Thread Ryan Guill
StructFind() searches for a key in a structure, not a value. The arrayFind() they are talking about is looking for a value. Its not the same. there is a StructFindValue() but it will only search for simple variables, not complex ones. On 6/1/06, Mike Klostermeyer [EMAIL PROTECTED] wrote: and

RE: Find in an array...

2006-06-01 Thread Mike Klostermeyer
You're right, thanks for the correction. StructFindValue() was what I was thinking of. ArrayFindValue() would work for me! Mike -Original Message- From: Ryan Guill [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 8:59 AM To: CF-Talk Subject: Re: Find in an array...

Re: Find in an array...

2006-06-01 Thread Brian Kotek
structFind() returns the value for a specified key, it doesn't search for a specified value. There is a structFindValue() function which I believe works recursively but I'm not sure. In 11 years of CF development I've never used this function. On 6/1/06, Mike Klostermeyer [EMAIL PROTECTED] wrote:

Re: Problems with manipulating a query

2006-06-01 Thread Martin Thorpe
I don't know if this will work for sure I have not tested it. Recently when I had some float problems using the val() function sorted the calcuations out. Maybe this LSCurrencyFormat(val(MONEYVALUE),'none') OR val(LSCurrencyFormat(MONEYVALUE,'none')) will do the trick. Apparently it is all

RE: Find in an array...

2006-06-01 Thread Munson, Jacob
I'm looping over what could potentially be 2500 records. I'd rather avoid converting back and forth. I ended up finding a function on cflib that did the trick. I'm glad you found a solution, and I agree that there should be an ArrayFind function (I was just wishing for that yesterday).

RE: Find in an array...

2006-06-01 Thread Andy Matthews
Me too. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Mike Klostermeyer [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 9:03 AM

RE: free sql tool

2006-06-01 Thread Munson, Jacob
Holy cow, that tool is awesome! Thanks for the heads up. -Original Message- From: dave [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 2:32 AM To: CF-Talk Subject: free sql tool http://www.red-gate.com/products/SQL_Prompt/index.htm get it while its free This

RE: free sql tool

2006-06-01 Thread Steve Kahn
I'll second that, were big fans of red gate too. Thanks Dave -Original Message- From: Munson, Jacob [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 10:54 AM To: CF-Talk Subject: RE: free sql tool Holy cow, that tool is awesome! Thanks for the heads up. -Original

RE: Find in an array...

2006-06-01 Thread Andy Matthews
It was written by Ray... Here's the code: function QueryToStructOfStructures(theQuery, primaryKey){ var theStructure = StructNew(); // remove primary key from cols listing var cols = ListToArray(ListDeleteAt(theQuery.columnlist,

RE: free sql tool

2006-06-01 Thread Mike Klostermeyer
Third. Their tools are sweet. -Original Message- From: Steve Kahn [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 9:56 AM To: CF-Talk Subject: RE: free sql tool I'll second that, were big fans of red gate too. Thanks Dave -Original Message- From: Munson, Jacob

RE: how (the heck) to call functions on a jsp page?

2006-06-01 Thread Steve Brownlee
You can't directly call functions in a JSP page. However, JSP and CF can share scopes. You'd have to rewrite your JSP page to put variables in the REQUEST scope. Here's an example: JSP PAGE % ThreadGroup threadGroup =

RE: Find in an array...

2006-06-01 Thread Munson, Jacob
There is a list conversion in there, so it could be just as expensive as listFind(arraytolist()). But it's all academic at this point anyway, whatever works for you works and that's all that matters. :) -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent:

Alternating Rows issue with M$ IE 6.X

2006-06-01 Thread Bruce Sorge
Hello all, I am using the following code: cfoutput query=qClients maxrows=5 table cfset Class = IIF(qClients.CurrentRow MOD 2 EQ 0, 'td1', 'td4') tr class=#Class# td#tempClientID#/td td#DateFormat(tempDateModified,mm/dd/yy)#/td

Re: Alternating Rows issue with M$ IE 6.X

2006-06-01 Thread Tom Chiverton
On Thursday 01 June 2006 16:48, Bruce Sorge wrote: This is working great in Firefox, but not Nutscrape of M$ IE. Do these browsers not understand the class attribute in the tablerow? Set it on the td as well. -- Tom Chiverton This email

Re: Alternating Rows issue with M$ IE 6.X

2006-06-01 Thread Paul Ihrig
what does the style look like? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241926 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4

RE: Alternating Rows issue with M$ IE 6.X

2006-06-01 Thread Bruce Sorge
That did it. Thanks. Tom. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241927 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4

RE: Alternating Rows issue with M$ IE 6.X

2006-06-01 Thread Adkins, Randy
I will go on a limb and say it should be td1 or td4 and not 'td1' or 'td4' Remove the single quote. May be wrong but the output would be: TR CLASS='td1' if you use your example. -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 11:55 AM

RE: Alternating Rows issue with M$ IE 6.X

2006-06-01 Thread Andy Matthews
You can style a TR just fine. Check your source. Randy's suggestion that there's extra single quotes in there sounds like it might solve your issue. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737

Document Upload/Retrieval Security

2006-06-01 Thread Peter Legg
Hi, I've got a fed govt project where I need to allow for sensitive documents (pdf, doc, wpd, gif, tiff, xls, txt - anything really) to be uploaded via a secure (uname/pwd) CF app (6.1 currently) using SSL. I have a number of questions: 1) Is SSL (128-bit) secure enough for the

Document Upload/Retrieval Security

2006-06-01 Thread Peter Legg
Hi, I've got a fed govt project where I need to allow for sensitive documents (pdf, doc, wpd, gif, tiff, xls, txt - anything really) to be uploaded via a secure (uname/pwd) CF app (6.1 currently) using SSL. I have a number of questions: 1) Is SSL (128-bit) secure enough for the

SOAP 302 Error

2006-06-01 Thread Phillip Duba
While trying to access a webservice from a partner, I receive the following SOAP Exception: AxisFault faultCode: {http://xml.apache.org/axis/}HTTP faultSubcode: faultString: (302)Found faultActor: faultNode: faultDetail: {}string: return code: 302 I can confirm that the

RE: Can I use CF 6.1 and CF 7 on the same machine?

2006-06-01 Thread Dan G. Switzer, II
Nathan, Nice blog post mate! If virtualisation is not an option (still to determine this) then you may have found the solution for me. How has your experience been running this kind of set up? Well, it's a development environment only, but I have yet to experience any problems. All I need to

Re: Document Upload/Retrieval Security

2006-06-01 Thread Terry L Schmitt
Regarding items 1 and 2. Since it's Federal, there may be security requirements already established for storage and transmittal of classified data. I'd research that some if you can. Terry

RE: free sql tool

2006-06-01 Thread dave
wow, was actually thanked!! It's a landmark day haha Actually thank communitymx.com for that one ~Dave the disruptor~ From: Mike Klostermeyer [EMAIL PROTECTED] Sent: Thursday, June 01, 2006 11:07 AM To: CF-Talk cf-talk@houseoffusion.com Subject: RE:

Re: Document Upload/Retrieval Security

2006-06-01 Thread Peter Legg
Terry, thanks for the reply. The documents aren't really classified. The project involves job discrimination complaints and notes/docs associated with the investigations. So some of the docs might have sensitive personal info (ssn, name, address, etc.). I know how to provide for uploading

RE: Document Upload/Retrieval Security

2006-06-01 Thread Peterson, Chris
Peter, Your question 4 answers your question 2, if they want to search the text you would not be able to store the data as a image, you would have to use some form of text based storage. You would need to setup something to read the text from every file type you will allow to be uploaded, and

mySQLxCase statement: where value in range

2006-06-01 Thread Andy Matthews
I've got a table with around 4 records. There's a column called v_pop with a range of 2 - 1000. I'd like to color code some HTML but use the query to do that work. So check out the code below. It runs just fine, with no errors, BUT, it only returns white and pink as the class, even though I

Re: mySQLxCase statement: where value in range

2006-06-01 Thread Josh Nathanson
In the orange, red, and brick cases, you have 300 299, 400 399, and 500499, which leaves no possibility for values. You need to bump up each of those less than values by 100. I'm sure it was just a typo on your part. -- Josh - Original Message - From: Andy Matthews [EMAIL

RE: Can I use CF 6.1 and CF 7 on the same machine?

2006-06-01 Thread Munson, Jacob
Well, it's a development environment only, but I have yet to experience any problems. All I need to do is change my IP address to test code under both versions of CF. I'm jumping into this thread late, but if you use Apache for your dev web server you can map both versions of CF to things

Re: mySQLxCase statement: where value in range

2006-06-01 Thread Ken Ferguson
Also, 49 = white and 50 gets you pink, but 50 will get you nothing at all and the same goes for 100, 200... --Ferg Josh Nathanson wrote: In the orange, red, and brick cases, you have 300 299, 400 399, and 500499, which leaves no possibility for values. You need to bump up each of those

RE: mySQLxCase statement: where value in range

2006-06-01 Thread Andy Matthews
Yep... That was ONE of the problems. The other was that I needed an AND v_pop before the final value. Here's the working result: CASE WHEN v_pop = 50 THEN 'white' WHEN v_pop = 50 AND v_pop = 99 THEN 'pink' WHEN v_pop = 100 AND v_pop = 199 THEN 'salmon' WHEN v_pop

Re: mySQLxCase statement: where value in range

2006-06-01 Thread Ken Ferguson
you've still got a problem with one of your round values. 50 satisfies 2 conditions. --Ferg Andy Matthews wrote: Yep... That was ONE of the problems. The other was that I needed an AND v_pop before the final value. Here's the working result: CASE WHEN v_pop = 50 THEN 'white'

Adding Verity

2006-06-01 Thread Ian Skinner
If one would want to install the Verity search functionality to a CF server that did not have it added during the initial installation, how would one do that? Can it be done without completely uninstalling and reinstalling ColdFusion server? -- Ian Skinner Web Programmer

Re: Adding Verity

2006-06-01 Thread Raymond Camden
I'm pretty sure thisis possible. You tried the cfusionmx7\verity\verity-install.bat file? On 6/1/06, Ian Skinner [EMAIL PROTECTED] wrote: If one would want to install the Verity search functionality to a CF server that did not have it added during the initial installation, how would one do

RE: Adding Verity

2006-06-01 Thread Dave Watts
If one would want to install the Verity search functionality to a CF server that did not have it added during the initial installation, how would one do that? The easiest way would be to download the separate Verity installer from the Adobe site. Can it be done without completely

RE: Adding Verity

2006-06-01 Thread Ian Skinner
quote src=CF Documentation - Configuring and Administering ColdFusion MX - Introduction Verity and Verity Tools - About the Verity utilities ColdFusion MX OEM restrictions ColdFusion MX includes a restricted version of the Verity Server, with restrictions in the following areas: The Verity

RE: Adding Verity

2006-06-01 Thread Ian Skinner
I'm pretty sure this is possible. You tried the cfusionmx7\verity\verity-install.bat file? Nope, I had yet to find any hint in the documentation that this file existed. I'll go search for it now. Now where might that path be in my multi-home version since I don't think I have a cfusionmx7

RE: Adding Verity

2006-06-01 Thread Ian Skinner
The easiest way would be to download the separate Verity installer from the Adobe site. Is this different then Ray's suggestion? -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code.

RE: mySQLxCase statement: where value in range

2006-06-01 Thread Andy Matthews
Ah yes... That needs to be 49 then. Thanks Ken. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Ken Ferguson [mailto:[EMAIL PROTECTED]

RE: mySQLxCase statement: where value in range

2006-06-01 Thread Ian Skinner
Ah yes... That needs to be 49 then. Thanks Ken. Well actually it needs to be = 49 OR 50 otherwise the value 49 would never match a condition. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | |

Re: Document Upload/Retrieval Security

2006-06-01 Thread Peter Legg
Chris, thanks. I've embedded some comments within yours below. Any feedback is appreciated. Peter Peter, Your question 4 answers your question 2, if they want to search the text you would not be able to store the data as a image, you would have to use some form of text based storage. You

RE: Document Upload/Retrieval Security

2006-06-01 Thread Ian Skinner
Maybe I just don't understand the difference between the security provided by SSL and the additional security that encrypting the files and then storing them in the db will provide. SSL will only provide encryption of the data while it is in transit from your server to the client server.

Problems with LEN

2006-06-01 Thread Bruce Sorge
OK, I have this query: cfquery datasource=#Session.DSN# name=qSearchResults SELECT ContactID, FIrstName, LastName, DateModified FROM Contact WHERE 0=0 AND cfif LEN(Form.FirstName) GT 0 FirstName cfif

RE: Problems with LEN

2006-06-01 Thread Ben Nadel
Bruce, Don't use quotes in your Len call : LEN( Form.FirstName ) NOT LEN(Form.FirstName) If you use quotes, that will always evaluate to true since the string Form.firstname has a length. ... Ben Nadel www.bennadel.com -Original Message- From: Bruce Sorge

RE: Problems with LEN

2006-06-01 Thread Bruce Sorge
That worked. Thanks. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241956 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe:

Re: Problems with LEN

2006-06-01 Thread Alan Rother
cfif LEN(Form.FirstName) GT 0 You also do not need to do the GT 0, ColdFusion boolean operators use all non 0 values as TRUE. And you should also TRIM your values as someone may have entered a space into the field cfif LEN(TRIM(Form.FirstName)) =] -- Alan Rother Macromedia Certified Advanced

RE: Problems with LEN

2006-06-01 Thread Andy Matthews
Len doesn't evaluate true or false. It returns a number relating to the number of characters in the string. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original

RE: Problems with LEN

2006-06-01 Thread Dave Francis
Have you tried LEN(TRIM(Form.LastName)) ? -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 3:43 PM To: CF-Talk Subject: Problems with LEN OK, I have this query: cfquery datasource=#Session.DSN# name=qSearchResults SELECT

RE: Problems with LEN

2006-06-01 Thread Bruce Sorge
Thanks Alan for the advice. I always forget the TRIM function. -Original Message- From: Alan Rother [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 2:59 PM To: CF-Talk Subject: Re: Problems with LEN cfif LEN(Form.FirstName) GT 0 You also do not need to do the GT 0, ColdFusion

RE: Problems with LEN

2006-06-01 Thread Ben Nadel
I agree with Alan, I am a HUGE fan of not putting things like GT O or NEQ 0 for boolean evaluation. I find it easier to read without the comparison. ... Ben Nadel Web Developer Nylon Technology 350 7th Avenue Floor 10 New York, NY 10001 212.691.1134 212.691.3477 fax

RE: Problems with LEN

2006-06-01 Thread Ben Nadel
Andy, This is true, it does return a length, however in this case he is using that Len() return to be essentially Zero or NOT Zero. He wants it to be cast to boolean, which CF will do automatically. ... Ben Nadel www.bennadel.com -Original Message- From: Andy

RE: Adding Verity

2006-06-01 Thread Ian Skinner
I'm pretty sure this is possible. You tried the cfusionmx7\verity\verity-install.bat file? Well, for me it was jrun\verity\verity-install.bat (multi-home configuration). But it worked like a charm. Took me all of 15 minutes to create a collection, index all 87 word documents that comprise

Re: Document Upload/Retrieval Security

2006-06-01 Thread Peter Legg
Ian, I do understand that if the files aren't encrypted that they could potentially be viewed/copied by those with access to the servers on which they reside, whether on the file system or in the db. What I don't have from the client, and I don't think I'll be able to get a definitivee

RE: Adding Verity

2006-06-01 Thread Dave Watts
Does this line in the documentation mean that I will not be able to index a group of word documents on a file server accessed from a Cold Fusion template with UNC paths? The Verity spider is an HTTP crawler. I don't know if it even supports SMB/CIFS regardless of license restrictions. So, no,

RE: Problems with LEN

2006-06-01 Thread Ian Skinner
And you should also TRIM your values as someone may have entered a space into the field cfif LEN(TRIM(Form.FirstName)) I keep saying to myself that I should write the user defined function LenTrim(). Using this construct has become so ingrained with me that my fingers automatically type

RE: Adding Verity

2006-06-01 Thread Dave Watts
The easiest way would be to download the separate Verity installer from the Adobe site. Is this different then Ray's suggestion? The separate Verity installer can actually be used to install K2 on a machine other than your CF server. I don't think you'll have the Verity installer on your

RE: Problems with LEN

2006-06-01 Thread Ian Skinner
I keep saying to myself that I should write the user defined function LenTrim(). Using this construct has become so ingrained with me that my fingers automatically type trim whenever I type len. But, for some reason, often forget to type the internal left parentheses. The main reason I

RE: Problems with LEN

2006-06-01 Thread Ben Nadel
In my pre-page processing (application.cfm|cfc) I loop over the FORM collection and trim each value... Then you never have to worry about trimming anything ever again. I love it, never looked back. ... Ben Nadel www.bennadel.com -Original Message- From: Ian Skinner

RE: Problems with LEN

2006-06-01 Thread Munson, Jacob
Is there someway to add a function to the CF system so that it is automatically available to all templates as the built in functions are? Is there a directory of functions or something similar to CF tags/custom tags? That would be very nice...I'm waiting to hear if anybody knows how to do

RE: Problems with LEN

2006-06-01 Thread Andy Matthews
I see... I do the same thing you do, using the return value as a boolean. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Ben Nadel

RE: if/switch cf:set/param

2006-06-01 Thread Burns, John D
If you're doing a large comparison set, my understanding is that switch is better for performance. As for cfset vs cfparam, cfset sets the variable and overwrites and previous value that the variable held. Cfparam sets the variable if it doesn't already exist. Basically, cfparam ensures that the

RE: if/switch cf:set/param

2006-06-01 Thread Ben Nadel
Paul, CFSwitch I believe is faster (slightly) , and I think easier to read. Also, the default case does not need to be the last case (as opposed to an ELSE statement). However, the tradeoff is that the case values have to be contstants. For IF statements, the benefits are the possibility of

RE: Document Upload/Retrieval Security

2006-06-01 Thread Ian Skinner
Peter I've never stored documents in a DB so I can't give you much of a performance comparison. I've always just stored the documents in the file system and metadata in the database. But the few times I have needed to do this have been very small systems. One of the biggest differences

RE: Adding Verity

2006-06-01 Thread Ian Skinner
The separate Verity installer can actually be used to install K2 on a machine other than your CF server. I don't think you'll have the Verity installer on your machine unless you originally chose to install it with CF, so I don't think Ray's suggestion will work. It was there. And I was able

Re: if/switch cf:set/param

2006-06-01 Thread Josh Nathanson
A good example of the usage of cfparam involves when you're using input type=checkbox on a form. If the user doesn't check the checkbox, the form field is not posted at all, so an attempt to evaluate it using form.checkboxfield (example) results in field undefined in form error. Using cfparam

Re: Document Upload/Retrieval Security

2006-06-01 Thread Peter Legg
Ian, I hear you. YMMV - hadn't seen that one before. Thanks for your thoughts - I appreciate it. Peter ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241984 Archives:

RE: if/switch cf:set/param

2006-06-01 Thread Munson, Jacob
One thing I haven't seen anybody else mention is that cfparam can be used for data validation, using the type attribute. For example, if you are expecting an email address from a form, you can do a cfparam with type=email and CF will throw an error if the data doesn't match (the email type is new

Re: Can I use CF 6.1 and CF 7 on the same machine?

2006-06-01 Thread Jochem van Dieten
Munson, Jacob wrote: I'm jumping into this thread late, but if you use Apache for your dev web server you can map both versions of CF to things like http://cf6/ and http://cf7/, and you don't need to change your IP address. I'm doing this for the various projects I maintain, I can go to

RE: Document Upload/Retrieval Security

2006-06-01 Thread Dawson, Michael
For what it's worth, I second the notion of storing the files in a database. In addition to the sync problems you could have, with file systems, you can also easily transfer the DB to another server/platform, without having to also copy the files and update any file path pointers in the DB. M!ke

RE: Problems with LEN

2006-06-01 Thread Munson, Jacob
Thanks for that, but I was saying that I would like to use a custom function the same way that we can use the built-in functions. In other words, using your example, if I could put the UnescapeFormValues function somewhere in the CF install directory, and then just call it from any application or

more freeness

2006-06-01 Thread dave
I actually forgot about this ria builder until I just got an email from them, can use cfm as the backend and now a free version. www.snappmx.com ~Dave the disruptor~ ~| Message:

Re: more freeness

2006-06-01 Thread Will Tomlinson
I actually forgot about this ria builder until I just got an email from them, can use cfm as the backend and now a free version. www.snappmx.com ~Dave the disruptor~ We needta start callin you dave the distributor! lol The game!

Context Root and Web Root misbehaving (CFMX7)

2006-06-01 Thread Troy Simpson
I have configured a server for multiple JRun/ColdFusion MX 7 instances like the following: d:\servers\jrun01\cfusion-ear\cfusion-war d:\servers\jrun02\cfusion-ear\cfusion-war d:\servers\jrun03\cfusion-ear\cfusion-war Each JRun/ColdFusion instances is assigned to a dedicated website (using JRun4

Re: Context Root

2006-06-01 Thread Troy Simpson
Let me see if I understand this correctly. You get to your ColdFusion applications like this: http://www.site.com/cfusion/index.cfm Your images exist here: http://www.site.com/images/image.gif But when you go to here: http://www.site.com/cfusion/index.cfm The image

Re: more freeness

2006-06-01 Thread Bryan Stevenson
We needta start callin you dave the distributor! Hey now Will...I'm the one handing out Dave titles around here ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED]

Re: more freeness

2006-06-01 Thread dave
im alll about spreading the love.. ~Dave the disruptor~ From: Will Tomlinson [EMAIL PROTECTED] Sent: Thursday, June 01, 2006 7:06 PM To: CF-Talk cf-talk@houseoffusion.com Subject: Re: more freeness I actually forgot about this ria builder

RE: more freeness

2006-06-01 Thread Munson, Jacob
Looks a lot like what Adobe's doing with Flex. -Original Message- From: dave [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 4:23 PM I actually forgot about this ria builder until I just got an email from them, can use cfm as the backend and now a free version.

Add Web Server Configuration Tool

2006-06-01 Thread Troy Simpson
In the Admin Server Configuration Tool there is a check box with the label Configure web server for ColdFusion MX applications What is this for? I understand the obvious, but does this having anything to do with how ColdFusion is installed (like stand-alone or multi-J2EE install)? Does this have

Disappearing Single-Quote

2006-06-01 Thread David Delbridge
Hi all, How do I keep CF from interpreting two single-quotes as escaped? I'm storing code snippets into a database and all occurences of '' are becoming ' (e.g., cfset value = '' becomes cfset value = '). For example: cfset Var = cfset value = '' cfquery name=Store_Var datasource=Test

RE: Disappearing Single-Quote

2006-06-01 Thread Jeff Garza
PreserveSingleQuotes() -- Jeff -Original Message- From: David Delbridge [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 5:01 PM To: CF-Talk Subject: Disappearing Single-Quote Hi all, How do I keep CF from interpreting two single-quotes as escaped? I'm storing code snippets

Re: Disappearing Single-Quote

2006-06-01 Thread David Delbridge
Nope. Already tried that. No change either way. PreserveSingleQuotes() -- Jeff -Original Message- From: David Delbridge [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 5:01 PM To: CF-Talk Subject: Disappearing Single-Quote Hi all, How do I keep CF from interpreting two

Re: Disappearing Single-Quote

2006-06-01 Thread Jeff Anderson
Have you tried using the Chr() function and passing in the code for them? -Jeff David Delbridge wrote: Nope. Already tried that. No change either way. PreserveSingleQuotes() -- Jeff -Original Message- From: David Delbridge [mailto:[EMAIL PROTECTED] Sent: Thursday, June

Intermittent Errors Strange

2006-06-01 Thread blists
Hello List People, I'm having trouble figuring this one out and hope some one can point me in the right direction. We have a form processing script, that appears to generate some errors when under load - or rather when multiple forms are submitted within the same time frame. Basically we

Re: Document Upload/Retrieval Security

2006-06-01 Thread James Holmes
We use Oracle for this kind of thing and it excels at indexing binary docs stored in BLOBS with full-text indexing, producing search context highlighted html versions of stored docs etc. It also means that we can keep multiple versions of docs as a revision history in the DB, without having a

RE: Add Web Server Configuration Tool

2006-06-01 Thread Dave Watts
In the Admin Server Configuration Tool there is a check box with the label Configure web server for ColdFusion MX applications What is this for? I think it just ensures that the appropriate file extensions (.cfm, .cfc) are associated with CF. Keep in mind that the same tool is used for

  1   2   >