RE: UUID Woes

2001-07-17 Thread Jones, Matt

you could create a custom tag that does something like this

cfset newUUID = createuuid()

cfset newUUID = mid('#newUUID#',1,23)  -  mid('#newUUID#',24,12)

cfset caller.newGuid = #newUUID#


-Original Message-
From: Norman Elton [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 7:17 PM
To: CF-Talk
Subject: UUID Woes


I'm starting to use UUIDs as primary keys, and they work 
great. Using Ingres, I just stored them as strings, and 
indexed them to be primary keys. According to the Ingres 
gurus, this wasn't a big deal.

I was happy to see that MS SQL 2000 has native support for 
UUIDs. Unfortunately, their idea of a UUID is a bit 
different from ColdFusion:

MS SQL:
----
ColdFusion:
---xxx

Needless to say, SQL won't accept ColdFusion's UUIDs. Does 
anyone know a way to get around this and allow ColdFusion 
to specify UUIDs to SQL?

Thanks!

Norman Elton
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Verity Limit

2001-06-14 Thread Jones, Matt

try using a '%' instead of a '*'

-Original Message-
From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 14, 2001 8:55 AM
To: CF-Talk
Subject: Re: Verity Limit


Try adding another colum with the value justtestingveritystuff in each
row,
now re-index, with that colum in the body and/or title - now run a search
for justtestingveritystuff

maybe searching by * has it's limitation, god knows..
let me know if it helps - start to look intresting.


Thanks,

Michael


- Original Message -
From: Philip Arnold - ASP [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, June 14, 2001 2:35 PM
Subject: RE: Verity Limit


  Disk Space?
  Maybe Quota?
  Try specifiying a diffrent path for the collection

 Here's how it's going now...
 I transferred the collection from a drive which had 2Gb free to one which
 had 27Gb free

 The user that CF uses has Admin privelages (at the moment), so it's
allowed
 full access to all drives - I've done this while I have the problem, to
 ensure it's not a space issue

 I rebuilt (again, 6,840 records in the query), and again 1,603 records
 returned from searching for * in the collection...

 Philip Arnold
 Director
 Certified ColdFusion Developer
 ASP Multimedia Limited
 T: +44 (0)20 8680 1133

 Websites for the real world

 **
 This email and any files transmitted with it are confidential and
 intended solely for the use of the individual or entity to whom they
 are addressed. If you have received this email in error please notify
 the system manager.
 **




~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Custom tag dilemma

2001-06-14 Thread Jones, Matt

you could also use cfmodule to call your custom tags

-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 14, 2001 8:18 AM
To: CF-Talk
Subject: RE: Custom tag dilemma


Sure, just put it in the same folder as the template that calls it.

===
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email   : [EMAIL PROTECTED]
ICQ UIN : 3679482

My ally is the Force, and a powerful ally it is. - Yoda 

 -Original Message-
 From: Guy McDowell [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 14, 2001 9:17 AM
 To: CF-Talk
 Subject: RE: Custom tag dilemma
 
 
 I could really use some custom tag functionality. Problem is, our
 host will not install or support any custom tags period. Add to
 that, that my organization is practically married to our host and
 won't change hosting.
 
 So...is there a way to implement a custom tag without it having
 to be in the CustomTags directory?
 
 Yours In Conservation,
 
 Guy J. McDowell
 Webmaster
 Ontario Federation of Anglers  Hunters
 (705) 748-6324 ext. 262
 www.OFAH.org
 
 
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Need decryptor tag for CFUG presentation

2001-06-08 Thread Jones, Matt

http://shrewm.net/cfd/

-Original Message-
From: Alii Design [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 08, 2001 8:30 AM
To: CF-Talk
Subject: RE: Need decryptor tag for CFUG presentation


That website is gone http://shroom.dv8.org/cfd/ I was looking for it
recently and it has been down.
Is there another?
Rich

-Original Message-
From: Semrau, Steven L Mr SRA
[mailto:[EMAIL PROTECTED]]
Sent: Friday, June 08, 2001 9:08 AM
To: CF-Talk
Subject: RE: Need decryptor tag for CFUG presentation


Decryptor tag?  Are you referring to the file that will decrypt cf templates
that authors have encrypted?  That's not a 'tag'.

Steven Semrau
SRA International, Inc.
Senior Member, Professional Staff
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Com:  (703) 805-1095
DSN:  (703) 655-1095


-Original Message-
From: James Milks [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 08, 2001 7:32 AM
To: CF-Talk
Subject: Need decryptor tag for CFUG presentation


Hi all,
I need a copy of the decryptor tag floating around for a cfug presentation
next week. I have misplaced my copy...Please provide a URL where I can
locate one.

Thanks,
James Milks
Noncubicle Corporation
www.noncubicle.com
[EMAIL PROTECTED]
(613) 560-9855
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Need decryptor tag for CFUG presentation

2001-06-08 Thread Jones, Matt

I agree,
I found it this morning on a major search engine

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 08, 2001 10:18 AM
To: CF-Talk
Subject: RE: Need decryptor tag for CFUG presentation


Ray,

I would agree with your statement competely...

BUT, since this program exists, and we have known that it exists for some
time there are a couple of things MM should have done...
#1. MM needs to find who wrote it and get the tag off the internet
#2. MM needs to change the encryption methodology inside of CF5.0 in the
first SP which will then totally take the program out of usefulness...

John


-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 08, 2001 8:45 AM
To: CF-Talk
Subject: RE: Need decryptor tag for CFUG presentation


Correct me if I'm wrong, and I'm saying this as Ray Camden, not Ray Camden
of Macromedia, but isn't use of this decryptor illegal? Should we so
casually discuss a piece of a software that is probably illegal to use?

Also, in general, unless you encrypt your OWN files, you should not be
decrypting other people's templates. If you _do_ encrypt your files, you can
contact Tech support for help. Therefore, there is no need for this
software.

Am I wrong here? And let's not discuss wether it's right or wrong, I'm
talking about legality.

===
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email   : [EMAIL PROTECTED]
ICQ UIN : 3679482

My ally is the Force, and a powerful ally it is. - Yoda

 -Original Message-
 From: Jones, Matt [mailto:[EMAIL PROTECTED]]
 Sent: Friday, June 08, 2001 9:37 AM
 To: CF-Talk
 Subject: RE: Need decryptor tag for CFUG presentation


 http://shrewm.net/cfd/

 -Original Message-
 From: Alii Design [mailto:[EMAIL PROTECTED]]
 Sent: Friday, June 08, 2001 8:30 AM
 To: CF-Talk
 Subject: RE: Need decryptor tag for CFUG presentation


 That website is gone http://shroom.dv8.org/cfd/ I was looking for it
 recently and it has been down.
 Is there another?
 Rich

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Date Query problem.

2001-06-07 Thread Jones, Matt

Basically what I would do (based on your db structure)

but why would you store the date as separate fields?

cfset BeginDate = now()
cfset endDate = dateAdd(m,6,BeginDate)

cfquery name=oncall datasource=rml_lab
 select month,day,year,who
 from on_callmic
 where (month = #month(begindate)# and day = #Day(begindate)# and year =
#Year(begindate)#)
 AND
(month = #month(enddate)# and day = #Day(enddate)# and year =
#Year(enddate)#)
 order by year, month, day
/cfquery

 
 marquee scrollAmount=5 direction=left width=100% height=5
 style=background-color:white;border:none
 CFOUTPUT query=oncall
b#Dateformat(CreateDate(year,month,day),  - mmm/dd/)#
nbsp;#who# is Manager in
Charge.nbsp;nbsp;nbsp;nbsp;nbsp;/b/font/CFOUTPUT/marquee


-Original Message-
From: Andy Ewings [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 07, 2001 10:17 AM
To: CF-Talk
Subject: RE: Date Query problem.


CF doesn't deal with variables in this way. If you do CFSET a =
DateFormat(now(),dd) then a is neither a string, number or date.  CF
decides what type the variable is once you combine it with an operand  For
example if you tried to do a mathematical function on it (say add it to
another number) then this would be fine.  If you tried to concatenate it to
a string then this would also be ok.

-Original Message-
From: Dusty Tinashe Shoko [mailto:[EMAIL PROTECTED]]
Sent: 07 June 2001 15:32
To: CF-Talk
Subject: Re: Date Query problem.


..
CFSET a = DateFormat(now(),dd)
..

is variable 'a' a date or a number now?
Why dont u add to the date first and then get the day afterwards

- Original Message - 
From: Schwartz, Paul [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, June 06, 2001 6:03 PM
Subject: Date Query problem.


 I have a query of a database that I am doing so that it shows the
 results for the next seven days.
 this script works up until the end of the month. when it just adds on
 to the end of the month.
 for example. may 27,28,29,30,31,32,33 instead of changing to the next
 month and starting over again at the next month. any Ideas would be
 helpful.
 
 
 database table format
 month,day,name
 
 
 thanks,
 
 !---code for showing Oncall personel for the next seven
 days--- 
 CFSET thismonth = DateFormat(now(),mm)
 CFSET a = DateFormat(now(),dd)
 cfset b = #a# + 1
 cfset c = #b# + 1
 cfset d = #c# + 1
 cfset e = #d# + 1
 cfset f = #e# + 1
 cfset g = #f# + 1
 cfquery name=oncall datasource=rml_lab
 select month,day,year,who
 from on_callmic
 where month = #thismonth# and day = #A# OR 
 month = #thismonth# and day = #B# OR 
 month = #thismonth# and day = #C# OR
 month = #thismonth# and day = #D# OR 
 month = #thismonth# and day = #E# OR 
 month = #thismonth# and day = #F# or 
 month = #thismonth# and day = #g#
 order by month
 /cfquery
 
 marquee scrollAmount=5 direction=left width=100% height=5
 style=background-color:white;border:none
 CFOUTPUT query=oncallcfset td1 = #oncall.month#  / 
 #oncall.day#  /  #oncall.year#font face=Arial size=2b on
 #Dateformat(td1,  - mmm/dd/)#nbsp;#who# is Manager in
 Charge.nbsp;nbsp;nbsp;nbsp;nbsp;/b/font/CFOUTPUT/marquee
 
 
 Paul Schwartz
 Information Systems Technician / Webmaster
 Regional Medical Lab
 mailto:[EMAIL PROTECTED]
 
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Brain isn't working yet...

2001-06-01 Thread Jones, Matt

cfif mid(cgi.remote_addr,1,10) is '192.168.5.'
Allow action
/cfif
-Original Message-
From: Marcus [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 01, 2001 9:56 AM
To: CF-Talk
Subject: Brain isn't working yet...


I'm trying to provide functionality to a select group of people on a
specific subnet. What I'd like to do is something along the lines of..

cfif #cgi.remote_addr# is '192.168.5.0'
Allow action
/cfif

The thing being they use dhcp to allocate IP's and the address could
actually be any of the block. Is there a wild card I can use? or some other
way to not specify the last number?

Marcus
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF5 review in eWEEK

2001-05-30 Thread Jones, Matt

Yeah, I bought my suv from Isuzu, and they don't call me to tell me the
improvements that they have made to the new model, when it is coming out, or
which mechanics I should take it to.  I guess that if they would be more
proactive in keeping me updated it would be better? 

Also, my college doesn't call me and tell me if they have any new degrees
that are being offered that might be more up to date than the degrees that I
have. 

Personally, I believe that Allaire/Macromedia exceed most vendors in
providing information and updates in an easily accessable area.  No they are
not perfect, No not every question is addressed.  But I am quite happy with
the combination of Allaire/Macromedia information and the developer
community for exchanging information.

-Original Message-
From: Arden Weiss [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 30, 2001 8:26 AM
To: CF-Talk
Subject: RE: CF5 review in eWEEK


Sorry you missed my point -- I and my clients buy products from a vendor 
(Allaire/Macromedia) and they choose not to keep the paying customer 
informed in a proactive manner -- instead they wait for the 
customer/client/developer to go to their events/websites to get information 
-- is that how you as a developer behave with your customers?

Same with the thread about certification CF4.5 vs 5.0 (recent ongoing 
thread) -- regarding the real truth about whether CF4.5 certifcation 
transfers to 5.0 and other related issues -- some think so, some do not -- 
which is it -- guess who could/should set the record straight in a 
proactive manner...

CFX_OFF_SOAPBOX

 ^
/ \__
   (@\___
  /  O
 /(_/
/_/
Whoof...
410-757-3487

-Original Message-
From:   Raymond Camden [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, May 30, 2001 8:27 AM
To: CF-Talk
Subject:RE: CF5 review in eWEEK

 Sad that this kind of insight is not available direcly from
 Allaire/Macromedia.

Eh? There is nothing in this article that is not available on either the 
web
site, or in the streaming video announcements from last years DevConf (err,
which is ALSO on the web site).

===
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email   : [EMAIL PROTECTED]
ICQ UIN : 3679482

My ally is the Force, and a powerful ally it is. - Yoda
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Request vs application scope

2001-05-29 Thread Jones, Matt

yes, but keep in mind what is trying to be accomplished. which is to reduce
the access to shared resource variables, thus needing locking.  I would
prefer to take the hit in setting constants each page request, than worry
about the locking around each read and write access, including isDefined.

-Original Message-
From: stas [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 29, 2001 3:05 PM
To: CF-Talk
Subject: Re: Request vs application scope


Isn't it a bit illogical to use request scope for storing constants if they
can be overwritten? I understand that there is no sense in doing cfif
isdefined(request.myvar) as the variable will be destroyed no matter
what, so you have to always re-initialize it. Does that carry more or less
penalty than checking for existence of an application scope variable with
isdefined()?


- Original Message -
From: Dave Watts [EMAIL PROTECTED]


 Brilliant! So what's the downside? The variables are not
 persistent across pages are they?

Request variables aren't persistent across pages, as Session, Application
and Server variables are. However, you're using them in Application.cfm, so
they'll be available on every page. They'll simply be recreated for every
page. Since you're using them as constants, there isn't really any downside
to using them.

Dave Watts, CTO, Fig Leaf Software
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Compacting .cfm files

2001-05-25 Thread Jones, Matt

I would imagine violence is the best alternative

I think I would shoot the spec writer

Seriously, I would demo this to someone who CAN modify the specs, using a
slow machine with little ram, and a dial up connection. 

Call Guinness if the monstrosity works, even marginally acceptable.

-Original Message-
From: Brian Fox [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 25, 2001 10:28 AM
To: CF-Talk
Subject: Compacting .cfm files


Sorry if this is beating a dead horse.  A search of the archives brought up
similar questions, but didn't really approach a solution.

I have a form that contains as many as 200 select boxes with about 6 options
each and 200 more input boxes.  I guess that there is some type of resource
crunch (memory, widget handles, who knows) that causes the following error:
when scrolling a large form, the select boxes begin to smear vertically.
They become clumped together and function oddly (some still seem to work,
although I can't tell what 'line' they belong to).

It's in the project specs that I cannot break the form up... which throws
out the 'display records 1-20 21-40' type solutions.

The only thing I can think to do is tighten the cfm code up.  Our shop is
indent happy for readability.  The indenting produces a LOT of whitespace
(perhaps bloating the code as much as 100%).  I've already added cfsetting
tags to squash output on custom tags, queries, etc.  But there is still a
lot of whitespace in the other 'normal' code.

Are there any utilities to obliterate whitespace in cfm files?  Er,
something along the lines of turning an indented file into a really long
single string?  Is there a code beautifier to do the opposite?  Is this
approach worthwhile?

Thanks,
Brian
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Compacting .cfm files

2001-05-25 Thread Jones, Matt

lmao

-Original Message-
From: Bryan Love [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 25, 2001 12:11 PM
To: CF-Talk
Subject: RE: Compacting .cfm files


Here's a comparable question:

I have a small pickup and I need to haul 42 elephants, but when I
load the elephants into the pickup it scrapes on the pavement.  Does anyone
know of a kit I could install to stiffen up the springs?  I was thinking
about removing the tailgate to reduce the overall weight of the load.

Get new specs.


Bryan Love ACP
Internet Application Developer
[EMAIL PROTECTED]



-Original Message-
From: Brian Fox [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 25, 2001 8:28 AM
To: CF-Talk
Subject: Compacting .cfm files


Sorry if this is beating a dead horse.  A search of the archives brought up
similar questions, but didn't really approach a solution.

I have a form that contains as many as 200 select boxes with about 6 options
each and 200 more input boxes.  I guess that there is some type of resource
crunch (memory, widget handles, who knows) that causes the following error:
when scrolling a large form, the select boxes begin to smear vertically.
They become clumped together and function oddly (some still seem to work,
although I can't tell what 'line' they belong to).

It's in the project specs that I cannot break the form up... which throws
out the 'display records 1-20 21-40' type solutions.

The only thing I can think to do is tighten the cfm code up.  Our shop is
indent happy for readability.  The indenting produces a LOT of whitespace
(perhaps bloating the code as much as 100%).  I've already added cfsetting
tags to squash output on custom tags, queries, etc.  But there is still a
lot of whitespace in the other 'normal' code.

Are there any utilities to obliterate whitespace in cfm files?  Er,
something along the lines of turning an indented file into a really long
single string?  Is there a code beautifier to do the opposite?  Is this
approach worthwhile?

Thanks,
Brian
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFINPUT -- not validating Integer

2001-05-16 Thread Jones, Matt

There is an error in the javascript created by cfform

This is the function
function _CF_checkinteger(object_value)
{
//Returns true if value is a number or is NULL
//otherwise returns false   

if (object_value.length == 0)
return true;

//Returns true if value is an integer defined as
//   having an optional leading + or -.
//   otherwise containing only the characters 0-9.
var decimal_format = .;
var check_char;

//The first character can be + -  blank or a digit.
check_char = object_value.indexOf(decimal_format)
//Was it a decimal?
if (check_char  1)
return _CF_checknumber(object_value);
else
return false;
}

the 5th line from the bottom should have been 
if (check_char  0)


-Original Message-
From: Michael S. Kimmett [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 4:37 PM
To: CF-Talk
Subject: CFINPUT -- not validating Integer


Howdy,

I am trying to get the CFINPUT Tag to validate an integer on a form.  The
darn tag will validate SSN, zipcodes, etc, but when I enter the integer
parameter and test the validation using the following value ( .3 or any
value that starts with a decimal point ) the javascript validation fails (
the js allows the value to pass).

Does anyone know if this is a bug in CF 4.5 and something that I will just
have to live with?

Michael

CFFORM Name=Test ACTION=appCFINPUTTEST.cfm
 CFINPUT Type=Text Name=Number1 Required=yes 
validate=integer  Message=You did not provide a correct Integer!
   Size=20 Maxlength=30
 
BR
INPUT Type=Submit Name=Submit Value=Submit 
/CFFORM
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFFILE BTW

2001-05-08 Thread Jones, Matt

From the documentation

Evaluating the results of a file upload
After a file upload is completed, you can retrieve status information using
file upload parameters. This status information includes a wide range of
data about the file, such as the file's name and the directory where it was
saved. File upload status parameters use the File  prefix, for example,
File.ClientDirectory. The file status parameters can be used anywhere other
ColdFusion parameters can be used.

The following file upload status parameters are available after an upload.

 File Upload Parameters   
Parameter  Description  
AttemptedServerFile  Initial name ColdFusion used attempting to save a file,
for example, myfile.txt.
 
ClientDirectory  Directory location of the file uploaded from the client's
system.
 
ClientFile  Name of the file uploaded from the client's system.
 
ClientFileExt  Extension of the uploaded file on the client's system without
a period, for example, txt not .txt.
 
ClientFileName  Filename without an extension of the uploaded file on the
client's system.
 
ContentSubType  MIME content subtype of the saved file.  
ContentType  MIME content type of the saved file.  
DateLastAccessed  Date and time the uploaded file was last accessed.  
FileExisted  Indicates (Yes or No) whether or not the file already existed
with the same path.
 
FileSize  Size of the uploaded file.
 
FileWasAppended  Indicates (Yes or No) whether or not ColdFusion appended
the uploaded file to an existing file.
 
FileWasOverwritten  Indicates (Yes or No) whether or not ColdFusion
overwrote a file.
 
FileWasRenamed  Indicates (Yes or No) whether or not the uploaded file was
renamed to avoid a name conflict.
 
FileWasSaved  Indicates (Yes or No) whether or not Cold Fusion saved a file.
 
OldFileSize  Size of a file that was overwritten in the file upload
operation.
 
ServerDirectory  Directory of the file actually saved on the server.
 
ServerFile  Filename of the file actually saved on the server.
 
ServerFileExt  Extension of the uploaded file on the server, without a
period, for example, txt not .txt.
 
ServerFileName  Filename, without an extension, of the uploaded file on the
server.
 
TimeCreated  Time the uploaded file was created.
 
TimeLastModified  Date and time of the last modification to the uploaded
file.
 


Tip  Use the File prefix to refer to these parameters, for example,
#File.FileExisted#.  



Note  File status parameters are read-only. They are set to the results of
the most recent CFFILE operation. (If two CFFILE tags execute, the results
of the first are overwritten by the subsequent CFFILE operation.)  

-Original Message-
From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 08, 2001 1:03 PM
To: CF-Talk
Subject: Re: CFFILE BTW


by the way: what are the properites I can use for file (after cffile/upload)

I know #file.serverfile#

how can I get a list of them? the documentation says nothing.

THANKS!

- Original Message -
From: Foggy, Doreen [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, May 08, 2001 5:43 PM
Subject: CFFILE


 Error Diagnostic Information
 Error processing CFFILE
 The directory specified in the DESTINATION attribute of the CFFILE tag
 chh-test\www\lmts_int\cic is not valid. The directory either does not
exist
 or is not accessible by the ColdFusion service.
 The error occurred while processing an element with a general identifier
of
 (CFFILE), occupying document position


 I am using the CFFILE tag for the first time and I am running into some
 problems.  Please Help!  The directory does exist and I am not sure what
 accessible by the ColdFuison service means.  The directory is located on
the
 web server.
 * I have two forms
 * upload.cfm (html form)
 * uploadfile.cfm (action page)

 The syntax for both is located below:

 Upload.cfm
 titleWebStar: Contracts Online/title
 /head
 body background=image/background_blue.gif text=White link=Silver
 vlink=Yellow alink=White
 img src=image/file.gif width=1200 height=50 border=0 alt=
 !--- This document was created with Cold Fusion Studio ---
 FORM ACTION=uploadfile.cfm ENCTYPE=multipart/form-dataMETHOD=POST
   table
   border=0
 tr
   tdFile to upload:/td
   td
 input name=FileName size=50 type=FILE
   /td
 /tr
 tr
   tdFile Destination:/td
   td
   input type=text name=FileDestination
 value=\\chh-test\www\lmts_int\cic size=50
input type=SUBMIT size=50 value=Upload name=SUBMIT
   /td
 /tr
   /table
   nbsp;
 /FORM
 /BODY
 /HTML

 Upload.cfm
 titleWebStar: Contracts Online/title
 /head
 body background=image/background_blue.gif text=White link=Silver
 vlink=Yellow alink=White
 img src=image/file.gif width=1200 height=50 border=0 alt=
 !--- This document was created with Cold Fusion Studio ---
 cffile action=UPLOAD
 filefield=FileName
 destination=#form.FileDestination#
 nameconflict=OVERWRITE
 CFOUTPUT
 CENTER
 CF 3.1 CFFILE Tag File 

RE: Locking??

2001-05-07 Thread Jones, Matt

Yes, lock every read and write

-Original Message-
From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 11:01 AM
To: CF-Talk
Subject: Locking??


I'm new to this LOCKING thing with CF.
Do I need to LOCK EVERY single READ from application/session/cfxs?
Even if I just read from them??

I know that I can turn on automatic LOCK on CF-ADMIN but I also know it's
not useful.
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: How to Force https vs http

2001-05-03 Thread Jones, Matt

you could check to see if CGI.SERVER_PORT does not contain your secure port
and relocate to https://#CGI.HTTP_HOST##CGI.SCRIPT_NAME#

-Original Message-
From: Chris Montgomery [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 03, 2001 8:57 AM
To: CF-Talk
Subject: How to Force https vs http


Howdy all,

Quick questionis it possible to have a URL redirect to a secure URL? For
example, someone enters http://www.xxxblahxxx.com/secure/securepage.cfm
instead of  https://www.xxxblahxxx.com/secure/securepage.cfm. How do you
force a redirect to the secure URL? Is that a server function, or can it be
done programmatically?

TIA,

Chris Montgomery [EMAIL PROTECTED]

Web Development  Consulting http://www.astutia.com
Allaire Sales  Consulting Partner
210-490-3249/888-745-7603Fax 210-490-4692
Instant Messaging:
AIM: astutiaweb; ICQ: 7381282; MSN: [EMAIL PROTECTED]
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Really large recordsets (40,015 records) won't return

2001-05-01 Thread Jones, Matt

That is too much to get the browser to render at a time, narrow the display
results, if not the recordset.  

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 01, 2001 7:59 AM
To: CF-Talk
Subject: Really large recordsets (40,015 records) won't return



I have a query that returns 40,015 records when run in Oracle SQL*Plus.
When I try to run this query in a .cfm page, it just hangs - no timeout
messages, no nothing, just sits there and hangs and occasionally locks up
the browser. I tried setting the timeout  (FORM ACTION
=pc4DisplayResults.cfm?RequestTimeout=2000 METHOD=post NAME=ThisForm
ID=ThisForm) which doesn't seem to help. Is there some setting I can
change on CF Server? Something I can put in my code? Does anyone have any
suggestions how to handle this?

Gina Shillitani
[EMAIL PROTECTED]
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Large recordset = large whitespace???

2001-04-27 Thread Jones, Matt

I believe that you are referring to the actual page output.  Whitespace is
the blank space that you would see on a view source.

Anyhow, I would imagine that you are displaying everything in a table that
has hidden form fields somewhere in it.  Hidden form fields take up a very
small amount of real estate on your page, but if these are all bunched
together, it can really screw up the expected output.  If your hidden form
fields are outside of tds, it places the resulting space prior to the table.

just like 
table
tr
tdA/td
tdB/td
C
/tr
/table

would place the C prior to the table

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 8:43 AM
To: CF-Talk
Subject: Large recordset = large whitespace???



I have a query that can return several thousand records. When I run a query
that only returns a small number ( lets say 15 or so, which is what I have
seen), the page behaves fine, displays fine, etc. HOWEVER if I return a
large number of records (1020, which is what I have seen), there is a huge
amount of white space (like 2 page down's worth on a 1024 X 768 resolution)
displayed before the table of results... in effect, making it look as if
there was nothing returned, and all there is showing initially is the page
header graphics. I've made sure everything that can be set to 0 is
(margins, cellpadding, etc.) and that all the table elements are valigned
to TOP... any other suggestions?

Gina Shillitani
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: List Functions

2001-04-27 Thread Jones, Matt

change theLoop to theList

-Original Message-
From: L Williams [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 10:53 AM
To: CF-Talk
Subject: Re: List Functions


Hi Robert,
Thanks for the tip, but it didn't work.
The server can't figure out what theLoop is

I get :
Error Occurred While
Processing Request
Error Diagnostic Information
An error occurred while evaluating the expression:
#listgetat(theloop,i)#
Error near line 42, column 95.
Error resolving parameter  THELOOP
ColdFusion was unable to determine the value of the parameter. This problem
is very likely
due to the fact that either:
 -You have misspelled the parameter name, or
 -You have not specified a QUERY attribute
for a CFOUTPUT, CFMAIL, or CFTABLE tag.
The error occurred while processing an element with a general identifier of
(#listgetat(theloop,i)#), occupying document position (42:94) to
(42:115) in the template file
/opt/coldfusion/CustomTags/bestbets/rTreelw.cfm

Any clues?

Thanks in advance - I'm still stumped.
Loryn



Robert Segal wrote:

 Try something like this:

 cfloop from=1 to = #listlen(thelist)# index=i
 cfoutput
 a

href=http://www.domain.com/search_children.cfm?parent=#listgetat(theloop,i)
 ##listgetat(theloop,i)#/a
 /cfouput
 /cfloop

 Assuming your list is in a variable called thelist (e.g. thelist =
 Corporate Life,Amenities,Cafeteria)

 -Original Message-
 From: Loryn C Williams [mailto:[EMAIL PROTECTED]]
 Sent: Friday, April 27, 2001 6:47 AM
 To: CF-Talk
 Subject: List Functions

 All,
 I think I have a fairly simple problem, but I can't for the life of me
 figure out how to get this done.

 I have a custom tag that traverses up a tree and produces a list (good)
 How do I make each list item (as it is output) contain a url reference
 and values to call another
 cf custom tag?

 For example my list produces

 Corporate Life - Amenities - Cafeteria

 I would like it to say
 a href=http://www.domain.com/search_children.cfm?parent=Corporate
 LifeCorporate Life /a etc..

 I have not had any luck at all with this and any help would be GREATLY
 appreciated.
 Thank You in advance
 Loryn Williams


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Adding 90 minutes to Now()

2001-04-24 Thread Jones, Matt

N or n
#DateAdd('n', 90, Now())#
n specifies minutes

-Original Message-
From: Ben Dyer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 24, 2001 10:33 AM
To: CF-Talk
Subject: Adding 90 minutes to Now()


I'm not sure how to do this:

How do I find the value of ninety minutes from now?

#DateAdd('h',1.5,Now())#
Returns one hour from now (I'm guessing CF just rounds the non-integer down 
to the next integer.

#DateAdd('m',90,Now())#
Returns ninety months from now (October 2008).

#DateAdd('mm',90,Now())#
Returns an error.

Any thoughts?

--Ben


-=-=-=-=-=-=-=-=-=-=-=-=-
Ben Dyer
Senior Internet Developer
Imaginuity Interactive
http://www.imaginuity.com
-=-=-=-=-=-=-=-=-=-=-=-=-
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Character code for a TAB

2001-04-24 Thread Jones, Matt

Can we please stop this, on this list.
I liken this to span.

-Original Message-
From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 24, 2001 5:13 PM
To: CF-Talk
Subject: Re: Character code for a TAB


Don't wait for fireworks..
let's try the new chat solution
chat.imvamp.com

- Original Message -
From: Terry Bader [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, April 24, 2001 8:49 PM
Subject: RE: Character code for a TAB


 char(09), will that work???

 **sits back and waits for fireworks


 Terry Bader
 IT/Web Specialist
 Macromedia Certified Coldfusion Developer
 EDO Corp - Combat Systems
 (757) 424-1004 ext 361 - Work
 [EMAIL PROTECTED]


 (757)581-5981 - Mobile
 [EMAIL PROTECTED]
 icq: 5202487   aim: lv2bounce
 http://www.cs.odu.edu/~bader





  -Original Message-
  From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, April 24, 2001 12:57 PM
  To: CF-Talk
  Subject: Re: Character code for a TAB
 
 
  If anyone else says char(09) I'm gonna frakk :)
  CHAT SOLUTION NOW
 
 
  - Original Message -
  From: Steven A. del Sol [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Tuesday, April 24, 2001 5:37 PM
  Subject: Re: Character code for a TAB
 
 
   I THINK IT IS CHAR(09)
  
  
  
  
   At 05:10 PM 4/24/2001 +0200, you wrote:
   There must be a way to let us know the question has been answered!
   Let's think about it!
   
   - Original Message -
   From: C. Hatton Humphrey [EMAIL PROTECTED]
   To: CF-Talk [EMAIL PROTECTED]
   Sent: Tuesday, April 24, 2001 3:51 PM
   Subject: RE: Character code for a TAB
   
   
 I think the problem is more due to the fact that the
  responses are
  more
 hey, I know the answer to this!!! repetitions than
  meant to clog the
   list.
 It's one of the downsides of using an e-mail list
  versus some other
   message
 base format.  All of the replies probably got sent out
  at the same
  time
   and
 the delay the list actually getting them is more due
  to email lag
  than
 anything else.

 It's great to get a response and frustrating not to,
  and I think all
  of us
 have experienced both sides of that coin.  So to make
  up for it, when
  we
 know how to help someone we reflexively hit reply.  The
  cascade effect
  is
 what we all see.

 Hatton Humphrey

 Barbara remains in the hospital and needs blood donors for more
 transfusions. She is also having trouble sleeping and
  requests tapes
  of
 Pastor Jack's sermons. - From Real Church Bulletin Bloopers

  -Original Message-
  From: Erika L Walker [mailto:[EMAIL PROTECTED]]
 
  How about everyone bookmarks this page
  (http://www.asciitable.com/),
  now...then no-one should ever have to ask again. Except of
  course
   the
  newcomers. And those we'll beat into submission with
  a big ole CF
  book
   or
  something...?
 
  :)
 
  Erika
 
  -Original Message-
  From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
 
  I JUST LOVE IT WHEN 1203483409875 PEOPLE answer the
  same answer
  to a pretty easy question.
 
  I think we gotta sort this out somehow... :)
 
  Thanks,
 
  Michael Lugassy
  Interactive Music Ltd.



   
   
  
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Another YAFLAQ (yet another f****** lock question)

2000-12-04 Thread Jones, Matt

Why are you locking the entire page?

-Original Message-
From: Gregory Harris [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 04, 2000 11:47 AM
To: CF-Talk
Subject: Another YAFLAQ (yet another f** lock question)


Ok, we all know that CFLOCK will lock up a page to single-threaded mode, but
my question is, if a Locked template encounters a CFINCLUDE statement, will
it lock up the resources in that page as well, for instance:

I have Page A,B, and C

Page A is locked up within a CFLOCK statement, but includes a CFINCLUDE to
page C, page A is running Page C when page B attempts to CFINCLUDE page C as
well.

Will Page B be allowed to include Page C right away, or is it going to have
to wait until Page A clears the lock?

Gregory Harris
Web Developer
Stirling Bridge Group LLC
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Locking

2000-11-15 Thread Jones, Matt

I would recommend not setting that as an application variable.
I would do
cfset request.ds = 'my_datasource'
You can then reference this on all of your pages without worry of locking

Locking only works if you lock ALL reads and writes

If you choose to use an application scope, you should definately lock the
read, but again, I would not use an application scope for this variable

-Original Message-
From: Scott Mulholland [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 15, 2000 9:16 AM
To: CF-Talk
Subject: Locking


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--_=_NextPart_001_01C04F16.E999BB70
Content-Type: text/plain;
charset="iso-8859-1"

I am setting my datasource value in application.cfm with the following:
 
cflock scope="Application" timeout="30" type="Exclusive"
  cfif not IsDefined("application.DS")
cfset application.DS = 'my_datasource'
  /cfif
/cflock
 
Now in my application whenever I reference that variable (cfquery name="X"
datasource="#application.DS#") is it ok not to do a read only lock?  
Or do I need to lock it each time I call it?
The value of DS will never really change.
 
Thanks,
Scott
 

--_=_NextPart_001_01C04F16.E999BB70
Content-Type: text/html;
charset="iso-8859-1"

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
HTMLHEAD
META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"


META content="MSHTML 5.50.4207.2601" name=GENERATOR/HEAD
BODY
DIVSPAN class=270081315-15112000FONT face=Arial size=2I am setting my 
datasource value in application.cfm with the following:/FONT/SPAN/DIV
DIVSPAN class=270081315-15112000FONT face=Arial 
size=2/FONT/SPANnbsp;/DIV
DIVSPAN class=270081315-15112000FONT face=Arial size=2lt;cflock 
scope="Application" timeout="30" type="Exclusive"gt;BRnbsp; lt;cfif not

IsDefined("application.DS")gt;BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp
;nbsp;nbsp;nbsp;nbsp; 
lt;cfset application.DS = 'my_datasource'gt;BRnbsp; 
lt;/cfifgt;BRlt;/cflockgt;/FONT/SPAN/DIV
DIVSPAN class=270081315-15112000FONT face=Arial 
size=2/FONT/SPANnbsp;/DIV
DIVSPAN class=270081315-15112000FONT face=Arial size=2Now in my 
application whenever I reference that variable (lt;cfquery name="X" 
datasource="#application.DS#"gt;) is it ok not to do a read only
lock?nbsp; 
/FONT/SPAN/DIV
DIVSPAN class=270081315-15112000FONT face=Arial size=2Or do I need to
lock 
it each time I call it?/FONT/SPAN/DIV
DIVSPAN class=270081315-15112000FONT face=Arial size=2The value of DS
will 
never really change./FONT/SPAN/DIV
DIVSPAN class=270081315-15112000FONT face=Arial 
size=2/FONT/SPANnbsp;/DIV
DIVSPAN class=270081315-15112000FONT face=Arial 
size=2Thanks,/FONT/SPAN/DIV
DIVFONT face=Arial size=2Scott/FONT/DIV
DIVFONT face=Arial size=2/FONTnbsp;/DIV/BODY/HTML

--_=_NextPart_001_01C04F16.E999BB70--


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Capitalize First Letter of Each Word

2000-10-26 Thread Jones, Matt

cfoutput
cfloop list="#form.fieldname#" index="myindex" delimiters=" "
#Ucase(mid(myindex,1,1))##Lcase(mid(myindex,2,(len(myindex)-1)))#
/cfloop
/cfoutput

-Original Message-
From: John McKown [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 26, 2000 7:35 AM
To: CF-Talk
Subject: Capitalize First Letter of Each Word


Can someone share a script that will capitalize the
first letter of every word entered into a form field?

John McKown, VP Business Services
Delaware.Net, Inc.
30 Old Rudnick Lane, Suite 200 Dover, DE 19901
email: [EMAIL PROTECTED]
phone: 302-736-5515
fax: 302-736-5945
icq: 1495432





Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Lock once or twice?

2000-10-25 Thread Jones, Matt

!--- checks to see if I need to lock to a single thread ---
cflock timeout="30" scope="SESSION" type="READONLY"
cfif not parameterexists(session.jobType)
cfset doisetjobtype="yes"
/cfif
/cflock

cfif doisetjobtype is "yes"
cflock timeout="30" scope="SESSION" type="EXCLUSIVE"
!--- Insures that I still need to set this variable, not
set by another thread ---
cfif not parameterexists(session.jobType)
cfset session.jobType='active'
/cfif
/cflock
/cfif
-Original Message-
From: Chris Norloff [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 25, 2000 1:48 PM
To: CF-Talk
Subject: Lock once or twice?


Hi, I'm working on a system with CFIF statements reading session variables,
then CFSET statements setting session variables.

Is it better to 
1. use one EXCLUSIVE lock for both the CFIF and CFSET statements, or 
2. use an EXCLUSIVE lock around the CFSET statement and a READONLY lock
around the CFIF statement?

And, if option 2 is better, how do I do it without nesting CFLOCK statements
(which I understand shouldn't be done)? [Use a temporary variable?]

thanks, 
Chris Norloff

EXAMPLE - EXCLUSIVE lock protects both read and write accesses, but is there
a faster way?

cflock timeout='99' name="#session.sessionID#" type="EXCLUSIVE"
 cfif not parameterexists(session.jobType)
cfset session.jobType='active'
 /cfif
/cflock


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Mysterious Request Scope

2000-10-24 Thread Jones, Matt

This is from the ColdFusion Quick Reference Guide

"Request variables store data that pertains to the processing of a single
page request. Request variables allow you to store data in a structure that
can be passed to nested tags, such as Custom Tags, and processed once.

Set a Request variable to provide information to nested tags.  The Request
variable is set as follows:
CFSET Request.field_name1 = "value"
CFSET Request.field_name2 = "value"
CFSET Request.field_name3 = "value"

Each nested tag can access the variable with the CFOUTPUT tag:
CFOUTPUT#Request.field_name1#/CFOUTPUT"


-Original Message-
From: Mark Johnson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 24, 2000 1:55 AM
To: CF-Talk
Subject: Mysterious Request Scope


I have seen a few references to the REQUEST scope by many on this list.  Is
this a standard scope that is available to all CF pages?  What is stored in
this structure? Is there any information on it in the CF documentation?
When does it get built?

Mark Johnson
---
Senior Cold Fusion Developer
Cardinal Communications



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: cferror and exceptions

2000-10-20 Thread Jones, Matt

what is the content of the templates that you are calling, in the event of
cferror?  

Only minimal cfcode is allowed, basically cfoutputWhichever error
variables your exception creates/cfoutput.  You can also do whatever
standard html you want.  (I suspect this is so you won't create an exception
and start an infinite loop) 

To do other processing on it, you would need to hit another page.  I
accomplish this by creating a form on the template page. with all of the
error scoped variables being the values of my hidden form fields, display
some type of "happy" error message, and the body tag has an
onLoad="setTimeout('document.forms[0].submit();',6000)" to send it to
another page after enough time to read the page.  This next page can do any
cfm processing.

-Original Message-
From: Lawrence Smith [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 20, 2000 1:01 AM
To: CF-Talk
Subject: cferror and exceptions


Hi All

We are trying to utilise one of the new CF4.5 features where you can catch 
exceptions using cferror instead of using cftry and cfcatch.

However, our host is on 4.5 and it is not working - anyone else had this 
experience of know of a bug/solution?

Many thanks!
Lawrence Smith





Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: fusebox style: too much disk access?

2000-10-20 Thread Jones, Matt

If the code is logical, organized, and well written, it shouldn't matter if
you utilize the Fusebox methodology or not, fusebox assists people with
accomplishing these things.  If you do it without using the fusebox
methodology, that doesn't make you wrong.  Any approach to programming that
is not logical, organized, and well written is a pain to debug, maintain,
and update, regardless of whether it is in fusebox or not.  The fact that so
many fuseboxers take offense to non-fuseboxers and vice versa is rather
disturbing.  We should strive to forward ourselves by not getting into nit
picky arguments amongst ourselves about matters of style, and focus on
helping each other with the problems that we all run into. 

-Original Message-
From: Peter Theobald [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 20, 2000 3:33 PM
To: CF-Talk
Subject: RE: fusebox style: too much disk access?


Since we're talking about it... I always thought that breaking up an
application by "type of activity in the file" like dsp for display and qry
for query didn't make sense. I want to break up my application by logical
"object" like a user profile, an inventory item, etc..


At 11:19 AM 10/20/00 -0700, Nat Papovich wrote:
What-evah, Dave. Fusebox kicks ass for the very implementation you mention.
COMs can be called from a single file (using a new prefix com_filename.cfm
if you want), then whenever you need that COM, you cfinclude that file.

Maybe it would help us if you made a distinction between application logic
encapsulation and business rules encapsulation. If you do both within
COM/EJB, then you practically don't even need CF for anything other than
CFOUTPUT. If however, you want application logic in COM, but still want
business rules in CF, then Fusebox is great. No?

It seems to me that if you remove application and business logic from CF,
then a structured application architecture (like Fusebox) becomes less of a
necessity. What kind of CF architecture do you guys use in EJB/COM-heavy
apps?

Nat Papovich
ICQ 32676414
"I'm for truth no matter who tells it."
-Malcolm X, 1965


-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 20, 2000 10:12 AM
To: CF-Talk
Cc: '[EMAIL PROTECTED]'
Subject: RE: fusebox style: too much disk access?


  I'm not a Fusebox fan, by any measure, 
 
 Why not? What would need to be changed to make you a fan?

I'd have to be working on applications where the complex logic is stored in
CF, instead of in other application tiers. I don't want to fuel another "Is
Fusebox good or bad" thread, but I don't think it fits well with the type
of
applications that we focus on here at Fig Leaf, which typically have lots
of
client-side complexity, like frames, JavaScript, Flash, etc. and have lots
of application logic within other application tiers on the server-side,
like
within stored procedures or COM/EJB.

On the other hand, if I was working on an application with all of its
complexity within CF, I'd probably like Fusebox quite a bit. Once you move
most of that complexity from CF to other tiers, though, Fusebox doesn't do
much for you, in my opinion.

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

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to
[EMAIL PROTECTED]
---
-
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]



---
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 x204 Fax 1.212.545.0938



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Email a check???

2000-10-19 Thread Jones, Matt

Email one to me, lets see how many times I can print it :o)

-Original Message-
From: Michael Smith [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 19, 2000 5:29 PM
To: CF-Talk
Subject: Email a check???



--C1BAEA1E803462B1772F4A5B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Whoa -  now you can email a check to some one. Pretty creepy but I guess
no more so than paypal... And I guess no less secure than snail mailing
a check Still ... weird. ;-) And better make sure I don't send to
the list instead of an individual!
- Michael Smith, TeraTech, Inc http://www.teratech.com/

http://www.qchex.com

 Qchex.com is a new financial service for consumers and
 businesses. It allows users with internet access and
 an existing bank account to instantly send bankable checks to
 anybody's email address both domestically and
 internationally, thus by-passing all handling, postage and
 banking fees associated with pre-printed checks.
 Upon receipt, Qchex are printed out on the recipient's desktop
 printer including all characteristics of a regular check.



--
Michael Smith, TeraTech Inc
VB, CF , SQL, Math programming
100 Park Ave Ste 360, Rockville MD 20850 USA
Voice: +1-301-424-3903, 800-447-9120  Fax:301-762-8185
Web: http://www.teratech.com/sig/
Email:  mailto:[EMAIL PROTECTED] ICQ: 66057682


--C1BAEA1E803462B1772F4A5B
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

!doctype html public "-//w3c//dtd html 4.0 transitional//en"
html
Whoa -nbsp; now you can email a check to some one. Pretty creepy but I
guess no more so than paypal... And I guess no less secure than snail
mailing
a check Still ... weird. ;-) And better make sure I don't send to the
list instead of an individual!
br- Michael Smith, TeraTech, Inc A
HREF="http://www.teratech.com/"http://www.teratech.com//A
pA HREF="http://www.qchex.com"http://www.qchex.com/A
blockquoteQchex.com is a new financial service for consumers and
businesses.
It allows users with internet access and
bran existing bank account to instantly send bankable checks to anybody's
email address both domestically and
brinternationally, thus by-passing all handling, postage and banking
fees associated with pre-printed checks.
brUpon receipt, Qchex are printed out on the recipient's desktop printer
including all characteristics of a regular check./blockquote

brnbsp;
p--
brMichael Smith, TeraTech Inc
brVB, CF , SQL, Math programming
br100 Park Ave Ste 360, Rockville MD 20850 USA
brVoice: +1-301-424-3903, 800-447-9120nbsp; Fax:301-762-8185
brWeb: A
HREF="http://www.teratech.com/sig/"http://www.teratech.com/sig//A
brEmail:nbsp; A
HREF="mailto:[EMAIL PROTECTED]"mailto:[EMAIL PROTECTED]/A ICQ:
66057682
brnbsp;/html

--C1BAEA1E803462B1772F4A5B--



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Main differences between CFMODULE and a custom tag

2000-10-13 Thread Jones, Matt

you can call custom tags with cfmodule, you pass the attributes the same way
as you would with cf_, and you can do end tags with cfmodule
we have found cfmodule to be extremely useful for identifying exactly which
tag we are intending to call.  By specifying the template, rather than name,
you don't get caught in any type of custom tag hierarchy problems. It also
doesn't take much to change
cf_customtagname to cfmodule template="[relative
path]/customtagname.cfm"


-Original Message-
From: Ryan [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 13, 2000 9:48 AM
To: CF-Talk
Subject: Main differences between CFMODULE and a custom tag


Why would you use a cfmodule over a custom tag, or a tag over
a module? Both allow you to store shared code in a separate
file, and then call that code and send it arguments. Maybe
they are almost the same thing? Thanks for any help.

Ryan



--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: dynamically filling a calendar

2000-10-06 Thread Jones, Matt

I also would like the code

-Original Message-
From: Kevin Schmidt [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 06, 2000 10:36 AM
To: CF-Talk
Subject: Re: dynamically filling a calendar


Jon,

I just finished writing an article for CFDJ on this very thing.  I would be
more than willing to send you the code that generates the calendar as well
as populates it from a Database of events.

Kevin
- Original Message -
From: "Jon Tillman" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Friday, October 06, 2000 9:24 AM
Subject: dynamically filling a calendar


 Hey folks,
 I have a calendar(as part of a scheduling app) that I need to fill in
 dynamically.
 What I am trying to do is to allow the user to select any month in any
year and
 have the table filled out with the correct "month view" layuot.
 Is there a way to compare the results of the DateFormat() function OR a
 variable to the position of the table cell (both row and column) so as to
 determine where the individual dates should be?

 Any help would be greatly appreciated.

 --
 ***
  Jon Tillman
  LINUX USER: #141163
  ICQ: 4015362
  http://www.eruditum.org
  [EMAIL PROTECTED]
 ***
 Be alert, the world needs more lerts
 ***

 --

 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.



--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: listing FORM variables?

2000-09-21 Thread Jones, Matt

cfif isdefined("form.fieldnames")
cfloop list="#form.fieldnames#" index="thisField"
cfset tempval = "form."  #thisField#
cfoutputb#thisField#: /b #evaluate(tempval)# /cfoutputbr
cfset tempval = ""
/cfloop
/cfif

-Original Message-
From: Dean Alexandrou [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 21, 2000 4:12 PM
To: CF-Talk
Subject: listing FORM variables?


How do I list all the form variables passed to a page?




--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.