Re: Inserting rows into a 2d array

2003-11-18 Thread Ian Skinner
Looks like this may already be answered, but I just got around to playing with this.My solution is very similar, but maybe a bit more streamlined, if you are still just trying to add blank rows for output purposes. cfset Test = ArrayNew(2) cfset Test[1][1] = 'Sacramento' cfset Test[1][2] = 'C001'

Re: Inserting rows into a 2d array

2003-11-18 Thread Ian Skinner
Glad you got this to work for you, but just as a last thought.Your method requries the code to loop through all the data three times. Once to transfer the data from the query to the array, once to process blank rows into the array, and a third time to display it.I would be a bit leary for

RE: CF Studio 5 resource windows

2003-11-18 Thread Pascal Peters
NO -Original Message- From: Jeff Beer [mailto:[EMAIL PROTECTED] Sent: maandag 17 november 2003 22:03 To: CF-Talk Subject: OT: CF Studio 5 resource windows Studio has two file windows (file 1, primary and file 2, secondary).Is there any way to add more? [Todays Threads] [This

RE: CF and strange HTTP 500 error

2003-11-18 Thread Dwayne Cole
Is the city the only difference between users.Do they have different passwords or different access variables.Are you using cfc's or udf's? Are you using cflogin?I've encounterd the frustrating http 500 when there were errors in my cfc or udf.I've noticed that when when the error in my code, usely

Re:HTML e-Newsletter

2003-11-18 Thread Dwayne Cole
Thanks for the pointers.I kinda knew what to do from a technical perspective but I wanted to hear from someone about the issues and challenges faced when using cfmail to send html email to opt-in list that is expected to grow to about 8000.I've heard of .aol as well. Dwayne, Let me point out a

Re: Mailpart and 6.1

2003-11-18 Thread Ryan Mitchell
But that¹s not the right order? You are supposed to do the most simple version first?? On 17/11/03 11:51 pm, Stacy Young [EMAIL PROTECTED] wrote: Try setting the HTML first then text Stace _ From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: November 17, 2003 6:34 PM To: CF-Talk

ZIP file

2003-11-18 Thread BOUDOT Christian
Hi folks, I am looking for a cftag which zip files and keeps the relative paths in the archive. Any recommendation? thx Chris [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: ZIP file

2003-11-18 Thread Massimo Foti
I am looking for a cftag which zip files and keeps the relative paths in the archive. Any recommendation? If you are using MX, give this a try: http://www.cflib.org/udf.cfm?ID=744 Massimo Foti http://www.massimocorner.com Co-Author of Dreamweaver MX 2004 Magic:

RE: ZIP file

2003-11-18 Thread BOUDOT Christian
Thanks for the link. Is there a way to call it with relative paths? When I extract the zip the hole file path is stored: CFusionMX\wwwroot\DevArea\ZipTest\icons\test.gif I need the need the relative path: \icons\test.gif Thanks for your help Chris -Original Message- From: Massimo Foti

Re: ZIP file

2003-11-18 Thread Massimo Foti
Thanks for the link. Is there a way to call it with relative paths? When I extract the zip the hole file path is stored: CFusionMX\wwwroot\DevArea\ZipTest\icons\test.gif I need the need the relative path: \icons\test.gif I have no idea... Sorry. You may try to check Java APIs to see if it's

RE: ZIP file

2003-11-18 Thread BOUDOT Christian
Thanks for your help Massimo, I will dig into the Java API. -Original Message- From: Massimo Foti [mailto:[EMAIL PROTECTED] Sent: mardi 18 novembre 2003 11:20 To: CF-Talk Subject: Re: ZIP file Thanks for the link. Is there a way to call it with relative paths? When I extract the zip

TDateTime conversion

2003-11-18 Thread Shahzad.Butt
Hi Has anyone written any UDF or something to convert TDateTime value (in Delphi) to normal ODBC date/time format? Even a TSQL command will help me as well.. Thanks Shahzad.Butt Ph:+44 (0) 1992 701 722 Fax: +44 (0) 1992 701 604 [Todays Threads] [This Message] [Subscription]

RE: Weird PC Error - Part II

2003-11-18 Thread Tangorre, Michael
This might seem like a pain, but I remember running into this all the time while working in college... the approach that always seemed to work was the following: If you have more than one memory chip installed, remove them and leave one in the 0 or 1 bank, whichever is first. Remove all other

Re: Weird PC Error - Part II

2003-11-18 Thread Stephen Moretti
A friend introduced me to this application at the weekend... http://oca.microsoft.com/en/windiag.asp I've just bought myself a shiny new gigabyte m/b, amd 2400+ processor, CPU fan, power supply and 512mb of 400DDR memory. Despite all the new kit, the damn thing kept crashing.I thought it was

Re[2]: CF and strange HTTP 500 error

2003-11-18 Thread Uwe Degenhardt
Hi list, thanks for everyone who answered this thread on this list. It turned out, that the anonymous access to the website was disabled and user A made a hidden login via a trusted domain. Oh man. What a nightmare. The bad part is, that IIS didn't give any useful information in terms of

RE: Weird PC Error - Part II

2003-11-18 Thread Tangorre, Michael
Good call. I used to buy cheaper memory all the time (eBay, etc..) but after having so many issues I just buy the good stuff when its on sale at newegg.com or amazon... Kingston usually. I am running a 2400+ as well :-) -Original Message- From: Stephen Moretti [mailto:[EMAIL PROTECTED]

re: REPOST: Implementing cfftp along with cfdirectory????

2003-11-18 Thread Bushy
Hi, The CF code below displays directories/files on D: drive on the server using cfdirectory. I have an app where I want to FTP into the server and list directories/files the same way. I'm not sure how to incorporate CFFTP into the below code to produce the output? Can someone give me a hand?

Re: Weird PC Error - Part II

2003-11-18 Thread Stephen Moretti
Oh another suggestion... In the BIOS there is probably a setting that allows you to say whether you will be installing a Plug-and-Play OS on the machine.Try setting this to NO.This means that the M/B and BIOS will get its claws into the IRQ settings etc. rather than letting Windows attempt

Re: Re:HTML e-Newsletter

2003-11-18 Thread Doug White
From an anti-spam perspective, there is no such thing as a purchased opt-in listUsage of such a mail list is a sure route to becoming listed on blacklists. == Stop spam on your domain, use our gateway! For hosting solutions http://www.clickdoug.com Featuring

Errors when using cfcontent for an attachment

2003-11-18 Thread Darron J. Schall
I'm using cfcontent to serve up a file not in the wwwroot folder of my site. I also have a script that emails me every time an error occurs on the site. This is the code used to serve out the file: !--- in downloads.cfm, so when someone visits the page they get the download file dialog ---

cfargument required=no in cfscript???

2003-11-18 Thread BOUDOT Christian
Hi Folks, Is there any equivalence for the required attribute when the function is written with cfscript? cffunction name=fctFoo cfargument name=sFoo type=string required=no /cffunction cfscript function fctFoo(sFoo){ } /cfscript thx Chris [Todays Threads] [This Message]

RE: cfargument required=no in cfscript???

2003-11-18 Thread Pascal Peters
You can use the arguments structure for non required arguments function fctFoo(){ var sFoo = defaultValue; if(ArrayLen(arguments) GE 1) sFoo = arguments[1]; } -Original Message- From: BOUDOT Christian [mailto:[EMAIL PROTECTED] Sent: dinsdag 18 november 2003 15:09 To: CF-Talk

RE: cfargument required=no in cfscript???

2003-11-18 Thread Heald, Tim
You use the arguments array's length to determine how many arguments you have.When writing functions in CF script the arguments have to be in order, first the required attributes, and then the optional ones, so something like this: function checkName(cFirstName){ if(arrayLen(arguments) gt 1){

RE: cfargument required=no in cfscript???

2003-11-18 Thread BOUDOT Christian
That's it! Thanks :-) -Original Message- From: Heald, Tim [mailto:[EMAIL PROTECTED] Sent: mardi 18 novembre 2003 15:19 To: CF-Talk Subject: RE: cfargument required=no in cfscript??? You use the arguments array's length to determine how many arguments you have.When writing functions in CF

SOT: OO Design

2003-11-18 Thread Deanna Schneider
Hi Folks, I'm trying to get my head around OO design for CF and I have a ton of questions, of course. I'll try to keep them limited, as they're sort of off-topic (though not entirely, because whatever I have to design I have to build in CF). Here's my first basic question: When you're designing

CF JS Issue

2003-11-18 Thread Tangorre, Michael
I have a textarea on my form and it accepts users comments. I am using qForms to set the values of my form fields once the page loads which works ok... Except if the text to populate the textarea has characters that need to be escaped. When those characters are encountered the string is broken and

RE: CF JS Issue

2003-11-18 Thread Pascal Peters
JSStringFormat() -Original Message- From: Tangorre, Michael [mailto:[EMAIL PROTECTED] Sent: dinsdag 18 november 2003 15:26 To: CF-Talk Subject: CF JS Issue I have a textarea on my form and it accepts users comments. I am using qForms to set the values of my form fields once the page

RE: CF JS Issue

2003-11-18 Thread Tangorre, Michael
Thanks, just found that. -Original Message- From: Pascal Peters [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 9:38 AM To: CF-Talk Subject: RE: CF JS Issue JSStringFormat() -Original Message- From: Tangorre, Michael [mailto:[EMAIL PROTECTED] Sent: dinsdag 18

Re: SOT: OO Design

2003-11-18 Thread Dwayne Cole
So are you thinking of creating three objects: a task object, a consumable object, consumableList object that acts like a associative entity? Dwayne Cole, MS in MIS, MBA Florida AM University Certified Advanced ColdFusion Developer 850-591-0212 It can truly be said that nothing happens until

RE: OO Design

2003-11-18 Thread Mike Brunt
Deanna, one thing I have found helpful in thinking more in OO style terms with CFMX is the Mach-II framework, which evolved around the OO concepts afforded by CFMX.There is a good insight in this article by Sean Corfield, which analyzes a sample app created to demonstrate Mach-II.

Re: SOT: OO Design

2003-11-18 Thread Deanna Schneider
That's what I'm wondering if I should do, yes. Or, if it works better to just have the two objects, with the task object having an array of consumable objects. -d - Original Message - From: Dwayne Cole [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 8:59

RE: OO Design

2003-11-18 Thread d.a.collie
Got Head First Java at the weekend (good recommendation Hal :-) If you haven't got it, get it... it's funny and although I have only been able to flick through it at the moment. It's done a lot more to help me get my head round OO stuff than getting Core Servlets and JavaServer Pages (JSP) Book

RE: OO Design

2003-11-18 Thread Andy Ousterhout
Deanna, I am not sure that there is one answer.It depends on your specific usage. I used a concept of SnapShots to figure out for each of my classes what methods where needed.This helped me separate out how I would like it to work and how it actually would work. I started with a basic

Re: SOT: OO Design

2003-11-18 Thread Ben Doom
First, I wouldn't use an array.If you build a big array (say, 1024) you waste a lot of space if most tasks have 3 consumables.If you build it too small, it's too small.:-)Linked list is the way to go here. As to how to break up your objects If you use ConsumableLists in places other than

RE: SOT: OO Design

2003-11-18 Thread Andy Ousterhout
Aren't both part of the same business object, eg Task?For this task, you probably need to perform a number of actions or methods, such as Set's and Gets for: -Task Name -Description -Due Date . You also need to be able to manage resources needed to complete a task.The 2 methods that you

RE: OO Design

2003-11-18 Thread Benjamin S. Rogers
A native data type like a ColdFusion structure or array will be much faster than a component. Additionally, in writing your own component, you will introduce complexity and, as a result, more opportunity for bugs. So, in general, I'd say use a native data type unless you specifically need a

itext

2003-11-18 Thread Turetsky, Seth
Just starting using CF to generate pdf's using itext.I have it so that it's hitting a CF page that displays nested tables(3 columns with a user defined number of tables(through includes) in each column), but itext doesn't seem to be able to parse nested tables.I tried real quick to play with div

Re: OO Design

2003-11-18 Thread Deanna Schneider
Yah, I'd read that already. The MachII stuff is interesting, but it doesn't really answer my design questions. In fact, it generally makes more questions for me. But, maybe that's just how my head works. ;) -Deanna - Original Message - From: Mike Brunt [EMAIL PROTECTED] To: CF-Talk

Pollster - Intermittent Error

2003-11-18 Thread Andrew Peterson
Hi, More often than not, I am receiving an error on the Flash Poll provided by Macromedia in one of their more recent DevNet Subscription releases. The error is in a CFC that has an SQL statement that aggregates the responses and dumps them into the poll. The line the logs point to is the one

posting XML to CF - escape characters?

2003-11-18 Thread Cantrell, Adam
I'm generating an XML document in Flash and using xml.send() to pass it to ColdFusion to be saved to the server's file system. In flash I have a form that the user fills out, and that information is used to populate the XML object. When I trace the finished XML object in Flash it shows that

RE: HTML e-Newsletter

2003-11-18 Thread Matt Robertson
Jeremy Brodie wrote: CFMAIL does require an open relay to send out email Just to clarify, CFMAIL doesn't need an open relay.On pre-MX systems, The CF server's IP needs to be acceptable to an otherwise locked down mail server.This can and commonly is easily done with Imail.If you're using a mail

java in CFMX question

2003-11-18 Thread Kyle McNamara
I am doing this now before any time they try to open the file: cfobject type=JAVA name=jFile class=java.io.File action="" cfscript newAttribute = jFile.init('filenameher'); newAttribute.setReadOnly(); /cfscript ...which seems to be working well. The only thing is, ther are certain times I

RE: Pollster - Intermittent Error

2003-11-18 Thread Andrew Peterson
Just a follow up - I migrated my MS Access database to SQL Server, and am still getting the exact same issue. Also, I removed the poll from the site until this problem could be resolved, so the referring url below is useless. However, you can still see the poll at

RE: Pollster - Intermittent Error

2003-11-18 Thread Andrew Peterson
Another update - I just love when my posts turn into my own personal error log :-). For anyone keeping track, I reduced the number of records in the pollster application down to 10 from about 1700, and I am still getting the error, so the problem isn't volume. I'll keep looking, and I won't post

Re:HTML e-Newsletter

2003-11-18 Thread Jeremy Brodie
Matt, Could you point me to the SMTP AUTH discussion? I'd like to see how others approach using CFMAIL in this way. Matt also wrote: The CF server's IP needs to be acceptable to an otherwise locked down mail server. You're still allowing relaying in this case from a single (preferably)

RE: HTML e-Newsletter

2003-11-18 Thread Matt Robertson
CFMAIL does require an open relay to send out email Just to clarify, CFMAIL doesn't need an open relay You're still allowing relaying in this case from a single (preferably) non-routeable IP address. Correct, but its not an *open* relay.:-) Could you point me to the SMTP AUTH discussion? Here's

Using cfhttp to display pdf file

2003-11-18 Thread Tim Do
I'm trying to retrieve a pdf file that is from a virtual directory on the webserver using cfhttp... can anybody tell me what I'm doing wrong?All I'm getting back is something that starts out like this: %PDF-1.2 %£ 6 0 obj /Linearized 1 /O 8 /H [ 997 192 ] /L 11898 /E 9167 /N 2 /T 11661

Re: SOT: OO Design

2003-11-18 Thread Dwayne Cole
If you use 3 objects you might run into a conceptual trap.You will begin designing objects as if they were tables and that can be problem.I don't know what they are, but I do know that there are conflicts with OO and Relational Theory.THere has be alot written about incompatiblity between the two

Creating treeview structure using cfftp?

2003-11-18 Thread Bushy
Hi, Is it possible to create a treeview structure using cfftp similar to the following and by clicking on the directory will drilldown? + dir1 + dir2 + dir3 + dir4 Click on dir2 + dir2 + subdir1 + subdir2 file1 file1 file1 I've done something similar using cfdirectory and cfloop but I'm stuck

RE: java in CFMX question

2003-11-18 Thread Adrian Lynch
At a guess, have a look at the Permission class, sounds like it might be of some use. Ade -Original Message- From: Kyle McNamara [mailto:[EMAIL PROTECTED] Sent: 18 November 2003 16:03 To: CF-Talk Subject: java in CFMX question I am doing this now before any time they try to open the

Re: SOT: OO Design

2003-11-18 Thread Ben Doom
I'm not sure how 3 objects makes this any more likely than 2 objects. Am I missing something? --Ben Doom Dwayne Cole wrote: If you use 3 objects you might run into a conceptual trap.You will begin designing objects as if they were tables and that can be problem.I don't know what they are,

CFMX6.1 MS Access Driver - plain vs Unicode

2003-11-18 Thread Mark Leder
I moved an application from CF5 to MX 6.1 and I wanted to convert the existing MS access 2000 db from the std driver to the new access Unicode driver (for current and future compatibility). When I place the UTF-8 tags in where everyone suggests (in the application.cfm) and the

Re: Inserting rows into a 2d array

2003-11-18 Thread DougF
Thanks Ian, - Original Message - From: Ian Skinner [EMAIL PROTECTED] Sent: Monday, November 17, 2003 11:06 PM Subject: Re: Inserting rows into a 2d array What took me a little to get my head around, when I first learned Cold Fusion Arrays, is that, when you have a two dimension Array,

Re: SOT: OO Design

2003-11-18 Thread Nick de Voil
I'm not sure how 3 objects makes this any more likely than 2 objects. I think Dwayne is referring to the fact that, once you've gone beyond having one table or object class to model each real-world thing, the criteria you apply in each method for discovering your other artefacts are quite

Re: SOT: OO Design

2003-11-18 Thread Deanna Schneider
But to be honest, if I was using CF, OO design methodology would not be at the forefront of my mind. Okay, so I was following along, but then you throw this out there. Huh? I thought that we're all supposed to start thinking OO to fully leverage CFC's. Am I wrong here? -Deanna, procedural and

Re: Inserting rows into a 2d array

2003-11-18 Thread DougF
(sorry sent last message before it was finished) Thanks Ian, What took me a little to get my head around, when I first learned Cold Fusion Arrays, is that, when you have a two dimension Array, it does not have to be a grid or table.It is more proper to visualize it as a one dimension array,

Test...

2003-11-18 Thread Hassan Arteaga Rodriguez
-- M.Sc. Hassan Arteaga Rodrguez. Microsoft Certified System Engineer. Grupo de Desarrollo. DIGI COPEXTEL, S.A [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: SOT: OO Design

2003-11-18 Thread Ben Doom
Holy crap, was that a long and remarkably well thought-out post. You would never dream (normally) of having an entity (hence table) to model a collection of items Perhaps that's why I wasn't seeing what he meant.I'm so used to objects being over here and relational stuff being over there

Re:java in CFMX question

2003-11-18 Thread Kyle McNamara
java.io.FilePermission >From j2se/1.4.2 Javdocs: Creates a new FilePermission object with the specified actions. path is the pathname of a file or directory, and actions contains a comma-separated list of the desired actions granted on the file or directory. Possible actions are read, write,

Re: SOT: OO Design

2003-11-18 Thread Nick de Voil
Deanna Okay, so I was following along, but then you throw this out there. Huh? I thought that we're all supposed to start thinking OO to fully leverage CFC's. Am I wrong here? No, of course you're not wrong - but there's more to CF than CFC's :-) Nick [Todays Threads] [This Message]

nesting output from 2 queries

2003-11-18 Thread Tim Laureska
If you have two different queries and you want to put the output of one of those queries within the other, is that possible, if so how (group processing doesn't appear to be an option)?Such as: cfquery datasource=DSN name=query1 SELECT fields_various FROMtable1 /cfquery cfquery datasource=DSN

RE: Inserting rows into a 2d array

2003-11-18 Thread Ian Skinner
Well, my first suggestion is to combine at least the first two loops.You should be able to check for the breaks you want, while you are converting the query to the array, and insert the blank rows at that time.This way, you don't even need the ArrayInsertAt function. Something like this.

RE: nesting output from 2 queries

2003-11-18 Thread J E VanOver
Replace one (or both) your CFOUTPUT with CFLOOP QUERY=queryname -Original Message- From: Tim Laureska [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 12:08 PM To: CF-Talk Subject: nesting output from 2 queries If you have two different queries and you want to put the output of

Re: SOT: OO Design

2003-11-18 Thread Deanna Schneider
True, and that's what I've been doing for, oh 5 years now...that other stuff. ;) -Deanna - Original Message - From: Nick de Voil [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 1:54 PM Subject: Re: SOT: OO Design Deanna Okay, so I was following

Re: nesting output from 2 queries

2003-11-18 Thread Deanna Schneider
Sure...see below: cfquery datasource=DSN name=query1 SELECT fields_various FROMtable1 /cfquery cfquery datasource=DSN name=query2 SELECT columns_various FROM table2 /cfquery cfoutput query=query1 #fields_various# cfloop query=query2 !--- just loop the query instead of outputting

RE: nesting output from 2 queries

2003-11-18 Thread Ian Skinner
The simplest fix to your posted code is to use the cfloop tag for at least one of the queries.Cfloop tags can be nested. cfquery datasource=DSN name=query1 SELECT fields_various FROMtable1 /cfquery cfquery datasource=DSN name=query2 SELECT columns_various FROM table2 /cfquery cfquery

Re: SOT: OO Design

2003-11-18 Thread Deanna Schneider
I think my main problem is that I'm coming at this from a very database-centric point of view. So, I'm having a hard time changing that line of thinking. Okay, so if I go with a two object model (grossly simplified, of course), then I have a consumables object as an attribute of my task object?

Re: java in CFMX question

2003-11-18 Thread Joe Eugene
By default the file is writable, set to readonly.. if you require so.. wouldnt this work? filePath = C:\\Inetpub\wwwroot\mytest.txt; jFile = createObject(Java,java.io.File); jFile.init(filePath); jFile.setReadOnly();// only if you require it to be ready only Or You can use FilePermisssion

RE: Macromedia launches Flex (Was Royale)

2003-11-18 Thread Tyler Silcox
So it looks like Flex is a JSP application 1st, and an ASP.NET 2nd...but there's not any real mention of CFMX in the presentation.Hmmm... Tyler _ From: Mike Brunt [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 10:30 AM To: CF-Talk Subject: Macromedia launches Flex (Was

Server expire?

2003-11-18 Thread Robert Orlini
Why do I get this error when I access the CF Admin? Error Diagnostic Information An error occurred while evaluating the _expression_: request.expiration = duplicate(server.coldFusion.expiration) Error near line 27, column 8. Error resolving parameter SERVER.COLDFUSION.EXPIRATION The object

Re: Using cfhttp to display pdf file

2003-11-18 Thread Dave Carabetta
I'm trying to retrieve a pdf file that is from a virtual directory on the webserver using cfhttp... can anybody tell me what I'm doing wrong?All I'm getting back is something that starts out like this: %PDF-1.2 %£ 6 0 obj /Linearized 1 /O 8 /H [ 997 192 ] /L 11898 /E 9167 /N 2 /T 11661

Question about data validation (beginner)

2003-11-18 Thread John Munyan
I have a page which accepts several url variables.I want to make sure if someone manipulated the url in the browser and set the value outside what is handled by the page that this is handled. I was thinking I could check for the existence of the url variable and then if set check for the value

Re: SOT: OO Design

2003-11-18 Thread Ben Doom
Okay, so if I go with a two object model (grossly simplified, of course), then I have a consumables object as an attribute of my task object? Is that correct? So, if I instantiate a consumables object inside my task object, I can then call the method getallConsumables and get all the

Re: Question about data validation (beginner)

2003-11-18 Thread cf
look up the cfswitch cfcase tags, will work much ber than what ur doing. pluas u need to take those or's out and use cfelseif if u gunna do it taht way I have a page which accepts several url variables.I want to make sure if someone manipulated the url in the browser and set the value

Re: Question about data validation (beginner)

2003-11-18 Thread cf
and yes i have been drinking, lol bad spelling day look up the cfswitch cfcase tags, will work much ber than what ur doing. pluas u need to take those or's out and use cfelseif if u gunna do it taht way I have a page which accepts several url variables.I want to make sure if

Re: Question about data validation (beginner)

2003-11-18 Thread Deanna Schneider
Hi John, So, any of the chart types are acceptable? You can probably just do this: cfif isdefined(url.charttype) AND NOT listfindnocase(pie,bar,line,pyramid,area,cone,curve,cylinder,step,scatter, url.charttype) cflocation url=""> /cfif This assumes that you're only checking the charttype if the

Re: HTML e-Newsletter

2003-11-18 Thread Jochem van Dieten
Matt Robertson wrote: I searched the archives for 'smtp auth' and can't find the original and much more involved thread.The method the author was pushing is what Jochem is mentioning in his post.I've only heard one poster actually claim to have done it, and as you'll see the method has

Re: Question about data validation (beginner)

2003-11-18 Thread Ubqtous
Deanna, On 11/18/2003 at 16:19, you wrote: DS cfif NOT isdefined(url.charttype) OR NOT DS listfindnocase(pie,bar,line,pyramid,area,cone,curve,cylinder,step,scatter, url.charttype) DS cflocation url=""> DS /cfif Or cfif NOT (isdefined(url.charttype) AND

RE: Question about data validation (beginner)

2003-11-18 Thread J E VanOver
Hello. I think you're on the right track.You could make this all smaller like this: cfparam name=url.charttype default=!--- OR OTHER DEFAULT --- cfset validChartTypes=pie,bar,line,pyramid !--- ETC --- cfif not listFindNoCase(validChartTypes,url.charttype cflocation url=""> addtoken=no /cfif

OT: Unblocking Ports

2003-11-18 Thread Lee Ramsey
Hi All, I was just reading this article on Macromedia's site: http://www.macromedia.com/support/coldfusion/ts/documents/tn18336.htm, and this may be a stupid question but how do I unblock ports on my Windows server? TIA, Lee [Todays Threads] [This Message] [Subscription] [Fast

RE: Question about data validation (beginner)

2003-11-18 Thread Mike Kear
How about something like this: cfset AcceptableList = pie,bar,line,pyramid,area,cone,curve,cylinder,step,scatter cfif (IsDefined(URL.ChartType)) AND (AcceptableList DOES NOT CONTAIN url.ChartType ) pGet lost you bum!/p cfabort /cfif Chart stuff follows here because you have acceptable

CF and Java integration..

2003-11-18 Thread Hassan Arteaga Rodriguez
Hi all: I'm looking for a Java reference in PDF or chm format about the most used packages and short examples. I'd like to startdevelop some examples with CF MX 6.1 using java classes. Just to start !!! *in CFLib.org it's a good example how to implement zip features with java.util.zip

RE: Question about data validation (beginner)

2003-11-18 Thread John Munyan
Thank you all very much :-)It is working like a champ!!I really appreciate everyone's help! Sincerely, John -Original Message- From: Deanna Schneider [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 1:20 PM To: CF-Talk Subject: Re: Question about data validation (beginner)

Re: Question about data validation (beginner)

2003-11-18 Thread Deanna Schneider
You wouldn't want to use contains for this. Contains doesn't look for the whole string as a unit, just the piece. If you take your example and set a cfparam name=url.charttype default=ie it'll pass the cfif because pie contains ie. -d - Original Message - From: Mike Kear [EMAIL

Re:java in CFMX question

2003-11-18 Thread Kyle McNamara
hey joe, my read only approach works already... it is just trying to write that is the trouble now... ity appears that the syntax you gave me was the smae thing I did using cfobject.. also, a guy from a java posting said this: FilePermission is used in conjunction with SecurityManager and .policy

kloodge

2003-11-18 Thread Kyle McNamara
hey, does anyone have ideas about how to cloodge the process of making a file writeable? i thought about renaming it to itself or something... thanks, k [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: Using cfhttp to display pdf file

2003-11-18 Thread Tim Do
Thanks Dave, But now I'm getting this error: coldfusion.runtime.Cast$ComplexByteArrayException: ByteArray objects cannot be converted to strings. -Original Message- From: Dave Carabetta [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 12:53 PM To: CF-Talk Subject: Re:

RE: Using cfhttp to display pdf file

2003-11-18 Thread Dave Carabetta
Thanks Dave, But now I'm getting this error: coldfusion.runtime.Cast$ComplexByteArrayException: ByteArray objects cannot be converted to strings. OK, I got that error before when I was using getAsBinary on a PDF. Not really sure why I got the error because a PDF is technically a binary file,

Re: SOT: OO Design

2003-11-18 Thread Dwayne Cole
What is a consumable? Dwayne Cole, MS in MIS, MBA Florida AM University Certified Advanced ColdFusion Developer 850-591-0212 It can truly be said that nothing happens until there is vision. But it is equally true that a vision with no underlying sense of purpose, no calling, is just a good

RE: Question about data validation (beginner)

2003-11-18 Thread Douglas.Knudsen
further...add in cfparam name=url.charttype default= at the top and avoid all those IsDefined() calls.cfdefaultcase in the cfswitch can catch when the url var doesn't exist. Doug -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 4:11

RE: Using cfhttp to display pdf file

2003-11-18 Thread Dave Carabetta
Thanks Dave, But now I'm getting this error: coldfusion.runtime.Cast$ComplexByteArrayException: ByteArray objects cannot be converted to strings. Actually, a quick read of the LiveDocs stuff might solve this. Try putting: cfoutput#toString(cfhttp.fileContent)#/cfoutput when using the

RE: Question about data validation (beginner)

2003-11-18 Thread Douglas.Knudsen
doh!me thinks I've been dwinkin two!:| -Original Message- From: Knudsen, Douglas Sent: Tuesday, November 18, 2003 4:18 PM To: CF-Talk Subject: RE: Question about data validation (beginner) further...add in cfparam name=url.charttype default= at the top and avoid all those IsDefined()

RE: Macromedia launches Flex (Was Royale)

2003-11-18 Thread Dwayne Cole
It looks like Flex is to .swf as ColdFusion is to .HTML and the the new product Brady is the equivalent of ColdFusion Studio.Dreamweaver, the be all to all has inherited even more responsibility. Dwayne Cole, MS in MIS, MBA Florida AM University Certified Advanced ColdFusion Developer

Re: SOT: OO Design

2003-11-18 Thread Deanna Schneider
It's anything that costs actual money (as opposed to our time, which is tracked differently and is only funny money). For example, it's an outside contractor's services (because we actually pay them) as well as blank disks for a CD duplication job. You have to bill consumables to a particular task

RE: Using cfhttp to display pdf file

2003-11-18 Thread Tim Do
I saw that earlier.. but that didn't work for me either... running out of ideas =( cfhttp url=""> il_200310.pdf https://inview.wng.com/investor/resource/2010/AgingDetail/2010AgingDetail_2 00310.pdf method=GET getAsBinary=yes /cfhttp cfcontent type=application/pdf cfoutput#ToString

RE: Using cfhttp to display pdf file

2003-11-18 Thread Dave Carabetta
I saw that earlier.. but that didn't work for me either... running out of ideas =( cfhttp url=""> il_200310.pdf https://inview.wng.com/investor/resource/2010/AgingDetail/2010AgingDetail_2 00310.pdf method=GET getAsBinary=yes /cfhttp cfcontent type=application/pdf cfoutput#ToString

RE: RE: Macromedia launches Flex (Was Royale)

2003-11-18 Thread Mike Brunt
There is a very good blog entry pointed out by Sean Corfield from David Mendels of Macromedia.It explains what Flex is and what the aims are.It compares Flex to the aims of MS's Longhorn. We will see or have seen the MS's Flash Killer-Sparkles BS this article is a good loin-girder to that

RE: Using cfhttp to display pdf file

2003-11-18 Thread Jeff Beer
Are you using cf5?I could not make it work on CF5, but it works like a charm on CFMX (6.1): cfsetting enablecfoutputonly=yes showdebugoutput=no cfhttp GetAsBinary=yes url=""> method=GET/cfhttp cfcontent type=application/pdfcfoutput#trim(toString(cfhttp.filecontent))#/c foutput -Original

RE: Using cfhttp to display pdf file

2003-11-18 Thread Tim Do
I'm using mx6.1 as well... I took the binary data and pasted it into a file and saved with .pdf extension.. tired to open it and got The file is damaged and could not be repaired.Sometimes the browser would prompt and sometimes it would just display the binary data. -Original Message-

OT: JJ Allaire?

2003-11-18 Thread peter . tilbrook
Does anyone know what JJ Allaire'es full name is (ie what is JJ short for). I saw it somewhere years ago but can't remember what it is. Also any ColdFusion trivia tidbits? Thanks! Peter Tilbrook Transitional Services - Enterprise eSolutions Centrelink (http://www.centrelink.gov.au) 2 Faulding

  1   2   >