Re: Functions in Cold Fusion

2000-08-02 Thread Vance_Duke
cc: 000.com Subject: Re: Functions in Cold Fusion

RE: Functions in Cold Fusion

2000-08-01 Thread Jeremy Allen
Currently.. as a language that is one of ColdFusions weaknesses. There are pretty much two ways to get functions out of ColdFusion.. The first is to encapsulate all the code in a Template and then just CFINCLUDE the template.. the disadvantage is the page does not have its own scope and can

Re: Functions in Cold Fusion

2000-08-01 Thread Sharon DiOrio
Cold Fusion doesn't have functions as you'd know them in Java. It has the built-in functions, of course. Cold Fusion achieves "function functionality" through custom tags. Sharon At 10:39 AM 8/1/2000 -0700, you wrote: This is a multi-part message in MIME format.

Re: Functions in Cold Fusion

2000-08-01 Thread Michael Dinowitz
I'm currently writing an article for the next Fusion Authority (out in the next day) on how to write and use custom functions in CF. This is not using modules or any CF tags but is actually using function calls. It's a bit of a hack and can look ugly in places, but it works. The result is that I

RE: Functions in Cold Fusion

2000-08-01 Thread Brandon Behrens
AM To: [EMAIL PROTECTED] Subject: Re: Functions in Cold Fusion I'm currently writing an article for the next Fusion Authority (out in the next day) on how to write and use custom functions in CF. This is not using modules or any CF tags but is actually using function calls. It's a bit of a hack

Re: Functions in Cold Fusion

2000-08-01 Thread Michael Dinowitz
AM To: [EMAIL PROTECTED] Subject: Re: Functions in Cold Fusion I'm currently writing an article for the next Fusion Authority (out in the next day) on how to write and use custom functions in CF. This is not using modules or any CF tags but is actually using function calls. It's a bit

Re: Functions in Cold Fusion

2000-08-01 Thread Michael Dinowitz
using functions in CF. No tags. For example, IsPhone uses this code: REFindNoCase('([0-9]{3}[-_. /]?)?[0-9]{3}[-_. /]?[0-9]{4}', number) - Original Message - From: "Michael Dinowitz" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 01, 2000 12:42 PM Subject: Re:

RE: Functions in Cold Fusion

2000-08-01 Thread Brandon Behrens
How about isSocial, isZip Brandon Behrens The Internet Design Firm 512.451.5225 [EMAIL PROTECTED] http://www.theidf.com -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 01, 2000 10:10 AM To: [EMAIL PROTECTED] Subject: Re: Functions in Cold

Re: Functions in Cold Fusion

2000-08-01 Thread Ken Wilson
functions in CF. No tags. For example, IsPhone uses this code: REFindNoCase('([0-9]{3}[-_. /]?)?[0-9]{3}[-_. /]?[0-9]{4}', number) Should that be named "IsUSAPhone" so as not to offend our illustrious international friends? Ken

Re: Functions in Cold Fusion

2000-08-01 Thread Jennifer
t: Tuesday, August 01, 2000 12:42 PM Subject: Re: Functions in Cold Fusion I'm currently writing an article for the next Fusion Authority (out in the next day) on how to write and use custom functions in CF. This is not using modules or any CF tags but is actually using function calls.

Re: Functions in Cold Fusion

2000-08-01 Thread Michael Dinowitz
Very true. I've got a version that covers all phone numbers, but I was giving a simple example. The point is, if you've got some snippets or code that you would like in a custom function, send it to me off list. functions in CF. No tags. For example, IsPhone uses this code:

Re: Functions in Cold Fusion

2000-08-01 Thread Nick Call
Another one, IsCreditCard Nick - Original Message - From: "Brandon Behrens" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 01, 2000 1:00 PM Subject: RE: Functions in Cold Fusion How about isSocial, isZip Brandon Behrens The Internet Design Firm 512.451.52

RE: Functions in Cold Fusion

2000-08-01 Thread Rick Osborne
PROTECTED]] Sent: Tuesday, August 01, 2000 1:31 PM To: [EMAIL PROTECTED] Subject: Re: Functions in Cold Fusion How about IsURL? At 01:10 PM 8/1/00 -0400, you wrote: OK, I need some community input here. For my article on custom functions, I've written one for IsEmail and IsPhone. Can people send me

Re: Functions in Cold Fusion

2000-08-01 Thread Angel Stewart
tc. And we have to be able to use it in OnValidate routines for CFINPUT tags It's really simple. I'd be willing to Beta Test it too. -Gel - Original Message - From: Michael Dinowitz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 01, 2000 2:10 PM Subject: Re: Functions in C

RE: Functions in Cold Fusion

