RE: cfcatch scope just says [unknown type]

2004-12-02 Thread Martin Parry
Hi Matt - Sorry to hear the fix isn't working on your machine.. Can't
cover all bases I guess. I don't doubt you installed the code to the
correct folder but are you using the standalone version or the JRun
version ? 

Secondly, did you say it was working on the live server ?

So, try removing all the .class files that CF generates - just in case
it isn't recompiling the DUMP tag. Usually in
CFusionMX\wwwroot\WEB-INF\cfclasses

If you want to try getting the tag working locally for you we can carry
on this thread if you like - I know how frustrating these MM bugs can
be. Like removing the URL requesttimeout=xx functionality - broke a
lot of things that did ..

Regards

Martin Parry
Macromedia Certified Developer
http://www.BeetrootStreet.com

-Original Message-
From: Matt Robertson [mailto:[EMAIL PROTECTED] 
Sent: 01 December 2004 21:03
To: CF-Talk
Subject: Re: cfcatch scope just says [unknown type]

OK thanks.  I just checked and my live server does indeed have the
cfdump fix on it, which isn't working here.  Its Martin Parry's
BeetrootStreet.com cfdump update.  Maybe its not a fix for the same
thing.

At least I can loop over the scope, though.  One heck of a lot easier
to revise my error templates than it is disabling them all.


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185905
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Cold Fusion Forum Applications

2004-12-02 Thread Massimo Foti
 Isn't there anything else?  Doesn't anyone know of others?  A list of one
 doesn't really constitute much of a list.

Among my boomarks I have these:


Free:
http://www.adersoftware.com/index.cfm?page=cfbb
http://www.cfmbb.org/
http://www.stickshiftsolutions.com/
http://sourceforge.net/projects/fbopenforums/
http://sourceforge.net/projects/smb/

Commercial:
http://www.activefeedback.com/af/products/activeforum/
http://www.eruditionzone.com/index.cfm?fuseaction=cfboards
http://www.insapi.com/products/dotTalk/
http://www.quilldesign.com/qdforums/index.cfm


Then there is Galleon, I think it's only available from a DRK, but I may be
wrong:
http://www.camdenfamily.com/morpheus/forums/index.cfm

Hope it will help


Massimo Foti
DW tools: http://www.massimocorner.com
CF tools:  http://www.olimpo.ch/tmt/




~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185906
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Validating CSV data

2004-12-02 Thread Brant Winter
Hi all - I have read in a stack of CSV data via the code:

cfhttp url=20041202_4.csv name=qGetCSV method=GET timeout=40 
delimiter=, textqualifier=/cfhttp

I am already sorting this data and getting it into DB tables etc etc, I would 
just like to knwo the best way to validate the data. I want to know that when 
the client is uploading the data that say all fields have data in each row of 
the csv file. I also want to know that there are the right number of columns in 
the data etc etc.

I am usin cfqueryparam tags to get the data into the DB from the insert 
query, but I need to catch errors before they hit this query. The query I am 
using to go through the qGetCSV query is just a simple loop over the inital CSV 
table.

Brant



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185907
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFMX: DNS cache?

2004-12-02 Thread John Beynon
I wouldn't be surprised. Someone experienced something similar with
cfhttp, see http://tjordahl.blogspot.com/2004/10/cfmx-and-dns-caching.html

jb.



On Thu, 2 Dec 2004 12:54:44 +1000, Jon Austin [EMAIL PROTECTED] wrote:
 Does CFMX have its own DNS resolver cache?
 
 From the Windows command prompt, the address (mail server in this
 case) resolves correctly, but intermittently, CFPOP is using the old
 IP of our mail server (this changed about 4 days ago).
 
 Very frustrating; tried flushing the Windows DNS cache and
 stopping/starting the CFMX service.
 
 Any other suggestions?
 
 Kind Regards,
 
 Jon
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185908
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Installing CFMX on Mac OS X (root user?)

2004-12-02 Thread Matt Woodward
If you can't successfully run the jar command chances are you're probably not 
in the right directory, and if you aren't giving it path information to the 
file the jar command probably just can't find the file you're trying to unjar.

I wrote up some instructions for the EAR deployment here that may help a bit:
http://mattwoodward.com/blog/index.cfm?mode=entryentry=288A9AE3-3048-2950-E06AC9A4628DA7A8

The WAR deployment is a lot easier, however, so I'd go with that installation 
type if I were you.  I just thought maybe those instructions would give you 
some insight about the command line stuff.  I've been meaning to write up some 
annotated WAR deployment instructions but I haven't had time yet.

I think since it sounds like you may have stuff in the wrong place, etc. you 
might just want to delete the files you've expanded and start over, following 
the directions very, very carefully.  They really do work.  I'll post again if 
I get a chance to do some annotated WAR instructions because this really is a 
much simpler procedure than the EAR deployment.

Matt

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185909
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Cold Fusion Forum Applications

2004-12-02 Thread Raymond Camden
Correct, as of now, Galleon is only available via DRK.


On Thu, 2 Dec 2004 09:25:52 +0100, Massimo Foti [EMAIL PROTECTED] wrote:
 Then there is Galleon, I think it's only available from a DRK, but I may be
 wrong:
 http://www.camdenfamily.com/morpheus/forums/index.cfm
 
 Hope it will help
 
 
 Massimo Foti
 DW tools: http://www.massimocorner.com
 CF tools:  http://www.olimpo.ch/tmt/
 

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185910
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Testing for existance of a Structure within an Array

2004-12-02 Thread Brant Winter
I have spent hours trying to write a function for error checking a csv file. In 
my function I want to check each field, and if there is an error put the 
errored text in a structure in an array, the array index will be relevant to 
the current row id of the query i am looping, and there will be a structure of 
the errors in each array element ( if that makes sense )

In total I have 24 fields of each row to check, hence me wanting to put the 
errors in an array so that I can provide an error report to the person 
uploading the csv file.

I have no idea how to test for the existance of the structure for each item i 
want to test, i create the array first, then i will check each type of field, 
but i dont want to issue a 
cfset errorArray[#rowid#]=StructNew() if one is already created.

cffunction name=ValidateCSV returntype=array
cfargument name=rowid
cfargument name=medicarenumber
cfargument name=firstname

cfset errorArray=ArrayNew(1)

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185911
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Testing for existance of a Structure within an Array

2004-12-02 Thread Micha Schopman
cfif NOT isStruct(errorArray[#rowid#]) 

but then .. if you are checking for a struct in a variable, what does
that variable contain initially ?

Micha Schopman
Software Engineer

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380



~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185912
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Testing for existance of a Structure within an Array

2004-12-02 Thread Bert Dawson
Rather than putting the error structure into an array, why not use a
structure? Then rather than having an array whuch is mostly empty
you'll have a structure which only contains errors.

so rather than
errorsArray[rowNumber] = stError;
you could do
errorsStructure[rowNumber] = stError;

does that makes sense? or did i misunderstand what you're doing?

Cheers
Bert

On Thu, 02 Dec 2004 08:31:16 -0400, Brant Winter [EMAIL PROTECTED] wrote:
 if there is an error put the errored text in a structure in
an array, the array index will be relevant to the current row id of
the query i am looping, and there will be a structure of the errors in
each array element ( if that makes sense )


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185913
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Testing for existance of a Structure within an Array

2004-12-02 Thread Brant Winter
The structure should initially be empty, or it may contain a value for anyone 
of 24 different errored fields.

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185914
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Testing for existance of a Structure within an Array

2004-12-02 Thread Robertson-Ravo, Neil (RX)
So, there is no real reason to check if one exists as it will always contain
a struct ;-)





-Original Message-
From: Brant Winter [mailto:[EMAIL PROTECTED] 
Sent: 02 December 2004 12:55
To: CF-Talk
Subject: Re: Testing for existance of a Structure within an Array

The structure should initially be empty, or it may contain a value for
anyone of 24 different errored fields.



~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185915
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Testing for existance of a Structure within an Array

2004-12-02 Thread Dwayne Cole
well would you run into a problem with the array if you set each array index to 
the current row of your query loop.  For example

errorArray[1].etc
errorArray[5].etc
errorArray[22].etc

I thought that when building and array you have to sequence your index values.  
If this is true you might need to create some other counter with in the loop 
for example

cfset errorIndex = 0
cfloop index=i from=1 to=listLen(arguments.ValidateCSV)

   cfif an error is found
*Increment the error Index
  
cfset errorIndex = errorIndex + 1

 *Now append the array*
cfset errorArray[errorIndex]

   /cfif
/cfloop

/cfloop


-- Original Message --
From: Brant Winter [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Thu, 02 Dec 2004 08:31:16 -0400

I have spent hours trying to write a function for error checking a csv file. 
In my function I want to check each field, and if there is an error put the 
errored text in a structure in an array, the array index will be relevant to 
the current row id of the query i am looping, and there will be a structure of 
the errors in each array element ( if that makes sense )

In total I have 24 fields of each row to check, hence me wanting to put the 
errors in an array so that I can provide an error report to the person 
uploading the csv file.

I have no idea how to test for the existance of the structure for each item i 
want to test, i create the array first, then i will check each type of field, 
but i dont want to issue a 
cfset errorArray[#rowid#]=StructNew() if one is already created.

cffunction name=ValidateCSV returntype=array
   cfargument name=rowid
   cfargument name=medicarenumber
   cfargument name=firstname
   
   cfset errorArray=ArrayNew(1)



~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185916
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Installing CFMX on Mac OS X (root user?)

2004-12-02 Thread Jeff Small
 If you can't successfully run the jar command chances are you're probably 
 not in the right directory, and if you aren't giving it path information 
 to the file the jar command probably just can't find the file you're 
 trying to unjar.

Okay, so if I'm in, say, Applications/Jrun4/servers/default/CFIDE and the 
war file is in Powerbook/Applications (remember, I expanded the war files 
to this directory that the jar file created because I typed the path in 
wrong) I need to give the path in the jar command that points to the rds.war 
file in that applications folder?

 I think since it sounds like you may have stuff in the wrong place, etc. 
 you might just want to delete the files you've expanded and start over, 
 following the directions very, very carefully.  They really do work.  I'll 
 post again if I get a chance to do some annotated WAR instructions because 
 this really is a much simpler procedure than the EAR deployment.

I can do that? I can just delete the folders that the jar file created and 
just start over? How do I correctly tell the jar file where to install the 
war files? 



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185917
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Testing for existance of a Structure within an Array

2004-12-02 Thread Brant Winter
Rather than putting the error structure into an array, why not use a
structure? Then rather than having an array whuch is mostly empty
you'll have a structure which only contains errors.

so rather than
errorsArray[rowNumber] = stError;
you could do
errorsStructure[rowNumber] = stError;

does that makes sense? or did i misunderstand what you're doing?

Cheers
Bert

On Thu, 02 Dec 2004 08:31:16 -0400, Brant Winter [EMAIL PROTECTED] wrote:
 if there is an error put the errored text in a structure in
an array, the array index will be relevant to the current row id of
the query i am looping, and there will be a structure of the errors in
each array element ( if that makes sense )


Bert - I think that is I have 24 fields per row, if I have multiple errors per 
row they wont be able to be written as a group of errors if you know what i 
mean ? What I want is an array with the row number as the element number, and 
in that a structure that may have 24 elements in total.

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185918
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFDIRECTORY question

2004-12-02 Thread Robert Orlini
With your suggestion and a few tweaks it does what I want.

Thanks Mike!

Robert O.

-Original Message-
From: Dawson, Michael [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 01, 2004 4:34 PM
To: CF-Talk
Subject: RE: CFDIRECTORY question


Why not just use CFDIRECTORY on each page request?  This will ensure
that you have the most up-to-date list of directories.

What is the point of adding these to the database which could quickly
become outdated?

If you still need to do this, I would query the database, then run
CFDIRECTORY.  Then, put it all together with a Query of Query.  You
should be able to find the differences between the two.

M!ke 

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 01, 2004 2:42 PM
To: CF-Talk
Subject: CFDIRECTORY question

I have this cfdirectory code (see below) that I want to read a list of
directory names and then insert into a table. 

However, this script will be running each time a user accesses drop-down
list. I want to list the current directories and any new directory names
that have been added.

At this point it will add the directory names numerous times along with
any new directories.

How can it just add new directories to the table using this cfdirectory
script?

Thanks!
 
cfdirectory 
   directory=#GetDirectoryFromPath(GetTemplatePath())# 
   name=myDirectory
   
cfloop query=myDirectory
cfif type EQ dir
CFQUERY name=get datasource=marketing
INSERT INTO directories (name)
VALUES ('#mydirectory.name#')
Where #mydirectory.name# != '#name#'
/CFQUERY
/cfif
/cfloop

Robert O.
HWW





~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185919
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Testing for existance of a Structure within an Array

2004-12-02 Thread Bert Dawson
set stAllMyErrors = StructNew()

loop through each row
set tmpErrStruct = StructNew()
loop through the columns
if this column is bad
set tmpErrStruct[columnname] = 'there was an error in 
this column'
/if
/loop

if NOT structIsEmpty(tmpErrStruct)
set stAllMyErrors[thisrow] = tmpErrStruct
/if
/loop

Then stAllMyErrors should contain a structure of any errors for each
row which had an error, and nothing else.
Yes?
No?

Bert


On Thu, 02 Dec 2004 09:15:05 -0400, Brant Winter [EMAIL PROTECTED] wrote:

 Bert - I think that is I have 24 fields per row, if I have multiple errors 
 per row they wont be able to be written as a group of errors if you know what 
 i mean ? What I want is an array with the row number as the element number, 
 and in that a structure that may have 24 elements in total.
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185920
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


PerfMon to track CFC usage?

2004-12-02 Thread Matthew Drayer
Hi there,

Does anyone know of some specific performance monitor metrics that I can use to 
track CFC usage?  Now that we cache a lot of data in persistent CFCs, I don't 
see as much database traffic.  I'm already tracking CPU and RAM utilization, 
but is there some sort of metric-delta I can look at?

Thanks,

Matt

Matthew Drayer
Web Development Coordinator
HCPro, Inc.
Marblehead MA
[EMAIL PROTECTED]

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185921
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Testing for existance of a Structure within an Array

2004-12-02 Thread Brant Winter
The following code is pretty much doing what I need, but I am not sure how to 
call it from my code. Basically I read in a CSV file using the following line 
of code:

cfhttp url=20041202_4.csv name=qGetScripts method=GET timeout=40 
delimiter=, textqualifier=/cfhttp

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185922
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Testing for existance of a Structure within an Array

2004-12-02 Thread Brant Winter
The following code is pretty much doing what I need, but I am not sure how to 
call it from my code. Basically I read in a CSV file using the following line 
of code:

cfhttp url=20041202_4.csv name=qGetScripts method=GET timeout=40 
delimiter=, textqualifier=/cfhttp

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185923
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


CFFile or CFDirectory?

2004-12-02 Thread Robert Orlini
I'm using cfdirectory successfully to list the directory names and then list 
them in a drop-down menu.

Now after a user selects the directory name I would like it to load a specific 
file in that directory.

Is that done with cffile or again using cfdirectory in some other way?

Thanks as always.

Robert O.
ô¿ô


Here is my code so far: 

cfdirectory 
   directory=#GetDirectoryFromPath(GetTemplatePath())# 
   name=myDirectory

form action=select_directory.cfm method=post name=dropdown
select name=name style=font-family: Verdana; font-size: 8pt; color: 
#80; font-weight:bold; background-color:#EBEBEB 
onchange=this.form.submit();
option value=Select Trial/option
cfoutput query=myDirectory
CFIF name NEQ '_vti_cnf' and name NEQ 'application.cfm' and name NEQ '..' and 
name NEQ '.' and name NEQ 'MTManager' and name NEQ 'err_req.cfm' and name NEQ 
'err_valid.cfm' and name NEQ 'scheduled_trial_email' and name NEQ 'template'
option value=#name#
#name#/option
/cfif
/cfoutput
/select
/form

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185924
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Testing for existance of a Structure within an Array

2004-12-02 Thread Brant Winter
My example code is being truncated from this list somehow. 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185925
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Good books on Web Application Architecture (was RE: CFMODULE vs. CFINCLUDE)

2004-12-02 Thread Jerry Johnson
Which brings up a follow on thread:

What would you recommend as good reading on Architecture?

Jerry

Jerry Johnson
Web Developer
Dolan Media Company

 [EMAIL PROTECTED] 12/02/04 02:53AM 
To write a good application, knowing ColdFusion is only 1% and most
people don't seem to understand that until they are confronted with
architectures providing speed, reliability, robustness and developer
support. Most people then start buying books about architecture.. 



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185926
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFFile or CFDirectory?

2004-12-02 Thread Jeremy Bunton
That would be cffile.

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 02, 2004 9:36 AM
To: CF-Talk
Subject: CFFile or CFDirectory?

I'm using cfdirectory successfully to list the directory names and then
list them in a drop-down menu.

Now after a user selects the directory name I would like it to load a
specific file in that directory.

Is that done with cffile or again using cfdirectory in some other way?

Thanks as always.

Robert O.
ô¿ô


Here is my code so far: 

cfdirectory 
   directory=#GetDirectoryFromPath(GetTemplatePath())# 
   name=myDirectory

form action=select_directory.cfm method=post name=dropdown
select name=name style=font-family: Verdana; font-size: 8pt; color:
#80; font-weight:bold; background-color:#EBEBEB
onchange=this.form.submit();
option value=Select Trial/option
cfoutput query=myDirectory
CFIF name NEQ '_vti_cnf' and name NEQ 'application.cfm' and name NEQ '..'
and name NEQ '.' and name NEQ 'MTManager' and name NEQ 'err_req.cfm' and
name NEQ 'err_valid.cfm' and name NEQ 'scheduled_trial_email' and name NEQ
'template'
option value=#name#
#name#/option
/cfif
/cfoutput
/select
/form



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185927
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Testing for existance of a Structure within an Array

2004-12-02 Thread COLLIE David
 My example code is being truncated from this list somehow. 

Prolly the hyphens... If you have -- (or a some other amount) in the
code it cuts it.  Make sure there isn't and the message isn't too long

-- 
dc

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185928
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Installing CFMX on Mac OS X (root user?)

2004-12-02 Thread Matt Woodward
 If you can't successfully run the jar command chances are you're probably 
 not in the right directory, and if you aren't giving it path information 
 to the file the jar command probably just can't find the file you're 
 trying to unjar.

Okay, so if I'm in, say, Applications/Jrun4/servers/default/CFIDE and the 
war file is in Powerbook/Applications (remember, I expanded the war files 
to this directory that the jar file created because I typed the path in 
wrong) I need to give the path in the jar command that points to the rds.war 
file in that applications folder?

Yes, if I understand what you're saying this is correct.  Just remember that to 
start at the root you have to have a / at the beginning of your path, otherwise 
it'll start drilling down from your current directory.  So if your war file is 
in /Powerbook/Applications (remember Unix is case-sensitive as well, so 
/PowerBook/Applications and /Powerbook/Applications are NOT the same thing 
...), then you would just have to point to that directory with your jar command.

I can do that? I can just delete the folders that the jar file created and 
just start over? How do I correctly tell the jar file where to install the 
war files?

Yes, you can delete what you have and start over.  Not sure I get what you mean 
about telling the jar file where to install the war files--you designate this 
during the installation process.  In the end it doesn't matter where your war 
files are as long as you know where they are so you can point to the right 
place when you're doing the extraction, but if you want to follow the 
directions to the letter, it's probably a lot easier if you tell the installer 
to create the war files in the exact same place as in the instructions.

Matt

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185929
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Hosting for Coldfusion

2004-12-02 Thread Steven Wojciechowski
I'm looking to good hosting that provides support for Coldfusion and
came across http://www.easycgi.com. Does anyone have any experience
with them?

The hosting is only for a personal website, so value for money is
essential, though I do tend to use a lot of bandwidth (around 4000
visitors a day), so the other packages I've found that offer 5GB
transfer per month are not of much use to me :(

If anyone has any other suggestions of good value CF hosting with good
bandwidth packages, then please let me know.  If not, then I may have
to think about redeveloping in PHP ;)

Thanks
Stevie

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185930
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Numbers -- CF sites, CF Hosts, etc.

2004-12-02 Thread Dick Applebaum
In a thread on programming languages on another list, statements are 
being made like:

   Coldfusion -- I didn't think anyone still used that!

I can handle the technical comparisons but would like to get:

1) Gestimate of number of CF users

2) Gestimate of number of CF Hosting providers

3) Some high-profile CF sites.


TIA

Dick

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185931
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Hosting for Coldfusion

2004-12-02 Thread Ryan Mannion
www.crystaltech.com. I used to have many sites hosted with them on
shared hosting, but I've now gone on to rent a dedicated server from
them. Shared hosting is around 15 per month, and the dedicated boxes
are like 230 a month. Excellent support, and hosting, I would
recommmend them highly.

Ryan


On Thu, 2 Dec 2004 15:10:25 +, Steven Wojciechowski
[EMAIL PROTECTED] wrote:
 I'm looking to good hosting that provides support for Coldfusion and
 came across http://www.easycgi.com. Does anyone have any experience
 with them?
 
 The hosting is only for a personal website, so value for money is
 essential, though I do tend to use a lot of bandwidth (around 4000
 visitors a day), so the other packages I've found that offer 5GB
 transfer per month are not of much use to me :(
 
 If anyone has any other suggestions of good value CF hosting with good
 bandwidth packages, then please let me know.  If not, then I may have
 to think about redeveloping in PHP ;)
 
 Thanks
 Stevie
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185932
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Hosting for Coldfusion

2004-12-02 Thread Tangorre, Michael
 From: Steven Wojciechowski [mailto:[EMAIL PROTECTED] 
 If anyone has any other suggestions of good value CF hosting 
 with good bandwidth packages, then please let me know.  If 
 not, then I may have to think about redeveloping in PHP ;)

This topic comes up all the time. The archives will be the best bet for
research on this topic. I would highly recommend www.hostmysite.com as
their service and up time are awesome. Depending upon your needs, they
have some excellent plans.

Mike

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185933
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Numbers -- CF sites, CF Hosts, etc.

2004-12-02 Thread Massimo Foti
 1) Gestimate of number of CF users

MM people mentioned 300.000 developers in the past


 2) Gestimate of number of CF Hosting providers

This is definitely incomplete:
http://www.forta.com/cf/isp/


 3) Some high-profile CF sites.

http://www.forta.com/cf/using/

Even better:
http://www.forta.com/cf/using/

My first choice as top CF website:
http://www.victoriassecret.com/

:-)))


