RE: SUSPECT: RE: slow Java call - Determining physical length of string - Pt 2

2004-08-19 Thread Micha Schopman
Why don't you use _javascript_ to return the width? Or is it supposed to run serverside? script type=text/_javascript_ function stringMetrics(str){ var tmp = document.createElement(SPAN); tmp.appendChild(document.createTextNode(str)); tmp.style.display = 'none'; document.body.appendChild(tmp);

RE: BLACKSTONE: Software Development Times Article

2004-08-19 Thread Micha Schopman
Competition is good. competition is good. ;) Micha Schopman Software Engineer Modern Media, Databankweg 12 M, 3821 ALAmersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe]

Re: Lightweight CMS

2004-08-19 Thread Mark Drew
Macromedia contribute comes to mind On Wed, 18 Aug 2004 18:35:13 -0700, Matt Robertson [EMAIL PROTECTED] wrote: ContentMonger Lite is free and includes a wysiwyg editor, revision control and a lot of other stuff. http://mysecretbase.com/CMLite_Home.cfm -- --Matt Robertson-- MSB Designs,

Re: Lightweight CMS

2004-08-19 Thread James McCann
can you do a simple admin panel for them to use, like the ones above i presume, ive been using cf for about a month and ive just done an admin panel which i found quite a challenge but i will use these a lot for work. i can edit the data in the table or editable region and del/add stuff to it

Double Negative way of making decisions? Good?

2004-08-19 Thread Michael Kear
I've been taking a look at ContentMonger LiteCMS system, mentioned elsewhere today by Matt Robertson (http://mysecretbase.com/CMLite_Home.cfm), and I notice a lot of the decisions in the code are made by what seems to be a double negative for me.Quite confusing until I got used to it.Is there any

RE: Double Negative way of making decisions? Good?