2000-08-01 Thread Rick Osborne
this and it worked like a champ. Go CF! :) -Rick -Original Message- From: Rick Osborne [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 01, 2000 2:06 PM To: [EMAIL PROTECTED] Subject: RE: Functions in Cold Fusion (A bit tongue-in-cheek for a second, here.) Have you seen a good regex

RE: Functions in Cold Fusion

2000-08-01 Thread Jennifer
: Jennifer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 01, 2000 1:31 PM To: [EMAIL PROTECTED] Subject: Re: Functions in Cold Fusion How about IsURL? At 01:10 PM 8/1/00 -0400, you wrote: OK, I need some community input here. For my article on custom functions, I've written one for IsEmail

Re: Functions in Cold Fusion

2000-08-01 Thread jeff tapper
Many others have addressed creating CF functions, so I'll just bite off the part of calling java classes. In CF 4.5, allaire introduced the ability to call java classes directly with the CFOBJECT tag. The biggest trick, is getting the correct jvm path into the CFAdministrator, which involves

RE: Functions in Cold Fusion

2000-08-01 Thread Brandon Behrens
, 2000 12:17 PM To: [EMAIL PROTECTED] Subject: Re: Functions in Cold Fusion Many others have addressed creating CF functions, so I'll just bite off the part of calling java classes. In CF 4.5, allaire introduced the ability to call java classes directly with the CFOBJECT tag. The biggest trick

RE: Functions in Cold Fusion

2000-08-01 Thread Steve Bernard
PROTECTED]] Sent: Tuesday, August 01, 2000 3:06 PM To: [EMAIL PROTECTED] Subject: RE: Functions in Cold Fusion (Because I know that if I didn't take the challenge then someone else would...) The perl regex for *HTTP URLs only* is: (?:http://(?:(?:(?:(?:(?:[a-zA-Z\d](?:(?:[a-zA-Z\d]|-)*[a-zA-Z\d

RE: Functions in Cold Fusion

2000-08-01 Thread jeff tapper
] Subject: Re: Functions in Cold Fusion Many others have addressed creating CF functions, so I'll just bite off the part of calling java classes. In CF 4.5, allaire introduced the ability to call java classes directly with the CFOBJECT tag. The biggest trick, is getting the correct jvm path

RE: Functions in Cold Fusion

2000-08-01 Thread Benjamin S. Rogers
mimic" the functionality of the aforementioned functions. Benjamin S. Rogers Web Developer, c4.net voice: (508) 240-0051 fax: (508) 240-0057 -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 01, 2000 1:10 PM To: [EMAIL PROTECTED] Subject: Re: Functio

RE: Functions in Cold Fusion

2000-08-01 Thread Rick Osborne
[Steve Bernard] It would also help to add position matching characters such as ^ and $. This would prevent additional information from being passed along the URL. A good idea for an IsURL()-type function, but not for a URLify() or FindURL() -type function, where the URL could be in the middle of

RE: Functions in Cold Fusion

2000-08-01 Thread Rick Osborne
[Benjamin S. Rogers] [How about the following:] Aiight. Devil's Advocate here, but if you're trying to hack search functions for your arrays, you're probably not doing it right. But, that's just my opinion. However, just as an exercise for the old noggin ... Solutions when you do it

Re: Functions in Cold Fusion

2000-08-01 Thread Michael Kear
-9]{3}[-_. /]?)?[0-9]{3}[-_. /]?[0-9]{4}', number) - Original Message - From: "Michael Dinowitz" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 01, 2000 12:42 PM Subject: Re: Functions in Cold Fusion I'm currently writing an article for the next Fusion

Re: Functions in Cold Fusion

2000-08-01 Thread David Cummins
umber) - Original Message - From: "Michael Dinowitz" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 01, 2000 12:42 PM Subject: Re: Functions in Cold Fusion I'm currently writing an article for the next Fusion Authority (out in the next day) on how to write

Re: Functions in Cold Fusion

2000-08-01 Thread paul smith
Wow! Only 2 numbers for a whole Country/Continent ;-) (Running Ducking) At 09:40 AM 8/2/00 +1000, you wrote: Here in Australia we use (99) or 999 999. -- Archives:

Re: Functions in Cold Fusion

2000-08-01 Thread paul smith
ROFL. Thanks! best, paul At 01:53 PM 8/2/00 +1000, you wrote: Yes, its a huge party line. My allotted time on the phone is 4:02am - 4:07am Wednesdays, unless it's a police or fire emergency in which case I have 5:15am-5:17am Saturdays as well. And since the numbers are all 9s, it cuts the

Re: Functions in Cold Fusion

2000-08-01 Thread Access Communication Concepts
At 09:40 AM 8/2/00 +1000, you wrote: Here in Australia we use (99) or 999 999. Where in Oz are you? Ron... -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit

Re: Functions in Cold Fusion

2000-08-01 Thread Michael Kear
Windsor, NSW. Near Sydney The second type of number, 999 999 refers to the growing practice of using a mobile as the main number. Cheers, Mike Kear AFP Web Development Windsor, NSW, Australia http://www.afp.zip.com.au On Wed, 2 Aug 2000, Access Communication Concepts wrote: At 09:40

Re: Functions in Cold Fusion

2000-08-01 Thread Access Communication Concepts
: Functions in Cold Fusion Windsor, NSW. Near Sydney The second type of number, 999 999 refers to the growing practice of using a mobile as the main number. Cheers, Mike Kear AFP Web Development Windsor, NSW, Australia http://www.afp.zip.com.au On Wed, 2 Aug 2000, Access