Massimo Foti
DW tools: http://www.massimocorner.com
CF tools:  http://www.olimpo.ch/tmt/




~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185934
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


cfargument ?? Driving me nuts, bolts and screws

2004-12-02 Thread Dwayne Cole
I created a UDF using cffunction name=wrap.  I set up the up arguments, 
approximately 30, and defined all the default values, one of which is 
cfargument name=wrapperImageType default=gif.

UDF CALL
I call the function using cfinvoke method=wrap wrapperImageType=jpg

PROBLEM:
The function is not changing the default value to the value that I pass. Wait, 
ONLY FOR THAT ONE ARGUMENT, all others work fine.

Is this a known bug.

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185935
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Numbers -- CF sites, CF Hosts, etc.

2004-12-02 Thread Dave Francis
Do you mean topless site ;))


-Original Message-

My first choice as top CF website:
http://www.victoriassecret.com/

:-)))


Massimo Foti
DW tools: http://www.massimocorner.com
CF tools:  http://www.olimpo.ch/tmt/


~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185936
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: cfargument ?? Driving me nuts, bolts and screws

2004-12-02 Thread Raymond Camden
Is this a CFC or a UDF? If it is a UDF, you should call it,

cfset x = wrap()

However, you do know that wrap is a function already in MX?

If you made it a CFC method, which I think you did since that _would_
be ok, you may want to make sure you didn't accidently typo the
argument name, as it is a bit long.