2004-08-19 Thread Robertson-Ravo, Neil (RX)
Don't think there is any real performance advantage, its just coder preference... But Matt's way IMHO is incorrect in this instance as Compare can return 3 results and Matt is checking for a Boolean. Compare can return -1,0 or 1 which is not Boolean. _ From: Michael Kear [mailto:[EMAIL

RE: Double Negative way of making decisions? Good?

2004-08-19 Thread Micha Schopman
No, he is checking for a string, not a Boolean. Boolean is either 1/0 or true/false but not y or n. Micha Schopman Software Engineer Modern Media, Databankweg 12 M, 3821 ALAmersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 [Todays Threads] [This

Re: Access SQL Question

2004-08-19 Thread Jochem van Dieten
Qasim Rasheed wrote: I want to recursively delete descendants at all levels. Any thoughts? How about a self-referencing foreign key with ON DELETE CASCADE? Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

RE: Access SQL Question

2004-08-19 Thread Micha Schopman
Or, SET QUOTED_IDENTIFIER OFF GO SET ANSI_NULLS ON GO ALTERPROCEDURE dbo.upu_Instance_Delete @InstanceIDint AS -- Variables DECLARE@lCurrentID int DECLARE@lError int DECLARE@lInstanceIDint DECLARE@lPreviousIDint --Find Children and kill them all. BEGIN TRAN trInstanceDelete SET@lPreviousID

Freelance

2004-08-19 Thread vishnu prasad
Hi All i would like to do freelance job in Coldfusion ,ASP how can i proceed,how i need to approch to get freelance job? if anybody intrest in giving freelance job i can send the prototype which i developed thanks in advance [Todays Threads] [This Message] [Subscription] [Fast

RE: cfx_MyHelloColdFusion - SOLVED

2004-08-19 Thread Craig Dudley
Why not copy cfx.jar into your development directory e.g. c:\java ?, your'e comamnd line would then be much shorter in c:\java, just type javac -classpath cfx.jar MyHelloColdFusion.java somewhat easier yes? Then just move the compiled class file to wherever you want it. -Original

RE: Double Negative way of making decisions? Good?

2004-08-19 Thread Robertson-Ravo, Neil (RX)
Ermunless I read it wrong he is using Compare and it is this which is comparing the string - The actual CFIF is checking for the value returned back from this Compare which is going to be -1,0,1 which is not Boolean.the code Matt listed is checking for a boolean value (well he is assuming

RE: Double Negative way of making decisions? Good?

2004-08-19 Thread Michael Kear
It treats zero as false, and the other two values as true.You can tell because the following both give the same result: cfif not Compare(Z,Y)Stuff/cfif cfif not Compare(Y,Z)Stuff/cfif while cfif not Compare(Y,Y)Other stuff/cfifgives a different result. For my money though, the fact that it's

escaping apostrphee in a select statement

2004-08-19 Thread cf coder
Hi Guys, I'm passing a url variable a string/text that has a apostrphee in it. Ex: mytext = It's a test I'm escaping it like this: window.location.href = ""> I'm passing this url varialbe, url.txt to the select statement, I get an error: Incorrect syntax near apos;sapos;. Can someone

RE: Double Negative way of making decisions? Good?

2004-08-19 Thread Micha Schopman
The value -1 is treated as true (odd though, but yes it validates as true), you are right with the compare returnvalue, but I thought you meant the value y to be a Boolean value, If not.. erm.. oops .. need a beer? Micha Schopman Software Engineer Modern Media, Databankweg 12 M, 3821

RE: escaping apostrphee in a select statement

2004-08-19 Thread Micha Schopman
... bbzzz Crystal Ball warming up Bz... I see women... ... the show me code... in bikini's... .. do you have some example code to show us? :-) Micha Schopman Software Engineer Modern Media, Databankweg 12 M, 3821 ALAmersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679,

RE: Double Negative way of making decisions? Good?

2004-08-19 Thread Sandy Clark
cf_historylesson Michael Dinowitz had written an article on this years ago. Apparently it was much faster to use Not compare() back during the CF3 and 4 days.I remember writing stuff like that then.The reasons for using it became less useful when CF5 came out since it ran considerably faster

Re: escaping apostrphee in a select statement

2004-08-19 Thread cf coder
you what? what's your problem? are you a you clown or something? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: escaping apostrphee in a select statement

2004-08-19 Thread cf coder
you what? what's your problem? are you a clown or something? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

RE: Double Negative way of making decisions? Good?

2004-08-19 Thread Robertson-Ravo, Neil (RX)
Yes,classic...-1 as true :-) _ From: Michael Kear [mailto:[EMAIL PROTECTED] Sent: 19 August 2004 12:47 To: CF-Talk Subject: RE: Double Negative way of making decisions? Good? It treats zero as false, and the other two values as true.You can tell because the following both give the

Re: Double Negative way of making decisions? Good?

2004-08-19 Thread Claude Schneegans
Compare can return -1,0 or 1 which is not Boolean. In almost any language, 0 is false and not 0 is true, boolean or not. Even in C which is strongly typed. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please

RE: escaping apostrphee in a select statement

2004-08-19 Thread Micha Schopman
Can you provide is with example code so we can find out what is happening? Micha Schopman Software Engineer Modern Media, Databankweg 12 M, 3821 ALAmersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 [Todays Threads] [This Message] [Subscription]

RE: escaping apostrphee in a select statement

2004-08-19 Thread d.a.collie
Your original post wasn't very informative was it? It looks like you have -- page one - var myText = Show's some example code please; window.location.href = ''#URL.text#') /cfquery I'm guessing here... but you then get the error message that you have quoted

Re: escaping apostrphee in a select statement

2004-08-19 Thread Claude Schneegans
Incorrect syntax near apos;sapos;. This is weird, normally the escape function escapes characters as hexadecimals, not in HTML code. You should have get %27s%27 here. Are you sure your _javascript_ code does not redefine the escape function for something to escape characters as HTML codes? --

Re: escaping apostrphee in a select statement

2004-08-19 Thread Joe Rinehart
Try: mytext = It's a test window.location.href = ""> If you need to escape a ' inside of a string surrounded by ' marks, use \ (standard for ECMA escaping), i.e., 'This is Joe\'s example' -joe - Original Message - From: cf coder [EMAIL PROTECTED] Date: Thu, 19 Aug 2004 07:51:19 -0400

Re: escaping apostrphee in a select statement

2004-08-19 Thread cf coder
ok, I'm passing the url variable to the stored procedure page two --- CFPROCPARAM TYPE=IN VALUE=#URLDecode(url.text)# DBVARNAME=@db_txt CFSQLTYPE=cf_sql_char This is when the error occurrs. When I execute the query in query analyser this is what the text looks

Re: escaping apostrphee in a select statement

2004-08-19 Thread Claude Schneegans
VALUE=#URLDecode(url.text)# You don't have to URLDecode a string passed by URL, it is supposed to be decoded by the HTTP server when it receives the request. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm

Inserting into multiple tables

2004-08-19 Thread Chris Kavanagh
Dear list, So here I am, at the last line of defence, so to speak: my first app is due today! Luckily, I'm nearly finished, but I have another stupid question for you lot, my new favourite people.I'd like to insert values from an insert form into two separate tables.I'm planning to use a SQL

Re: escaping apostrphee in a select statement

2004-08-19 Thread Ewok
what's a you clown; ) - Original Message - From: cf coder To: CF-Talk Sent: Thursday, August 19, 2004 8:10 AM Subject: Re: escaping apostrphee in a select statement you what? what's your problem? are you a you clown or something? [Todays Threads] [This Message] [Subscription]

Re: Inserting into multiple tables

2004-08-19 Thread Deanna Schneider
I'm not sure I'm following you, Chris. But, are you saying that you're currently passing the projectname, but you need the projectid? If so, you can display the projectname and pass the projectid. On your form, just do this: select... option value=#projectid##projectname#/option /select -

Coldfusion MX on SuSe? (And ideally MySQL...)

2004-08-19 Thread rob.stokes
Hi All, I've got a (fairly beefy) server sitting upstairs working as a router for the cable connection we've got. I thought to myself, why don't I set this up as a dev server for my CFMX apps? The problem is, it's a SuSe linux distro, and I know next to nothing about setting up CFMX on unix, or

Re: Inserting into multiple tables

2004-08-19 Thread Chris Kavanagh
In my backend Access database I have a relationship between two tables: TASKS PROJECTS Project -- projectsID [key] projectname That didn't survive reformatting very well.Let me try again: TASKS project (linked to projectsID) PROJECTS projectsID (the key) projectname [Todays Threads]

Re: Web Form Data Security

2004-08-19 Thread Damien McKenna
On Aug 18, 2004, at 5:58 PM, CF Coder2 wrote: What other best practices are there to ensure nothing can happen? One idea would be to add a unique variable in a hidden field to each form.You would store the variable in a database and clear it when the form was submitted.If a form was submitted

CFC troulbe

2004-08-19 Thread Dan Phillips
Hello everyone. I'm having trouble with a CFC and I'm at my wits end. I'm running MX6.1 on a Windows 2003 server with IIS 6. When I go to domain.com/cfc/clients.cfc I get the error: Error Occurred While Processing Request File not found: /CFIDE/componentutils/cfcexplorer.cfc I'm not sure why

SOLVED: Inserting into multiple tables

2004-08-19 Thread Chris Kavanagh
Dear list, I think I'm falling in love with you, all of you.Deanna, thank you so much, that worked perfectly. Kind regards, CK. On 19 Aug 2004, at 2:05 pm, Deanna Schneider wrote: I'm not sure I'm following you, Chris. But, are you saying that you're currently passing the projectname, but

RE: Double Negative way of making decisions? Good?

2004-08-19 Thread Lofback, Chris
IIRC, there was a time (thru CF5, I believe) where the use of Compare() was said to be faster because it was a numeric function rather than a string comparison (like IS or EQ).So this was an optimization method.I found it difficult to read too so I stuck with IS and suffered the few millisecond

Re: escaping apostrphee in a select statement

2004-08-19 Thread Greg Morphis
I use JSStringFormat a lot when playing with JS in my ColdFusion, try that.. On Thu, 19 Aug 2004 09:04:33 -0400, Ewok [EMAIL PROTECTED] wrote: what's a you clown; ) - Original Message - From: cf coder To: CF-Talk Sent: Thursday, August 19, 2004 8:10 AM Subject: Re: escaping apostrphee in

RE: CFC troulbe

2004-08-19 Thread d.a.collie
Error Occurred While Processing Request File not found: /CFIDE/componentutils/cfcexplorer.cfc I'm a noob to CFC's but I got the exact same when I called a controller CFC via HTTP post and I didn't relocate anywhere after it... it seemed to redirect to the cfc explorer without the redirect to

Re: Inserting into multiple tables

2004-08-19 Thread Greg Morphis
yeah, you really cant do it easily with a list box, use a select box as Deanna said.. if not you'd have to pass the string, and first query the string off the projects table to get the projectid for that project and then insert it into the tasks table. On Thu, 19 Aug 2004 14:06:53 +0100, Chris

Re: CFC troulbe

2004-08-19 Thread John Beynon
it's looking for the component explorer since you've typed the .cfc extension - it should present you with the components introspection resuls. is this what you're expecting? have you got a /cfide mapping on your virtual server? jb. On Thu, 19 Aug 2004 09:18:05 -0400, Dan Phillips [EMAIL

Re: form validation problems

2004-08-19 Thread Greg Morphis
Why dont you use JS and let the client do all the validation? On Thu, 19 Aug 2004 15:58:00 +1200, Mark Henderson [EMAIL PROTECTED] wrote: hi Qasim, I was doing something similar to this when your answer arrived, only I wasn't using urlencoding (though it was still working). After I broke it

Re: CFC troulbe

2004-08-19 Thread Dan Phillips
it's looking for the component explorer since you've typed the .cfc extension - it should present you with the components introspection resuls. is this what you're expecting? have you got a /cfide mapping on your virtual server? jb. On Thu, 19 Aug 2004 09:18:05 -0400, Dan Phillips [EMAIL

RE: form validation problems

2004-08-19 Thread d.a.collie
Why dont you use JS and let the client do all the validation? Cos a user may have _javascript_ turned off... never trust the client (well you know what I mean) -- dc [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: CFC troulbe

2004-08-19 Thread Joe Rinehart
Dan, Browsing to your CFC directly should bring up the CF Admin login screen.After entering your password, you'll see the introspection information for that CFC. CFC's aren't used directly by your browser, but by your .CFM files. -joe -- For Tabs, Trees, and more, use the jComponents:

Re: CFC troulbe

2004-08-19 Thread Brian Kotek
If you log it it should show you the introspection information for the CFC. The CFC Explorer is secured behind the CF Admin login so that random outsiders can't see the guts of your CFCs. Hope that helps, Brian - Original Message - From: Dan Phillips [EMAIL PROTECTED] Date: Thu, 19 Aug

Re: form validation problems

2004-08-19 Thread Joe Rinehart
Hi Greg, Letting JS do all your validation is a Very Bad Idea. First and foremost, users can turn it off at will. Secondly, most JS validation is only written to validate type, not value. In general, you should apply validation on the server side that validates both the type of input, and that

RE: Double Negative way of making decisions? Good?

2004-08-19 Thread Robertson-Ravo, Neil (RX)
This not what I am saying... 0 = False Not 0 = True Not 1 = False What I am saying is that Compare() can yield 3 return values-1,1 or 0 and by saying cfif NOT Compare(..) you are checking for a Boolean value... -1 is not Boolean. _ From: Claude Schneegans [mailto:[EMAIL PROTECTED]

Re: CFC troulbe

2004-08-19 Thread John Beynon
it brought up the CF admin. It should say Component Explorer login or something like that, punch in your password and iit will show you the introspection On Thu, 19 Aug 2004 09:38:29 -0400, Joe Rinehart [EMAIL PROTECTED] wrote: Dan, Browsing to your CFC directly should bring up the CF Admin

RE: CFC troulbe

2004-08-19 Thread d.a.collie
CFC's aren't used directly by your browser, but by your .CFM files. I use them as my controller's... my form submit calls the CFC directly or is this just bad? (Based on http://www.benorama.com/coldfusion/patterns/part2.htmwhich I like) -- dc [Todays Threads] [This Message]

Re: CFC troulbe

2004-08-19 Thread Dan Phillips
Brian and Joe, I think that just might do it. I'll be back if I still run into trouble :-) Much thanks! Enjoy a free virtual beverage of your choice. My Treat. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: form validation problems

2004-08-19 Thread Ewok
yeah, you mean never trust a client; ) js is just a luxury for your server's sake and the sake of time for AOL users (heh) I always have it there to validate my forms but in the end... the cf validation has the final say. liek d.a said, active scripting could be turned off. You could also have

Re: CFC troulbe

2004-08-19 Thread Andy Allan
It's supposed to bring up the CFAdmin.. Fire in your password and then it gives you the CFC explorer. Quoting Dan Phillips [EMAIL PROTECTED]: it's looking for the component explorer since you've typed the .cfc extension - it should present you with the components introspection resuls. is this

Re: Double Negative way of making decisions? Good?

2004-08-19 Thread Joe Rinehart
Hey Neil, -1 is boolean for true in CF (and in most languages I've dealt with), therefore doing the boolean test not compare() is a valid boolean comparison for all three results of compare(). -joe - Original Message - From: Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] Date: Thu, 19 Aug

Re: form validation problems

2004-08-19 Thread Claude Schneegans
First and foremost, users can turn it off at will. Well, is a user turns off his _javascript_, it's HIS problem, and _javascript_ is so much used that chances he ever reaches a page with a form are very low anyway. Secondly, most JS validation is only written to validate type, not value. ??? I

Re: Web Services: Sharing Data - E-Commerce

2004-08-19 Thread Chris Johnston
On Thu, 19 Aug 2004 02:10:52 +, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: What's the best way to securely transfer customer's order information from an Affiliate back to our company, the distributor? SSL After an Affiliate's order has been successfully taken, we're suggesting the

CFCHART 3D Depth

2004-08-19 Thread Ewok
I haven't found an answer one way or the other on rather or not you can adjust the depth of the 3D effect in a cfchart. The flat is... well it's flat and the default 3D depth is way too deep. Any clues? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: form validation problems

2004-08-19 Thread Claude Schneegans
Cos a user may have _javascript_ turned off... never trust the client One of the first thing I do in my apps is to check if the user has _javascript_ turned off. If yes, he his requested to turn it on. Gee, he can also close his Browser or pull the plug of his PC, the form won't work either. If

RE: form validation problems

2004-08-19 Thread Tangorre, Michael
Well, is a user turns off his _javascript_, it's HIS problem, and _javascript_ is so much used that chances he ever reaches a page with a form are very low anyway. It actually becomes your problem. You have to clean up the mess if one should occur fomr someone circumventing your JS

RE: form validation problems

2004-08-19 Thread d.a.collie
But most of the validation can be and SHOULD be done client side on the contrary. Must disagree... the more client side validation, the better for the end user and a better app you will build... But the most important validation is on the server... You can build something with only

500 error until I refresh

2004-08-19 Thread Chris Kavanagh
Dear list, Here's an odd one.My page projects.cfm links (via a standard A HREF="" to the page newtask.cfm. In my browser I get an HTTP 500 error - (The page cannot be displayed...) but when I refresh it it loads fine.This hasn't happened in any of my other .cfm pages - any ideas? I am

RE: Double Negative way of making decisions? Good?

2004-08-19 Thread Robertson-Ravo, Neil (RX)
Cool, to be honest, ive never really seen -1 as true, thanks thoughafter all these years its good to know. _ From: Joe Rinehart [mailto:[EMAIL PROTECTED] Sent: 19 August 2004 14:53 To: CF-Talk Subject: Re: Double Negative way of making decisions? Good? Hey Neil, -1 is boolean for

RE: form validation problems

2004-08-19 Thread Micha Schopman
One of the most important rules in software development is not to trust user input. ever! _javascript_ is an excellent scripting language providing a user friendly 1st layer of notifying problems, fast, and responding to those problems with another piece of _javascript_. Whether is it

RE: Double Negative way of making decisions? Good?

2004-08-19 Thread James Smith
Actually if you want to be really picky I think you will find that historically -1 is true and 0 is false, the 1 is the value that is not strictly Boolean.However Claude is correct in saying In almost any language, 0 is false and not 0 is true, Boolean or not. -- Jay -Original Message-

Re: Coldfusion MX on SuSe? (And ideally MySQL...)

2004-08-19 Thread Chris Johnston
On Thu, 19 Aug 2004 14:07:23 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I've got a (fairly beefy) server sitting upstairs working as a router for the cable connection we've got. I thought to myself, why don't I set this up as a dev server for my CFMX apps? The problem is, it's a SuSe

Re: Coldfusion MX on SuSe? (And ideally MySQL...)

2004-08-19 Thread John Beynon
it's pretty easy, i'd never user nix before and i got it going, rh9, mysql, cfmx! The installer is pretty good, jb. On Thu, 19 Aug 2004 14:07:23 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All, I've got a (fairly beefy) server sitting upstairs working as a router for the cable

Re: form validation problems

2004-08-19 Thread Ewok
??? I can write code in _javascript_ to verify whatever I want, almost as easily as in CF. yeah its not hard, thats not the point But most of the validation can be and SHOULD be done client side on the contrary. yes it should, for convenince. But once that is done it should be validated again

RE: Double Negative way of making decisions? Good?

2004-08-19 Thread Lofback, Chris
But it is treated as boolean.0 is false and anything else is true, including -1 and 3.I use this principle all the time like this: CFIF qryFoo.RecordCount --Output records here-- CFELSE No records found! /CFIF Chris -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL

Re: Web Services: Sharing Data - E-Commerce

2004-08-19 Thread Adam Haskell
I agree with chris. Have them consume a webservice over SSL that gives you the order. That way your system can process the order at the time and send back succes or failure over the webservice. Adam H On Thu, 19 Aug 2004 09:58:14 -0400, Chris Johnston [EMAIL PROTECTED] wrote: On Thu, 19 Aug

BlueDragon cfinclude issues

2004-08-19 Thread Ken Ferguson
This happens on BD 6.1 as my dev server. I have this code: cfset variables.incfilename = attributes.mode .cfm cfif fileexists(evaluate(variables.incfilename)) cfinclude template=#variables.incfilename# cfelse Which produces the error: CFML Runtime error: billingandshipping.cfm does not

Re: 500 error until I refresh

2004-08-19 Thread Deanna Schneider
First off, go to tools - options - advanced and uncheck the checkbox that says show friendly http errors. Then, you might have a reasonable chance of figuring out what the error really is. It could be, that if you're saving the file then browsing, that the save just hasn't finished yet. I get

RE: Double Negative way of making decisions? Good?

2004-08-19 Thread Robertson-Ravo, Neil (RX)
I suppose my SQL hapbits come through...when I expect a bit operator I expect it to be Boolean! _ From: Lofback, Chris [mailto:[EMAIL PROTECTED] Sent: 19 August 2004 15:24 To: CF-Talk Subject: RE: Double Negative way of making decisions? Good? But it is treated as boolean.0 is false and

SOLVED: 500 error until I refresh

2004-08-19 Thread Chris Kavanagh
:DI fixed it all by myself.I found the clue in the server log.I'm turning into a coder! On 19 Aug 2004, at 3:03 pm, Chris Kavanagh wrote: Dear list, Here's an odd one.  My page projects.cfm links (via a standard A HREF="" to the page newtask.cfm. In my browser I get an HTTP 500 error - (The

Re: form validation problems

2004-08-19 Thread Joe Rinehart
Claude, When a user turns off _javascript_, it's their preference, and very much your problem.If you're using at as the sole means to make sure a string is a string and a number is a number, you're likely to begin getting emails about users encountering ColdFusion errors. I can write code in

RE: BlueDragon cfinclude issues

2004-08-19 Thread Matt Liotta
Maybe I am reading the following line wrong, but it looks like you are trying to evaluate the filename as a variable. cfif fileexists(evaluate(variables.incfilename)) Shouldn't the above be as follows? cfif fileexists(variables.incfilename) -Matt [Todays Threads] [This Message]

Looking for french cold fusion resources

2004-08-19 Thread Marc Campeau
Hi everyone, I was told by a few advanced Flash developpers in a community I follow (mainly french speaking developers from Quebec, France) that they abandonned trying out ColdFusion because they couldn't find ColdFusion tutorials, forums, documentation (PHP.net style, cause let's face it MM

Re: BlueDragon cfinclude issues

2004-08-19 Thread Scott Brady
You have this block: cfif fileexists(evaluate(variables.incfilename)) cfinclude template=#variables.incfilename# cfelse ... I think the issue is that you're testing to see if Evaluate(variables.incfilename) exists, but then you're only including variables.incfilename.Try cfinclude

RE: BlueDragon cfinclude issues

2004-08-19 Thread Ken Ferguson
Right, first I had cfif fileexists(variables.incfilename), but it yields the same result, I was just playing around to see if anything would help and my last revolution was trying the evaluate. It doesn't really matter though, because it IS getting past that cfif and into the cfinclude, but then

Re: CFCHART 3D Depth

2004-08-19 Thread Marc Campeau
I haven't found an answer one way or the other on rather or not you can adjust the depth of the 3D effect in a cfchart. The flat is... well it's flat and the default 3D depth is way too deep. Any clues? CFCHART xOffset = number between -1 and 1 yOffset = number between -1 and 1 If I'm not

Re: 500 error until I refresh

2004-08-19 Thread Ewok
That or possibly timing out (due to load maybe). When I write my apps, I do it at home on a server2003 machine on a Roadrunner connection everything is fine and fast locally, but when I start showing it to a few other people, the load gets to be too much for the connection and pages start timing

RE: BlueDragon cfinclude issues

2004-08-19 Thread Ken Ferguson
Nope, same result. Also, cfoutput#variables.incfilename#/cfoutput gives the same value as cfoutput#evaluate(variables.incfilename)#/cfoutput The evaluate just got in there as I was playing around with things. It's not really useful in this code. Remove all the evaluates and you still get the

Re: SOLVED: 500 error until I refresh

2004-08-19 Thread Ewok
heh good job, what was it - Original Message - From: Chris Kavanagh To: CF-Talk Sent: Thursday, August 19, 2004 10:32 AM Subject: SOLVED: 500 error until I refresh :DI fixed it all by myself.I found the clue in the server log.I'm turning into a coder! On 19 Aug 2004, at 3:03 pm,

RE: BlueDragon cfinclude issues

2004-08-19 Thread Mark A. Kruger - CFG
You are not modifying it for path so fileexists( ) should crap out - unless BD does relative paths... does it? Also - what's with the evaluate( ) function? Seems superflous to me. -mk -Original Message- From: Ken Ferguson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 9:31 AM

cfmail and SMTP authentication?

2004-08-19 Thread techmike
Is it possible to use a SMTP server that requires authentication with the cfmail tag? Excuse me for not just googleing it, but I'm stuck behind a proxy at work. -Mike [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: SOLVED: 500 error until I refresh

2004-08-19 Thread Chris Kavanagh
heh good job, what was it I was CFOUTPUTing a value that I hadn't CFQUERYd.Rookie mistake... [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: CFCHART 3D Depth

2004-08-19 Thread Ewok
that seems to do some pretty weird (useless) things to a bar graph. Doesn't seem to change the depth or the effect of it at all - Original Message - From: Marc Campeau To: CF-Talk Sent: Thursday, August 19, 2004 10:43 AM Subject: Re: CFCHART 3D Depth I haven't found an answer one

Re: form validation problems

2004-08-19 Thread Claude Schneegans
But once that is done it should be validated again on server side. Ah ok, I agree with that. Validate on the server, but validate first client side. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send

RE: BlueDragon cfinclude issues

2004-08-19 Thread Matt Liotta
In testing locally I found that FileExists() seems to be the problem. Basically, nothing inside the cfif executes. Simply including a template based on a variable without checking to see if it exists works. In fact, the following template shows this strange behavior. cfset foo = index.cfm cfif

Re: form validation problems

2004-08-19 Thread Claude Schneegans
When a user turns off _javascript_, it's their preference, and very much your problem. Ok, I admit I almost exclusively write intranet applications that always require _javascript_ enabled, It is part of the specifications of the product, otherwise the application will simply not run. I agree

Re: form validation problems

2004-08-19 Thread Claude Schneegans
Must disagree... the more client side validation, the better for the end user and a better app you will build... Then you don't desagree, you agree ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please

Regex Question: All punct except...

2004-08-19 Thread Patricia Lee
I want a CF regex to replace all punctuation except for the / character. I made it work with the following: [^/[:alpha:][:digit:][:space:]] But I was wondering if there was a simpler way to write it with the [:punct:] class? [Todays Threads] [This Message] [Subscription] [Fast

RE: BlueDragon cfinclude issues

2004-08-19 Thread Ken Ferguson
I didn't think it through very well before posting. I just got frustrated and asked. The problem was, or rather is, that I am an idiot. The evaluate was only in there because I was playing around with it. I was getting the EXACT same results without it in there. However, I was causing another

RE: BlueDragon cfinclude issues

2004-08-19 Thread Jim Davis
Are you sure that the CFIF is getting passed?It really seems like that should fail. It seems like the error could be misleading and being thrown at the CFFF rather than the CFINCLUDE - try commenting out the CFINCLUDE and see if you still get the problem. If you do then you know, at least, that

RE: BlueDragon cfinclude issues

2004-08-19 Thread Mark A. Kruger - CFG
Matt, Yes but... fileexists requires the fule path (i.e. e:\wwwroot\index.cfm - not just index.cfm) so I would definitley expect the cfif to return FALSE - or am I missing something? -mark -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004

changing jsessionid in the middle of my session

2004-08-19 Thread Ryan Mannion
I have a question... sometimes when going from one page to another, my jsessionid changes and my session variables get dropped. It happens if I'm submitting a form with enctype=multipart/form-data (if uploading a file) while carrying the urltoken through the URL. It's also happens when I'm using

RE: cfmail and SMTP authentication?

2004-08-19 Thread Ken Ferguson
I would imagine that: cfmail's username=usernamevaluehere and password=passwordvaluehere attributes should work just fine for that purpose. _ From: techmike [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 10:01 AM To: CF-Talk Subject: cfmail and SMTP authentication? Is it

RE: form validation problems

2004-08-19 Thread d.a.collie
Then you don't desagree, you agree ;-) I do agree with the more client side the better... I know it's pretty bad, but it's usually my deadlines that define how much client side validation I get to put in. Cheers Claude :) -- dc [Todays Threads] [This Message] [Subscription] [Fast

Re: Coldfusion MX on SuSe? (And ideally MySQL...)

2004-08-19 Thread Pete Freitag
[EMAIL PROTECTED] wrote: it'd be handy to know if CFMX suse mysql apache actually works! SuSE 7.2,7.3, and 8.x are listed as supported Operating Systems for ColdFusion MX, so if your running one of those versions it shuldn't be too hard to get working. If your running a different version,

Looping over Dates - Revisited..

2004-08-19 Thread Jeff Waris
About 2 weeks ago there was a thread on looping over monthly dates I need to take it a step further I'd like to loop over a date range in DAYS. Say startdate=06/01/2004 endate=08/06/2004 and have it loop consecutively through each day of the month until it gets to the end date.

RE: BlueDragon cfinclude issues

2004-08-19 Thread Alexander Sherwood
At 11:09 AM 8/19/2004, you wrote: I didn't think it through very well before posting. I just got frustrated and asked. So, in the end, I'm not sure if I'm going to be switching over to BD at all. Why switch to begin with? Do you need functionality in BD that is not in CFMX, or is it the price

RE: cfmail and SMTP authentication?

2004-08-19 Thread techmike
Hrm, I get an attribute validation error with that..I'm running MX 6.0 if that makes a difference.. I tried doing a cfpop first to see if my server would authenticate like that, but no such luck..:( -mike -Original Message- From: Ken Ferguson [EMAIL PROTECTED] To: CF-Talk [EMAIL

  1   2   3   >