Also, 30 args for a UDF or a method is kinda extreme. You sure it
needs that many?


On Thu,  2 Dec 2004 10:37:22 -0500, Dwayne Cole [EMAIL PROTECTED] wrote:
 I created a UDF using cffunction name=wrap.  I set up the up arguments, 
 approximately 30, and defined all the default values, one of which is 
 cfargument name=wrapperImageType default=gif.
 
 UDF CALL
 I call the function using cfinvoke method=wrap wrapperImageType=jpg
 
 PROBLEM:
 The function is not changing the default value to the value that I pass. 
 Wait, ONLY FOR THAT ONE ARGUMENT, all others work fine.
 
 Is this a known bug.
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185937
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


New cfml file manager - CFFM

2004-12-02 Thread Rick Root
I wrote a new file manager yesterday.  It's written in CFML and 
implemented in a single file, designed for EASY integration into your 
existing web site management solutions.

It has been tested to run on BD 6.1 for Linux and CFMX 6.1 for Windows 
with zero changes.

It allows you to upload files, create files and directories, rename 
files and directories, delete files and directories, edit text files, 
and view the source of text files.

The main distribution includes no authentication, because it's meant to 
be integrated into whatever authentication mechanism you're already 
using.  In otherwords, if you don't have an authentication mechanism, 
you'll have to write one =)

For a demo and code downloads, go to http://www.webworksllc.com/cffm/

Please let me know what you think!

Rick Root

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185938
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: cfargument ?? Driving me nuts, bolts and screws

2004-12-02 Thread Joe Rinehart
Dwayne,

Try using the CFINVOKEARGUMENT tag to pass the argument.

It's cumbersome, and why most of us would call the method ECMA style
instead of with cfinvoke/cfinvokeargument.  I.e.:

!--- assume myObject is the object you've created ---
!--- Rely on ordered params ---
cfset myObject.wrap(arg1, arg2, arg3) /
!--- Named params ---
cfset myObject.wrap(wrapperImageType=jpg) /

-joe


On Thu,  2 Dec 2004 10:37:22 -0500, Dwayne Cole [EMAIL PROTECTED] wrote:
 I created a UDF using cffunction name=wrap.  I set up the up arguments, 
 approximately 30, and defined all the default values, one of which is 
 cfargument name=wrapperImageType default=gif.
 
 UDF CALL
 I call the function using cfinvoke method=wrap wrapperImageType=jpg
 
 PROBLEM:
 The function is not changing the default value to the value that I pass. 
 Wait, ONLY FOR THAT ONE ARGUMENT, all others work fine.
 
 Is this a known bug.
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185939
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


CFAdmin setting - Timeout Requests after ....

2004-12-02 Thread Katz, Dov B (IT)
Does anyone set this? If so, to what value? I'm looking to help the
server recover from unusually high loads at any given time.
 
-Dov 

 
NOTICE: If received in error, please destroy and notify sender.  Sender does 
not waive confidentiality or privilege, and use is prohibited. 
 


~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185940
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Installing CFMX on Mac OS X (root user?)

2004-12-02 Thread Dave Watts
 and I can't successfully run the 'jar -xvf' command.

All this command does is extract the contents of the JAR/WAR/EAR file into a
directory. The JAR format is actually just a ZIP file. Presumably, the
reason this doesn't work for you is that the jar executable isn't in your
path. So, you can either find out the correct path and explicitly specify it
or set it as an environment variable, or you can use any zip-compatible tool
to extract the files for you. I do this on Windows all the time by just
renaming the files from .war to .zip and using WinZip or the built-in
Windows zip tools in XP and Windows Server 2003.

 I created the directories (cfusion and CFIDE) under the default  
 directory in my servers directory under jrun, which is in my  
 applications folder. Did I screw that up?

You will want to extract cfusion.war and rds.war into your application
server's directory. On my Windows machine, that ends up being something like
this: c:\jrun4\servers\cfusion\cfusion-ear. Presumably, if you install into
the default instance of JRun, you'd have something like
c:\jrun4\servers\default\cfusion-ear. Obviously, your paths on OS X will be
a little different, but probably not much.

Dave Watts, CTO, Fig Leaf Software 
http://www.figleaf.com/ 
phone: 202-797-5496 
fax: 202-797-5444


~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185941
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: PerfMon to track CFC usage?

2004-12-02 Thread Nathan Strutz
There's no perfmon specific tracking for CFCs, but why not cflog 
everything, then read that log file for your results, or make a 
persistant hit-counter or metrics system to log it, then output it to a 
cfm page.

-nathan strutz
http://www.dopefly.com/


Matthew Drayer wrote:
 Hi there,
 
 Does anyone know of some specific performance monitor metrics that I can use 
 to track CFC usage?  Now that we cache a lot of data in persistent CFCs, I 
 don't see as much database traffic.  I'm already tracking CPU and RAM 
 utilization, but is there some sort of metric-delta I can look at?
 
 Thanks,
 
 Matt
 
 Matthew Drayer
 Web Development Coordinator
 HCPro, Inc.
 Marblehead MA
 [EMAIL PROTECTED]
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185942
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: New cfml file manager - CFFM

2004-12-02 Thread Russell Patterson
Hello Rick,

Good Job!  I have been looking for something just like this.

Russell

- Original Message - 
From: Rick Root [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 9:47 AM
Subject: New cfml file manager - CFFM


I wrote a new file manager yesterday.  It's written in CFML and
 implemented in a single file, designed for EASY integration into your
 existing web site management solutions.

 It has been tested to run on BD 6.1 for Linux and CFMX 6.1 for Windows
 with zero changes.

 It allows you to upload files, create files and directories, rename
 files and directories, delete files and directories, edit text files,
 and view the source of text files.

 The main distribution includes no authentication, because it's meant to
 be integrated into whatever authentication mechanism you're already
 using.  In otherwords, if you don't have an authentication mechanism,
 you'll have to write one =)

 For a demo and code downloads, go to http://www.webworksllc.com/cffm/

 Please let me know what you think!

 Rick Root

 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185943
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFAdmin setting - Timeout Requests after ....

2004-12-02 Thread Douglas Knudsen
yes, a Good Thing(tm)!  see
http://www.macromedia.com/support/coldfusion/ts/documents/request_threadwaittimeout.htm

Doug


On Thu, 2 Dec 2004 11:03:28 -0500, Katz, Dov B (IT)
[EMAIL PROTECTED] wrote:
 Does anyone set this? If so, to what value? I'm looking to help the
 server recover from unusually high loads at any given time.
 
 -Dov
 
 
 NOTICE: If received in error, please destroy and notify sender.  Sender does 
 not waive confidentiality or privilege, and use is prohibited.
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185944
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Cold Fusion Forum Applications

2004-12-02 Thread Dennis Powers
 Among my boomarks I have these:

Thank you very much. I was hoping to compile a list from everyone's
responses this is a very big help.

Best Regards,

Dennis Powers
UXB Internet- A Website Design and Hosting Company
690 Wolcott Road - P.O. Box 6028
Wolcott, CT 06716tel: (203)879-2844
http://www.uxbinternet.com
http://dennis.uxb.net




~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185945
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: Website Documentation?

2004-12-02 Thread Nathan Strutz
LOL Mike,

I had some of that zillion-line no-comment code when I started my 
current job, but worse yet is when there's a zillion comments, but 
they're only for commenting out code.

Also, my boss and a co-worker had the idea that stripping out comments 
would reduce our bandwidth... yeah... h...

-nathan strutz
http://www.dopefly.com/



Mike Kear wrote:
 WOW!  Documentation!   I've never worked on anyone else's code that
 had much in the way of comments, let alone documentation.
 
 I've recently been working on a template that had more than 8500
 lines!!!  with a gazillion loops and nested CFIFs, and not a single
 comment anywhere.   I guess the guy who wrote it thought the comments
 would bloat the code.   HAH!
 
 Documentation!  Whatever will they think of next. 
 
 Cheers
 Mike Kear
 Windsor, NSW, Australia
 AFP Webworks
 http://afpwebworks.com
 .com,.net,.org domains from AUD$20/Year
 
 
 
 On Wed, 1 Dec 2004 11:57:33 -0500, Claremont, Timothy
 [EMAIL PROTECTED] wrote:
 
Does anyone on the list have any pointers or website URLS that dictate
some best practices when it comes to CF based web site documentation?
It guess I am looking for advice on how to create an owners manual for
the website that will allow another webmaster to step in and take over
if and when the time comes. A google search for website and
documentation came up a bit short.

TIA,
Tim

 
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185946
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RESOLVED Re: cfargument ?? Driving me nuts, bolts and screws

2004-12-02 Thread Dwayne Cole
Sorry.  I was calling a function that called a function and in subfuction call 
I forgot add the argument, as a result the default value kinked in.  

Regarding the number of arguments.  I should probably be using cfmodule 
because the function is responsible for formating a block of content but UDF's 
is are little more flexible.


-- Original Message --
From: Joe Rinehart [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Thu, 2 Dec 2004 10:48:16 -0500

Dwayne,

Try using the CFINVOKEARGUMENT tag to pass the argument.

It's cumbersome, and why most of us would call the method ECMA style
instead of with cfinvoke/cfinvokeargument.  I.e.:

!--- assume myObject is the object you've created ---
!--- Rely on ordered params ---
cfset myObject.wrap(arg1, arg2, arg3) /
!--- Named params ---
cfset myObject.wrap(wrapperImageType=jpg) /

-joe


On Thu,  2 Dec 2004 10:37:22 -0500, Dwayne Cole [EMAIL PROTECTED] wrote:
 I created a UDF using cffunction name=wrap.  I set up the up arguments, 
 approximately 30, and defined all the default values, one of which is 
 cfargument name=wrapperImageType default=gif.
 
 UDF CALL
 I call the function using cfinvoke method=wrap wrapperImageType=jpg
 
 PROBLEM:
 The function is not changing the default value to the value that I pass. 
 Wait, ONLY FOR THAT ONE ARGUMENT, all others work fine.
 
 Is this a known bug.
 
 



~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185947
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Installing CFMX on Mac OS X (root user?)

2004-12-02 Thread Sean Corfield
On Thu, 2 Dec 2004 09:12:56 -0500, Jeff Small [EMAIL PROTECTED] wrote:
 Okay, so if I'm in, say, Applications/Jrun4/servers/default/CFIDE and the

You're in /Applications/JRun4/servers/default/CFIDE - the leading / is
important.

 war file is in Powerbook/Applications (remember, I expanded the war files

/PowerBook/Applications - again the leading / is important.

 I can do that? I can just delete the folders that the jar file created and
 just start over? How do I correctly tell the jar file where to install the
 war files?

You can tell the installer to put the files anywhere because it isn't
really 'installing' anything. I usually tell it:

/Users/scorfield/Desktop/cfmx

(replace scorfield with your own user name).

Again, the leading / is important!
-- 
Sean A Corfield -- http://www.corfield.org/
Team Fusebox -- http://www.fusebox.org/
Breeze Me! -- http://www.corfield.org/breezeme
Got Gmail? -- I have 1 invite

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185948
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Hosting for Coldfusion

2004-12-02 Thread Donna French
www.CrystalTech.com

I've used them for years on small sites to very large with high
traffic volume - never had any problems

HTH

~ Donna


On Thu, 2 Dec 2004 10:19:38 -0500, Tangorre, Michael
[EMAIL PROTECTED] wrote:
  From: Steven Wojciechowski [mailto:[EMAIL PROTECTED]
  If anyone has any other suggestions of good value CF hosting
  with good bandwidth packages, then please let me know.  If
  not, then I may have to think about redeveloping in PHP ;)
 
 This topic comes up all the time. The archives will be the best bet for
 research on this topic. I would highly recommend www.hostmysite.com as
 their service and up time are awesome. Depending upon your needs, they
 have some excellent plans.
 
 Mike
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185949
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Installing CFMX on Mac OS X (root user?)

2004-12-02 Thread Dave Watts
 Okay, so if I'm in, say, Applications/Jrun4/servers/default/CFIDE 
 and the war file is in Powerbook/Applications (remember, I expanded
 the war files to this directory that the jar file created because I 
 typed the path in wrong) I need to give the path in the jar command 
 that points to the rds.war file in that applications folder?

It doesn't really matter where the WAR files are, as long as you put the
expanded directories in the right place. Again, the WAR files are
essentially just ZIP archives. If you're using the JAR utility, you'll need
to specify the path to that, if you can't run it successfully.

 I can do that? I can just delete the folders that the jar file created
 and just start over? How do I correctly tell the jar file where to 
 install the war files?

You can delete these files without causing any problems. However, you might
as well just extract the WAR files wherever they happen to be, then move the
extracted directories to the right place within your application server's
directory.

Dave Watts, CTO, Fig Leaf Software 
http://www.figleaf.com/ 
phone: 202-797-5496 
fax: 202-797-5444



~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185950
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: New cfml file manager - CFFM

2004-12-02 Thread Rick Root
Russell Patterson wrote:
 Good Job!  I have been looking for something just like this.

Thanks!  I wrote one a long long time ago (in CF4.0) that you can still 
get from the exchange, but this one is a lot nicer.

I was jealous of some of the nice file managers for PHP, like File Thingie.

btw if you downloaded 0.9b or 0.91b, get 0.911b =)

  - Rick

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185951
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFAdmin setting - Timeout Requests after ....

2004-12-02 Thread Dave Watts
 Does anyone set this? If so, to what value? I'm looking to help the
 server recover from unusually high loads at any given time.

Yes, absolutely you should set this. Typically, it's set to 20 or 30
seconds, which is really quite a long time to spend waiting for a single
request. If you have pages you know will take longer, you can use CFSETTING
with the REQUESTTIMEOUT attribute to allow them to run as long as you want
them to.

Dave Watts, CTO, Fig Leaf Software 
http://www.figleaf.com/ 
phone: 202-797-5496 
fax: 202-797-5444


~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185952
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Migrate CFMX Standard from one server to another

2004-12-02 Thread jonese
All,
We've had to rebuild our server thanks to a glorious MS Patch snafu at
our hosting facility. We are running CFMX Standard and need to migrate
the Administrator settings (mappings, paths, datasources etc) to the
new server.

Unlucky for us Macromedia thought the archive feature would only be
good for those users on Enterprise edition.

So i need any articles, tutorials etc you have in your bag of tricks
to help me migrate settings. mostly it's the datasources and mappings.

ERJ

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185953
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFAdmin setting - Timeout Requests after ....

2004-12-02 Thread Mark Wimer
Yes, we set it - to 30 seconds. You have to look at the Macromedia help on
the java setting too; this CF admin setting it the queue for the requests
to start, and the java setting is how long they can run once out of the
queue (I think).

You can always take pages that must run longer and override the timeout in
specific queries.

Having said that, I don't think it works how I expect all the time - I've
had some requests run longer than the timeout and I'm not sure how that
happens. Maybe there have to be other requests waiting???

Mark




Does anyone set this? If so, to what value? I'm looking to help the
server recover from unusually high loads at any given time.

-Dov


NOTICE: If received in error, please destroy and notify sender.  Sender
does not waive confidentiality or privilege, and use is prohibited.





~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185954
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Linkpoint COM object and Permissions

2004-12-02 Thread Dave Watts
 When I run CFMX as the administrator I can call the linkpoint COM 
 object and it works. When I run CF under our designated user account, 
 the call to linkpoint does not work and crashes CFMX. What permissions 
should I be looking at to resolve this problem?

DCOMCNFG is the tool you use to set ACLs for COM objects. You can run it
from a command prompt. You can set blanket permissions for all COM objects,
or specific ones for individual COM objects.

Dave Watts, CTO, Fig Leaf Software 
http://www.figleaf.com/ 
phone: 202-797-5496 
fax: 202-797-5444


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185955
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Making form results XML-compatible

2004-12-02 Thread Jack Benson
I'm trying to make sure that the data for an RSS feed I'm running is XML-legal, 
but I'm getting errors because XMLFormat only replaces a handful of special 
characters, and because my data is mostly blocks of text, I get a lot of funky 
Word special quotation marks and apostrophes. 

How can I make sure that these characters are either filtered out when a user 
submits text through a form or when I'm generating my XML?

Jack

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185956
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Installing CFMX on Mac OS X (root user?)

2004-12-02 Thread Jeff Small
  Just remember that to start at the root you have to have a / at the 
 beginning of your path, otherwise it'll start drilling down from your 
 current directory.  So if your war file is in /Powerbook/Applications 
 (remember Unix is case-sensitive as well, so /PowerBook/Applications and 
 /Powerbook/Applications are NOT the same thing ...), then you would just 
 have to point to that directory with your jar command.

*sigh*

I haven't had time to try it since I'm at work, but I've got my powerbook 
with me, and I honest-to-god think that was the only problem I had. I was 
telling the jar command to look in Powerbook/Applications/ while I was in 
the cfusion directory and not /Powerbook/Applications/ so I'm almost 100% 
certain that was the problem

...and no, I didn't remember that to start at the room you have to have a / 
at the beginning... 



~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185957
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: New cfml file manager - CFFM

2004-12-02 Thread Lawrence Ng
Hello,

I got an error while trying to rename a directory

*--
This error has been logged to bderror2897.html.  Please contact the 
Administrator
*




~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185958
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Migrate CFMX Standard from one server to another

2004-12-02 Thread Dave Watts
 Unlucky for us Macromedia thought the archive feature would only be
 good for those users on Enterprise edition.

If they gave you all the features in the Standard version, why would anyone
buy Enterprise?

 So i need any articles, tutorials etc you have in your bag of tricks
 to help me migrate settings. mostly it's the datasources and mappings.

All of this information is stored in \cfusionmx\lib\neo*.xml. Datasources
specifically are in neo-query.xml. You can copy neo-query.xml from one
server to another, if all of the datasource settings would be identical for
the second server.

Dave Watts, CTO, Fig Leaf Software 
http://www.figleaf.com/ 
phone: 202-797-5496 
fax: 202-797-5444


~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185959
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Making form results XML-compatible

2004-12-02 Thread Massimo Foti
 XMLFormat only replaces a handful of special characters

That's because XML only has 5 entities, nothing more, anything else is
allowed


  and because my data is mostly blocks of text,
 I get a lot of funky Word special quotation marks and apostrophes.

You could try to sanitize inputs, this could be a starting point:

http://www.cfmentor.com/code/index.cfm?action=scriptid=180

If you want to get rid of all Word's weird chars you could try this UDF:

http://www.cflib.org/udf.cfm?ID=725


Massimo Foti
DW tools: http://www.massimocorner.com
CF tools:  http://www.olimpo.ch/tmt/











~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185960
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Cold Fusion Forum Applications

2004-12-02 Thread Rick Root
Dennis,

Check out the one I wrote.. www.cfmbb.org - open source, BSD license.

  - Rick

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185961
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: New cfml file manager - CFFM

2004-12-02 Thread Rick Mason
Rick,

Looks quite good.  Thanks for sharing this with the community.

One small improvement would be to let you click on the icons so it
works more like explorer.
A preview mode for uploaded photos if you could manage it would also
be a nice addition.


Rick Mason



On Thu, 02 Dec 2004 10:47:09 -0500, Rick Root [EMAIL PROTECTED] wrote:
 I wrote a new file manager yesterday.  It's written in CFML and
 implemented in a single file, designed for EASY integration into your
 existing web site management solutions.
 
 It has been tested to run on BD 6.1 for Linux and CFMX 6.1 for Windows
 with zero changes.
 
 It allows you to upload files, create files and directories, rename
 files and directories, delete files and directories, edit text files,
 and view the source of text files.
 
 The main distribution includes no authentication, because it's meant to
 be integrated into whatever authentication mechanism you're already
 using.  In otherwords, if you don't have an authentication mechanism,
 you'll have to write one =)
 
 For a demo and code downloads, go to http://www.webworksllc.com/cffm/
 
 Please let me know what you think!
 
 Rick Root
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185962
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


detecting browser name

2004-12-02 Thread Daniel Kessler
I'm having some problems with certain browsers. Is there a way to 
detect a browser name through CF?  If so, I can insert it and check 
for it.

thanks.

-- 
Daniel Kessler

Department of Public and Community Health
University of Maryland
Suite 2387 Valley Drive
College Park, MD  20742-2611
301-405-2545 Phone
www.phi.umd.edu

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185963
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: New cfml file manager - CFFM

2004-12-02 Thread Asim Manzur
got the same error when you rename the file

Hello,

I got an error while trying to rename a directory

*--
This error has been logged to bderror2897.html. Please contact the 
Administrator
*

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185964
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: detecting browser name

2004-12-02 Thread Dave Watts
 I'm having some problems with certain browsers. Is there a way to 
 detect a browser name through CF?  If so, I can insert it and check 
 for it.

The variable CGI.HTTP_USER_AGENT contains browser information.

Dave Watts, CTO, Fig Leaf Software 
http://www.figleaf.com/ 
phone: 202-797-5496 
fax: 202-797-5444 


~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185965
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: New cfml file manager - CFFM

2004-12-02 Thread Lawrence Ng
just thinking out loud... could be because the name already exits? or
record locking?


~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185966
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: detecting browser name

2004-12-02 Thread Martin Parry
Try This... Its part of my CMS but you are free to amend it to make it
work for you

cfsetting enablecfoutputonly=Yes

cftrace inline=yes category=Application type=Information
text=Detect browser begin

cfparam name=browserdata default=#cgi.http_user_agent#

cfscript
BrowserVersion=other;
MozillaVersion=other;
BrowserName=other;
Platform=other;
CssFriendly=no;
DhtmlFriendly=no;
FlashFriendly=no;
XmlFriendly=no;
JavaFriendly=no;
JavaScriptFriendly=no;
JSVersion=no;
EcmaCompliant=no;
Mozilla=Find(Mozilla, browserdata);
MSIE=Find(MSIE, browserdata);
Opera=Find(Opera, browserdata);
WebTv=Find(WebTV, browserdata);
Lynx=Find(Lynx, browserdata);
AOL=Find(AOL, browserdata);
compatible=Find(compatible, browserdata);

width = 0;
height = 0;

if (Lynx EQ 0){
MozillaVersion=GetToken(browserdata, 2, / ();
}

//Browser name and version?
if (Mozilla NEQ 0 and MSIE EQ 0 and Opera EQ 0 and WebTV EQ 0 and Lynx
EQ 0 and AOL EQ 0 and compatible EQ 0){
BrowserName=Netscape;
width = 0;
height = 0;
if (MozillaVersion GTE 5){
BrowserVersion=GetToken(browserdata, 3, /);
if (Find(Netscape6, BrowserVersion)) {
BrowserVersion=GetToken(browserdata, 4, /);
}
}
else{
BrowserVersion=MozillaVersion;
}
}
else if (MSIE NEQ 0 and Opera EQ 0 and WebTV EQ 0 and Lynx EQ 0 and AOL
EQ 0){
BrowserName=Microsoft;
BrowserVersion=GetToken(browserdata, 2, ;);
BrowserVersion=RemoveChars(BrowserVersion, 1, 5);
}
else if (AOL NEQ 0){
BrowserName=AOL;
BrowserVersion=GetToken(browserdata, 2,  );
width = 0;
height = 0;
}
else if (Opera NEQ 0){
BrowserName=Opera;
BrowserVersion=GetToken(browserdata, 2, ));
BrowserVersion=RemoveChars(BrowserVersion, 1, 7);
BrowserVersion=Replace(BrowserVersion,  [en], );
width = 0;
height = 0;
if (BrowserVersion eq ) {
// Version 5.1 fix
BrowserVersion=GetToken(browserdata, 1, ();
BrowserVersion=RemoveChars(BrowserVersion, 1, 6);
}
}
else if (WebTV NEQ 0){
BrowserName=WebTV;
BrowserVersion=GetToken(browserdata, 4, / );
width = 0;
height = 0;
}
else if (Lynx NEQ 0){
BrowserName=Lynx;
BrowserVersion=GetToken(browserdata, 1, r);
BrowserVersion=RemoveChars(BrowserVersion, 1, 5);
width = 0;
height = 0;
}

//Determine Platform
if (FindNoCase(win, browserdata) NEQ 0){
Platform=Windows;
}
else if (FindNoCase(mac, browserdata) NEQ 0){
Platform=Macintosh;
}
else if (FindNoCase(xll, browserdata) NEQ 0){
Plarform=Unix;
if (FindNoCase(inux, browserdata) NEQ 0){
Platform=Linux;
}
}
else if ((FindNoCase(os/2, browserdata) NEQ 0) OR
(FindNoCase(ibm-webexplorer, browserdata) NEQ 0)){
Platform=OS/2;
}
else if (FindNoCase(webtv, browserdata) NEQ 0){
Platform=WebTV;
}

//DCSS friendly?
if ((BrowserName EQ Netscape AND BrowserVersion GTE 4) OR (BrowserName
EQ Microsoft AND BrowserVersion GTE 4) OR (BrowserName EQ AOL AND
BrowserVersion GTE 3) OR (BrowserName EQ Opera AND BrowserVersion GTE
3.6) OR (BrowserName EQ WebTV)){
CssFriendly=Yes;
}

//DHTML friendly?
if ((BrowserName EQ Netscape AND BrowserVersion GTE 4) OR (BrowserName
EQ Microsoft AND BrowserVersion GTE 4) OR (BrowserName EQ AOL AND
BrowserVersion GTE 4)){
DhtmlFriendly=Yes;
}

//XML friendly?
if ((BrowserName EQ Netscape AND BrowserVersion GTE 6) OR (BrowserName
EQ Microsoft AND BrowserVersion GTE 5) OR (BrowserName EQ Opera AND
BrowserVersion GTE 4)){
XmlFriendly=Yes;
}

//JAVA friendly?
if ((BrowserName EQ Netscape AND BrowserVersion GTE 3) OR (BrowserName
EQ Microsoft AND BrowserVersion GTE 3) OR (BrowserName EQ AOL AND
BrowserVersion GTE 3)){
JavaFriendly=Yes;
}

BrowserVersion = val(BrowserVersion);

//Javascript friendly? What version? ECMA compliant?
if ((BrowserName EQ Netscape AND BrowserVersion GTE 2) OR (BrowserName
EQ Microsoft AND BrowserVersion GTE 3) OR (BrowserName EQ AOL AND
BrowserVersion GTE 3) OR (BrowserName EQ Opera AND BrowserVersion GTE
3.5) OR (BrowserName EQ WebTV)){
JavaScriptFriendly=Yes;
JSVersion=1.0;
EcmaCompliant=No; 
 if (BrowserName EQ Netscape){
if (BrowserVersion GTE 2){
JSVersion=1.0;
EcmaCompliant=No;
}
if (BrowserVersion GTE 3){
JSVersion=1.1;
EcmaCompliant=No;
}
if (BrowserVersion GTE 4){
JSVersion=1.2;
EcmaCompliant=No;
}
if (BrowserVersion GTE 4.06){
JSVersion=1.3;
EcmaCompliant=Yes;
}

DBCC Shrinkfile

2004-12-02 Thread Dave Francis
Where a database is a CF(5.0) odbc datasource, do I have to stop CF in
order to run dbcc shrinkfile?


~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185968
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: detecting browser name

2004-12-02 Thread daniel kessler
Thanks Dave, I'll give it a shot.

 I'm having some problems with certain browsers. Is there a way to 
 detect a browser name through CF?  If so, I can insert it and check 
 for it.

The variable CGI.HTTP_USER_AGENT contains browser information.

Dave Watts, CTO, Fig Leaf Software 
http://www.figleaf.com/ 
phone: 202-797-5496 
fax: 202-797-5444

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185969
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


HTM vs CFM Pages

2004-12-02 Thread Claremont, Timothy
When developing an entire website, I occasionally develop a page with no
CF-specific content whatsoever (although it happens remarkably rarely).
Is there any advantage or disadvantage to naming these pages with a HTM
extension rather than a CFM extension? Is there a speed penalty?


~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185970
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: HTM vs CFM Pages

2004-12-02 Thread Nathan Strutz
There's more likely a speed increase with plain HTML pages, because they 
require no server-side processing before sending the content. Some 
people just name all their files .cfm for continuity, others have their 
static files be .html, and have to pay close attention to where their 
links go.

As for cfincludeing a file, it doesn't matter what the extension is.

-nathan strutz
http://www.dopefly.com/



Claremont, Timothy wrote:
 When developing an entire website, I occasionally develop a page with no
 CF-specific content whatsoever (although it happens remarkably rarely).
 Is there any advantage or disadvantage to naming these pages with a HTM
 extension rather than a CFM extension? Is there a speed penalty?
 
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185971
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: HTM vs CFM Pages

2004-12-02 Thread Dave Watts
 When developing an entire website, I occasionally develop a page with 
 no CF-specific content whatsoever (although it happens remarkably 
 rarely). Is there any advantage or disadvantage to naming these pages 
 with a HTM extension rather than a CFM extension? Is there a speed 
 penalty?

Yes, there is a speed penalty for CFM pages. Static files are much faster
than CFM files, even if those CFM files don't actually contain program
commands. If you don't want to incorporate some CF functionality into those
pages, such as controlling access via Application.cfm, you're better off
using a static file extension.

Dave Watts, CTO, Fig Leaf Software 
http://www.figleaf.com/ 
phone: 202-797-5496 
fax: 202-797-5444





~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185972
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: HTM vs CFM Pages

2004-12-02 Thread Tim Blair
 Is there any advantage or disadvantage to naming these pages 
 with a HTM extension rather than a CFM extension? Is there a 
 speed penalty?

A .cfm file will *always* be passed to the CF engine, so even if there's
nothing for the engine to do, it's still got to break the page down etc,
so there will be a speed increase in serving up the pages (although
it'll only be measured in a matter of milliseconds).

A more important benefit (as I see it) is that it keeps the CF server
free for real requests, i.e. those that actually require some CF
processing.

Tim.

--
---
Badpen Tech - CF and web-tech: http://tech.badpen.com/
---
RAWNET LTD - independent digital media agency
We are big, we are funny and we are clever!
 New site launched at http://www.rawnet.com/
---
This message may contain information which is legally
privileged and/or confidential.  If you are not the
intended recipient, you are hereby notified that any
unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such
notification notwithstanding, any comments, opinions,
information or conclusions expressed in this message
are those of the originator, not of rawnet limited,
unless otherwise explicitly and independently indicated
by an authorised representative of rawnet limited.
--- 


~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185974
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: HTM vs CFM Pages

2004-12-02 Thread Mark Drew
There is no penalty if its htm as this wont get parsed at all by cfml

Then again I doubt there is much parsing of a page (speed hit) if
there are no cf tags

MD


On Thu, 2 Dec 2004 12:16:29 -0500, Claremont, Timothy
[EMAIL PROTECTED] wrote:
 When developing an entire website, I occasionally develop a page with no
 CF-specific content whatsoever (although it happens remarkably rarely).
 Is there any advantage or disadvantage to naming these pages with a HTM
 extension rather than a CFM extension? Is there a speed penalty?
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185973
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: HTM vs CFM Pages

2004-12-02 Thread Marco Antonio C. Santos
Dave

that speed penalty only occurs in the firts load page right? After
that the compiled class file will load very fast... right?

Cheers

Marco


On Thu, 2 Dec 2004 12:37:31 -0500, Dave Watts [EMAIL PROTECTED] wrote:
  When developing an entire website, I occasionally develop a page with
  no CF-specific content whatsoever (although it happens remarkably
  rarely). Is there any advantage or disadvantage to naming these pages
  with a HTM extension rather than a CFM extension? Is there a speed
  penalty?
 
 Yes, there is a speed penalty for CFM pages. Static files are much faster
 than CFM files, even if those CFM files don't actually contain program
 commands. If you don't want to incorporate some CF functionality into those
 pages, such as controlling access via Application.cfm, you're better off
 using a static file extension.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 phone: 202-797-5496
 fax: 202-797-5444
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185975
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Making form results XML-compatible

2004-12-02 Thread Jack Benson
If you want to get rid of all Word's weird chars you could try this UDF:

http://www.cflib.org/udf.cfm?ID=725


Ok, so I tried out the UDF - basically, in my form submission template, I 
inserted the script and then used cfset Variable = 
#DeMoronize(FORM.Variable)# to try to clean up the text. But when I submit it, 
and then view the submitted text on my site, all my annoying word special 
characters have been replaced with a single annoying special character: â#128; 
(don't know if that's going to show up or not, but you get the idea). 

I've tested the script when it's not going through the form - just using it to 
run through data from a query - and it worked fine. What am I screwing up here?

cfset EditTitle = #DeMoronize(FORM.EditChronTitle)#
cfset EditText = #DeMoronize(FORM.EditChronText)#

!--- Format date for database compatability ---
CFSET EditDate = #CREATEODBCDATETIME(EditChronDate)#
CFQUERY name=EditRecordSet dataSource=#Application.DSN#
Update Chronology_Table SET
Title = '#EditTitle#',
ChronDate = #EditDate#,
Fulltext = '#EditText#'
WHERE Chronology_Table.ID = #FORM.ChronID#
/CFQUERY

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185976
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: HTM vs CFM Pages

2004-12-02 Thread Michael Dinowitz
CFINCLUDE will parse any page it includes, which means that it will look through
the page for CF content to evaluate. Doesn't matter if it's a plain html page or
a CF one, doesn't matter what the extension is. If you are including html
content into a CF page, it's better to use:
getPageContext().include('./myfile.html')
This will run the html page and include it into the calling page without parsing
it. i.e. it's an html page, not a CF one. The same code calling a CF page will
parse it though.


 As for cfincludeing a file, it doesn't matter what the extension is.


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185977
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Creating and Emailing Plots/Charts/Graphs

2004-12-02 Thread Barney Boisvert
Using CFCHART you can get the content of the generated chart and save
it to disk manually.  Then just email the user and attach that file. 
If you save as PNG (rather than Flash), you can even inline the image
in the email, so the user doesn't have to do anything.  Sure, CFCHART
isn't very flexible, but it is stupid easy.  I've used this type of
setup with great success.

I haven't tried any other charting engines, but I have had great
success using SVG to generate custom graphs.  It takes a little bit of
work, because you have to do the plotting manually, but it's all
simple stuff.  You can get very complex charts with relatively little
fuss, and they look as good as you want them to.  And as an added
bonus, it's all styled with CSS, so you can dramatically change the
appearance by switching a stylesheet, which is nice.  The downside, of
course, is that your users have to have an SVG plugin installed.

cheers,
barneyb

On Wed, 01 Dec 2004 22:22:50 -0600, Nick Baker [EMAIL PROTECTED] wrote:
 Cold Fusion MX 6.1
 
 I am looking for some ideas in an area that I have no experience. Creating
 plots/charts and emailing to users. Users will be business oriented people,
 but not necessarily technically oriented.
 
 I am hoping some one(s) may save me some lengthy research time.
 
 The source is a series of test data in a MySql db. The data is date/time
 stamped. The task is for customers to select 1 to 4 data sets and we create
 a time line plot. Then email the plot.
 
 Any ideas for how to do this? Examples, I have came up with so far, but
 haven't fully investigated are
 
 1. Use CFCHART/CFCHARTSERIES to create an html template. Then email the
 template. Or, possible email a link to the template. I have limited
 experience with CFCHART/CFCHARTSERIES, and was disappointed in its
 flexibility. Now wishing there is better approach.
 
 2. Create an Excel spread sheet and email the sheet as an attachment.
 
 3. Creating the customer a standard Chart template to install in their
 local Excel. Then email data in a .CSV or .XLS format.
 
 First I have no Excel charting experience, and may be totally out in left
 field on this approach.
 
 The Excel or a similar approach, if workable, would allow the user some
 flexibility to manipulate and use the data in their own way. But, not being
 an Excel expert, I am clueless on how user friendly this could be.
 
 Any ideas you have used? Ideas you think may have some promise?
 
 Pitfalls to watch out for?
 
 Thanks,
 
 Nick
 

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/blog/

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185978
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: HTM vs CFM Pages

2004-12-02 Thread Bert Dawson
Is it possible to use getPageContext().include() to access a file
which isn't under the webroot?

Bert


On Thu, 2 Dec 2004 12:53:07 -0500, Michael Dinowitz
[EMAIL PROTECTED] wrote:
 CFINCLUDE will parse any page it includes, which means that it will look 
 through
 the page for CF content to evaluate. Doesn't matter if it's a plain html page 
 or
 a CF one, doesn't matter what the extension is. If you are including html
 content into a CF page, it's better to use:
 getPageContext().include('./myfile.html')
 This will run the html page and include it into the calling page without 
 parsing
 it. i.e. it's an html page, not a CF one. The same code calling a CF page will
 parse it though.
 
 
  As for cfincludeing a file, it doesn't matter what the extension is.
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185979
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Creating and Emailing Plots/Charts/Graphs

2004-12-02 Thread Douglas Knudsen
look at the name attribute of chart.  Use this to use inline images
via base64 encoding.  This is available now in CFMX 6.1 Updater.  This
is not email attachments, rather inline images.  of course your mail
client needs to be able to handle it, Outlook does.

Doug


On Wed, 01 Dec 2004 22:22:50 -0600, Nick Baker [EMAIL PROTECTED] wrote:
 Cold Fusion MX 6.1
 
 I am looking for some ideas in an area that I have no experience. Creating
 plots/charts and emailing to users. Users will be business oriented people,
 but not necessarily technically oriented.
 
 I am hoping some one(s) may save me some lengthy research time.
 
 The source is a series of test data in a MySql db. The data is date/time
 stamped. The task is for customers to select 1 to 4 data sets and we create
 a time line plot. Then email the plot.
 
 Any ideas for how to do this? Examples, I have came up with so far, but
 haven't fully investigated are
 
 1. Use CFCHART/CFCHARTSERIES to create an html template. Then email the
 template. Or, possible email a link to the template. I have limited
 experience with CFCHART/CFCHARTSERIES, and was disappointed in its
 flexibility. Now wishing there is better approach.
 
 2. Create an Excel spread sheet and email the sheet as an attachment.
 
 3. Creating the customer a standard Chart template to install in their
 local Excel. Then email data in a .CSV or .XLS format.
 
 First I have no Excel charting experience, and may be totally out in left
 field on this approach.
 
 The Excel or a similar approach, if workable, would allow the user some
 flexibility to manipulate and use the data in their own way. But, not being
 an Excel expert, I am clueless on how user friendly this could be.
 
 Any ideas you have used? Ideas you think may have some promise?
 
 Pitfalls to watch out for?
 
 Thanks,
 
 Nick
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185980
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: HTM vs CFM Pages

2004-12-02 Thread Nathan Strutz
No, there's always a performance penalty for making a page go through CF 
before the web server.

HTML pages always (unless specifically set up otherwise) go straight 
from the hard disk to the web server to the browser.

CFM pages always (uneless misconfigured or on purpose) go from the HDD 
to the CF Server, are Parsed and outputted in CF, then sent to the web 
server, then the browser.

The compilation only happens on the first hit, you're correct, but after 
that, CF runs compiled classes. It still has to run it each time though.

-nathan strutz
http://www.dopefly.com/


Marco Antonio C. Santos wrote:
 Dave
 
 that speed penalty only occurs in the firts load page right? After
 that the compiled class file will load very fast... right?
 
 Cheers
 
 Marco
 
 
 On Thu, 2 Dec 2004 12:37:31 -0500, Dave Watts [EMAIL PROTECTED] wrote:
 
When developing an entire website, I occasionally develop a page with
no CF-specific content whatsoever (although it happens remarkably
rarely). Is there any advantage or disadvantage to naming these pages
with a HTM extension rather than a CFM extension? Is there a speed
penalty?

Yes, there is a speed penalty for CFM pages. Static files are much faster
than CFM files, even if those CFM files don't actually contain program
commands. If you don't want to incorporate some CF functionality into those
pages, such as controlling access via Application.cfm, you're better off
using a static file extension.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444


 
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185981
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: HTM vs CFM Pages

2004-12-02 Thread Dave Watts
 that speed penalty only occurs in the firts load page right? After
 that the compiled class file will load very fast... right?

Assuming that the page doesn't actually do anything, it won't take long to
execute. However, if all of the threads processing requests are busy, the
page won't execute until there is an available thread, which will make it
seem even slower to the end user.

Dave Watts, CTO, Fig Leaf Software 
http://www.figleaf.com/ 
phone: 202-797-5496 
fax: 202-797-5444



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185982
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Passing search results

2004-12-02 Thread Lawrence Ng
hi everyone,

I need your feedback on what's a good approach...

Here's what I'm thinking . I have 3 collections I want to search on
and the results (if any) would be displayed on 3 separate pages which
can be viewed by clicking on a tab folder.

How can I pass a collection to the page (in my case one of my tabs)
after is searched all 3.

example:

search 1, search 2, and search 3

results shown in tabs

| Results A | Results 2 | Results 3 | 

clicking on Results 2 would show the search results from search 2

thanks,








~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185983
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: HTM vs CFM Pages

2004-12-02 Thread Michael Dinowitz
Don't think so unless you map it in the webserver. It seems to follow the
webserver root, not the CF root.


 Is it possible to use getPageContext().include() to access a file
 which isn't under the webroot?

 Bert


 On Thu, 2 Dec 2004 12:53:07 -0500, Michael Dinowitz
 [EMAIL PROTECTED] wrote:
  CFINCLUDE will parse any page it includes, which means that it will look
through
  the page for CF content to evaluate. Doesn't matter if it's a plain html
page or
  a CF one, doesn't matter what the extension is. If you are including html
  content into a CF page, it's better to use:
  getPageContext().include('./myfile.html')
  This will run the html page and include it into the calling page without
parsing
  it. i.e. it's an html page, not a CF one. The same code calling a CF page
will
  parse it though.
 
 
   As for cfincludeing a file, it doesn't matter what the extension is.
 
 

 

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185984
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: detecting browser name

2004-12-02 Thread daniel kessler
Hey, I have it working.  Thanks!

Try This... Its part of my CMS but you are free to amend it to make it
work for you

cfsetting enablecfoutputonly=Yes

cftrace inline=yes category=Application type=Information
text=Detect browser begin

cfparam name=browserdata default=#cgi.http_user_agent#

cfscript
BrowserVersion=other;
MozillaVersion=other;
BrowserName=other;
Platform=other;
CssFriendly=no;
DhtmlFriendly=no;
FlashFriendly=no;
XmlFriendly=no;
JavaFriendly=no;
JavaScriptFriendly=no;
JSVersion=no;
EcmaCompliant=no;
Mozilla=Find(Mozilla, browserdata);
MSIE=Find(MSIE, browserdata);
Opera=Find(Opera, browserdata);
WebTv=Find(WebTV, browserdata);
Lynx=Find(Lynx, browserdata);
AOL=Find(AOL, browserdata);
compatible=Find(compatible, browserdata);

width = 0;
height = 0;

if (Lynx EQ 0){
MozillaVersion=GetToken(browserdata, 2, / ();
}

//Browser name and version?
if (Mozilla NEQ 0 and MSIE EQ 0 and Opera EQ 0 and WebTV EQ 0 and Lynx
EQ 0 and AOL EQ 0 and compatible EQ 0){
   BrowserName=Netscape;
   width = 0;
   height = 0;
   if (MozillaVersion GTE 5){
   BrowserVersion=GetToken(browserdata, 3, /);
   if (Find(Netscape6, BrowserVersion)) {
   BrowserVersion=GetToken(browserdata, 4, /);
   }
   }
   else{
   BrowserVersion=MozillaVersion;
   }
}
else if (MSIE NEQ 0 and Opera EQ 0 and WebTV EQ 0 and Lynx EQ 0 and AOL
EQ 0){
   BrowserName=Microsoft;
   BrowserVersion=GetToken(browserdata, 2, ;);
   BrowserVersion=RemoveChars(BrowserVersion, 1, 5);
}
else if (AOL NEQ 0){
   BrowserName=AOL;
   BrowserVersion=GetToken(browserdata, 2,  );
   width = 0;
   height = 0;
}
else if (Opera NEQ 0){
   BrowserName=Opera;
   BrowserVersion=GetToken(browserdata, 2, ));
   BrowserVersion=RemoveChars(BrowserVersion, 1, 7);
   BrowserVersion=Replace(BrowserVersion,  [en], );
   width = 0;
   height = 0;
   if (BrowserVersion eq ) {
   // Version 5.1 fix
   BrowserVersion=GetToken(browserdata, 1, ();
   BrowserVersion=RemoveChars(BrowserVersion, 1, 6);
   }
}
else if (WebTV NEQ 0){
   BrowserName=WebTV;
   BrowserVersion=GetToken(browserdata, 4, / );
   width = 0;
   height = 0;
}
else if (Lynx NEQ 0){
   BrowserName=Lynx;
   BrowserVersion=GetToken(browserdata, 1, r);
   BrowserVersion=RemoveChars(BrowserVersion, 1, 5);
   width = 0;
   height = 0;
}

//Determine Platform
if (FindNoCase(win, browserdata) NEQ 0){
   Platform=Windows;
}
else if (FindNoCase(mac, browserdata) NEQ 0){
   Platform=Macintosh;
}
else if (FindNoCase(xll, browserdata) NEQ 0){
   Plarform=Unix;
   if (FindNoCase(inux, browserdata) NEQ 0){
   Platform=Linux;
   }
}
else if ((FindNoCase(os/2, browserdata) NEQ 0) OR
(FindNoCase(ibm-webexplorer, browserdata) NEQ 0)){
   Platform=OS/2;
}
else if (FindNoCase(webtv, browserdata) NEQ 0){
   Platform=WebTV;
}

//DCSS friendly?
if ((BrowserName EQ Netscape AND BrowserVersion GTE 4) OR (BrowserName
EQ Microsoft AND BrowserVersion GTE 4) OR (BrowserName EQ AOL AND
BrowserVersion GTE 3) OR (BrowserName EQ Opera AND BrowserVersion GTE
3.6) OR (BrowserName EQ WebTV)){
   CssFriendly=Yes;
}

//DHTML friendly?
if ((BrowserName EQ Netscape AND BrowserVersion GTE 4) OR (BrowserName
EQ Microsoft AND BrowserVersion GTE 4) OR (BrowserName EQ AOL AND
BrowserVersion GTE 4)){
   DhtmlFriendly=Yes;
}

//XML friendly?
if ((BrowserName EQ Netscape AND BrowserVersion GTE 6) OR (BrowserName
EQ Microsoft AND BrowserVersion GTE 5) OR (BrowserName EQ Opera AND
BrowserVersion GTE 4)){
   XmlFriendly=Yes;
}

//JAVA friendly?
if ((BrowserName EQ Netscape AND BrowserVersion GTE 3) OR (BrowserName
EQ Microsoft AND BrowserVersion GTE 3) OR (BrowserName EQ AOL AND
BrowserVersion GTE 3)){
   JavaFriendly=Yes;
}

BrowserVersion = val(BrowserVersion);

//Javascript friendly? What version? ECMA compliant?
if ((BrowserName EQ Netscape AND BrowserVersion GTE 2) OR (BrowserName
EQ Microsoft AND BrowserVersion GTE 3) OR (BrowserName EQ AOL AND
BrowserVersion GTE 3) OR (BrowserName EQ Opera AND BrowserVersion GTE
3.5) OR (BrowserName EQ WebTV)){
   JavaScriptFriendly=Yes;
   JSVersion=1.0;
   EcmaCompliant=No; 
if (BrowserName EQ Netscape){
   if (BrowserVersion GTE 2){
   JSVersion=1.0;
   EcmaCompliant=No;
   }
   if (BrowserVersion GTE 3){
   JSVersion=1.1;
   EcmaCompliant=No;
   }
   if (BrowserVersion GTE 4){
   JSVersion=1.2;
   EcmaCompliant=No;
   }
   if (BrowserVersion GTE 4.06){
   JSVersion=1.3;
   EcmaCompliant=Yes;
   }
   if (BrowserVersion GTE 6){
 

Malicious Code Characters

2004-12-02 Thread Tangorre, Michael
Anyone know of a comprehensive list that outlines what to look for in
form input and URLs in terms of malicious code and characters?
 
Thanks,
 
Mike
 


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185986
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Nevermind... blame it on IE

2004-12-02 Thread Rebecca Wells
Well, yeah. I never really understood what that IE Automatically cache 
setting was supposed to do besides make the user feel good. It really doesn't 
do what you'd expect it to. On my workstations, I always change that default 
setting (when I have to use IE instead of FireFox or Netscape) to check every 
time. But since I was installing software on a server, I don't normally use 
the browser on that server.

VERY frustrating issue.

But yes, it was a PEBKAC error.

(problem exists between keyboard and chair)

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185987
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Installing CFMX on Mac OS X (root user?)

2004-12-02 Thread Troy Murray
I have a quick question on running CFMX on Mac OS X.  If I restart my iBook,
do I need to open the Terminal and start the CFMX/Jrun service manually or
does it start automatically when the system boots?  (I would prefer the
first option).

-Troy Murray


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185988
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: New cfml file manager - CFFM

2004-12-02 Thread Rick Root
Lawrence Ng wrote:
 just thinking out loud... could be because the name already exits? or
 record locking?

Actually, both errors were because I used an invalid variable name... I 
was referring to renameNewFile instead of renameNewFilename in both 
occurences on line 317

  - Rick


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185989
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: HTM vs CFM Pages

2004-12-02 Thread Ben Rogers
By putting the cfm extension on the end of the page, you take a performance
hit. If you're comparing it to returning a static page, the performance hit
is huge. In the grand scheme of things, it's usually insignificant.

If the site is mostly HTML with a couple of dynamic pages, then you'll
probably want to use an htm/html extension. If your site is mostly dynamic,
then it probably makes sense to give the page a cfm extension. It's more
consistent and it allows you to add dynamic content at any time without
breaking links or affecting search engine placement.

You can probably reduce the performance hit by using the cfcache tag. I
haven't specifically tested this, however: it wouldn't surprise me if
ColdFusion had been optimized to handle pages with no dynamic content
different than those with.

Ben Rogers
http://www.c4.net
v.508.240.0051
f.508.240.0057

 -Original Message-
 From: Claremont, Timothy [mailto:[EMAIL PROTECTED]
 Sent: Thursday, December 02, 2004 12:16 PM
 To: CF-Talk
 Subject: HTM vs CFM Pages
 
 When developing an entire website, I occasionally develop a page with no
 CF-specific content whatsoever (although it happens remarkably rarely).
 Is there any advantage or disadvantage to naming these pages with a HTM
 extension rather than a CFM extension? Is there a speed penalty?
 
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185991
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: New cfml file manager - CFFM

2004-12-02 Thread Lawrence Ng
thank you for clarifying it.


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185990
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


JRun logging

2004-12-02 Thread Douglas Knudsen
Ok, I setup metrics logging in my jrun.xml file under the default CFMX
instance named cfusion. In the log format I ouptut {jdbc.poolSize} I
have another JRUn server running CFMX call it foo. In its jrun.xml
file I enabled logging and in the log format I put {jdbc.poolSize}.
When I read teh metrics data in the logs though, only the original
cfusion instance outputs the jdbc data, the foo server does not. Is
there some other setting I'm missing?

-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185992
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: New cfml file manager - CFFM

2004-12-02 Thread Dawson, Michael
You know what would be cool???  If you could mod this so that the files
could be stored in a database BLOB!

If not, it's still a very nice utility!

I would suggest that you be able to add comments to files.  I don't know
how you would pull that off w/o a DB, but maybe it could be stored in an
XML file?

M!ke 

-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 02, 2004 10:30 AM
To: CF-Talk
Subject: Re: New cfml file manager - CFFM

Russell Patterson wrote:
 Good Job!  I have been looking for something just like this.

Thanks!  I wrote one a long long time ago (in CF4.0) that you can still
get from the exchange, but this one is a lot nicer.

I was jealous of some of the nice file managers for PHP, like File
Thingie.

btw if you downloaded 0.9b or 0.91b, get 0.911b =)

  - Rick



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185993
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: New cfml file manager - CFFM

2004-12-02 Thread Damien McKenna
Descript.ion?

-- 
Damien McKenna - Web Developer - [EMAIL PROTECTED]
The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
Why are you wearing that stupid man suit? - Frank
 

 -Original Message-
 From: Dawson, Michael [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, December 02, 2004 2:21 PM
 To: CF-Talk
 Subject: RE: New cfml file manager - CFFM
 
 You know what would be cool???  If you could mod this so that 
 the files could be stored in a database BLOB!
 
 If not, it's still a very nice utility!
 
 I would suggest that you be able to add comments to files.  I 
 don't know how you would pull that off w/o a DB, but maybe it 
 could be stored in an XML file?
 
 M!ke 


~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185994
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: New cfml file manager - CFFM

2004-12-02 Thread Rick Root
Someone had suggested an image preview before uploading... I've added 
that but have to work on the javascript... right now it just dumps the 
file URL into an iframe ... I think I'd want to restrict that to image 
types .. I'm too lazy to write the javascript to determine the file 
extension though right now, maybe later today =)

The image preview, and the clickable icons are implemented in my 
demonstration site..

I think a future version making this database capable would be kinda 
cool... sometime after release 1.0 =)

Thanks for all your comments and suggestions!

http://www.webworksllc.com/cffm/

  - Rick

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185995
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: JRun logging

2004-12-02 Thread Dave Watts
 Ok, I setup metrics logging in my jrun.xml file under the default CFMX
 instance named cfusion. In the log format I ouptut {jdbc.poolSize} I
 have another JRUn server running CFMX call it foo. In its jrun.xml
 file I enabled logging and in the log format I put {jdbc.poolSize}.
 When I read teh metrics data in the logs though, only the original
 cfusion instance outputs the jdbc data, the foo server does not. Is
 there some other setting I'm missing?

Are you sure you set metricsEnabled to true and uncommented the
MetricsService block in both jrun.xml files? If so, you might want to start
the foo server from the command line and see if you get an error of some
sort with regard to log files.

Dave Watts, CTO, Fig Leaf Software 
http://www.figleaf.com/ 
phone: 202-797-5496 
fax: 202-797-5444




~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185996
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: JRun logging

2004-12-02 Thread Douglas Knudsen
yup, sure about that.  I am getting metric data output for foo, just
not the jdbc data.  Here is my format
attribute 
name=metricsFormat,{jrpp.listenTh},{jrpp.delayTh},{jrpp.idleTh},{jrpp.busyTh},{jrpp.totalTh},{jrpp.delayRq},{jrpp.droppedRq},{jrpp.delayMs},{totalMemory},{freeMemory},{jdbc.poolSize},{jdbc.queryCount}/attribute

in the foo metric log I get numbers for everything above except the
jdbc stuff.  I just see {jdbc.poolSize},{jdbc.queryCount} in the
metric data.  Under my cfusion instance I get teh numbers output for
this JDBC data.  Wierd.

Doug


On Thu, 2 Dec 2004 14:49:09 -0500, Dave Watts [EMAIL PROTECTED] wrote:
  Ok, I setup metrics logging in my jrun.xml file under the default CFMX
  instance named cfusion. In the log format I ouptut {jdbc.poolSize} I
  have another JRUn server running CFMX call it foo. In its jrun.xml
  file I enabled logging and in the log format I put {jdbc.poolSize}.
  When I read teh metrics data in the logs though, only the original
  cfusion instance outputs the jdbc data, the foo server does not. Is
  there some other setting I'm missing?
 
 Are you sure you set metricsEnabled to true and uncommented the
 MetricsService block in both jrun.xml files? If so, you might want to start
 the foo server from the command line and see if you get an error of some
 sort with regard to log files.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 phone: 202-797-5496
 fax: 202-797-5444
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185997
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Malicious Code Characters

2004-12-02 Thread Jochem van Dieten
Tangorre, Michael wrote:
 Anyone know of a comprehensive list that outlines what to look for in
 form input and URLs in terms of malicious code and characters?

The big mistake: Looking for incorrect input
http://www-106.ibm.com/developerworks/linux/library/l-sp2.html#N10062

Jochem


~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185998
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Malicious Code Characters

2004-12-02 Thread Tangorre, Michael
Thanks!


Michael T. Tangorre  

 -Original Message-
 From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, December 02, 2004 3:00 PM
 To: CF-Talk
 Subject: Re: Malicious Code  Characters
 
 Tangorre, Michael wrote:
  Anyone know of a comprehensive list that outlines what to 
 look for in 
  form input and URLs in terms of malicious code and characters?
 
 The big mistake: Looking for incorrect input
 http://www-106.ibm.com/developerworks/linux/library/l-sp2.html#N10062
 
 Jochem
 
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185999
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Malicious Code Characters

2004-12-02 Thread Eric Creese
How about SQl Injection as well?

-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 12:40 PM
To: CF-Talk
Subject: Malicious Code  Characters


Anyone know of a comprehensive list that outlines what to look for in
form input and URLs in terms of malicious code and characters?
 
Thanks,
 
Mike
 




~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186000
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: JRun logging

2004-12-02 Thread Douglas Knudsen
my jrun.xml is here
http://cubicleman.com/jrun.xml

I have this same file under cfusion and foo in the server-inf dir.

Doug


On Thu, 2 Dec 2004 14:49:22 -0500, Douglas Knudsen
[EMAIL PROTECTED] wrote:
 yup, sure about that.  I am getting metric data output for foo, just
 not the jdbc data.  Here is my format
 attribute 
 name=metricsFormat,{jrpp.listenTh},{jrpp.delayTh},{jrpp.idleTh},{jrpp.busyTh},{jrpp.totalTh},{jrpp.delayRq},{jrpp.droppedRq},{jrpp.delayMs},{totalMemory},{freeMemory},{jdbc.poolSize},{jdbc.queryCount}/attribute
 
 in the foo metric log I get numbers for everything above except the
 jdbc stuff.  I just see {jdbc.poolSize},{jdbc.queryCount} in the
 metric data.  Under my cfusion instance I get teh numbers output for
 this JDBC data.  Wierd.
 
 Doug
 
 
 
 
 On Thu, 2 Dec 2004 14:49:09 -0500, Dave Watts [EMAIL PROTECTED] wrote:
   Ok, I setup metrics logging in my jrun.xml file under the default CFMX
   instance named cfusion. In the log format I ouptut {jdbc.poolSize} I
   have another JRUn server running CFMX call it foo. In its jrun.xml
   file I enabled logging and in the log format I put {jdbc.poolSize}.
   When I read teh metrics data in the logs though, only the original
   cfusion instance outputs the jdbc data, the foo server does not. Is
   there some other setting I'm missing?
 
  Are you sure you set metricsEnabled to true and uncommented the
  MetricsService block in both jrun.xml files? If so, you might want to start
  the foo server from the command line and see if you get an error of some
  sort with regard to log files.
 
  Dave Watts, CTO, Fig Leaf Software
  http://www.figleaf.com/
  phone: 202-797-5496
  fax: 202-797-5444
 
  

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186001
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: New cfml file manager - CFFM

2004-12-02 Thread jw
Rick,

very nice.   

what if i wanted to upload a TON small files though?  It might be nice
to allow for uploading of zips and than unizp them into a directory.  
I did this for a photo library once after a bunch of end users said it
took them forever to upload an album of a bunch of pics.   I just used
the java.util.zip, i could find some code if you would like, but it is
hella easy.

Might have to put a setting in though cause you might want to upload a
zip as well.

jw

On Thu, 02 Dec 2004 14:35:54 -0500, Rick Root [EMAIL PROTECTED] wrote:
 Someone had suggested an image preview before uploading... I've added
 that but have to work on the javascript... right now it just dumps the
 file URL into an iframe ... I think I'd want to restrict that to image
 types .. I'm too lazy to write the javascript to determine the file
 extension though right now, maybe later today =)
 
 The image preview, and the clickable icons are implemented in my
 demonstration site..
 
 I think a future version making this database capable would be kinda
 cool... sometime after release 1.0 =)
 
 Thanks for all your comments and suggestions!
 
 http://www.webworksllc.com/cffm/
 
   - Rick
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186002
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Hosting for Coldfusion

2004-12-02 Thread Will Tomlinson
I recommend 3 CF hosts. 

1.CRYSTALTECH
2.CRYSTALTECH
3.CRYSTALTECH

I doubt anyone does it better! 

Will

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186003
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


House of Fusion

2004-12-02 Thread Will Tomlinson
Everything about House of Fusion is slow!!

What's the deal???

Will

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186004
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


  1   2   >