Just a cautionary word: that works wonderfully for straight output, but if
you were to do say a listFind() on the altered list, CF wouldn't find the
item you were searching for unless you prepended it with a space (e.g.
listFind(myList, ' myString') ). But for output, it certainly is a whole
lot
Ahhh...if only all phone numbers around the world followed that format ;-)
Bryan Stevenson B.Comm.
VP Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
type=text label=Sweden Telephone
mask=99-999-999, 99 width=200 /
/cfformgroup
/cfform
From: Bryan Stevenson [EMAIL PROTECTED]
Sent: Tuesday, March 08, 2005 11:53 AM
To: CF-Talk cf-talk@houseoffusion.com
Subject: Re: lil flash form trick
Ahhh
Dave...you seem very excited about masks...are they new to you?
Bryan Stevenson B.Comm.
VP Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
the new flash forms and using
masking isn't really known, so sorry for trying to help those ppl, I will just
leave it up to you ;)
From: Bryan Stevenson [EMAIL PROTECTED]
Sent: Tuesday, March 08, 2005 5:11 PM
To: CF-Talk cf-talk@houseoffusion.com
Subject: Re
Nope...my day is fine...just sounded like masks where the next sliced bread
;-)
I always do server-side validationbut I can see the benefit of mask
support on the client-side (as I really don't like JS based validation).
.and what I was getting at earlier is that even though you can
know its there yet.
And yeah, america IS the center of the universe ;) haha
From: Bryan Stevenson [EMAIL PROTECTED]
Sent: Tuesday, March 08, 2005 5:26 PM
To: CF-Talk cf-talk@houseoffusion.com
Subject: Re: lil flash form trick
Nope...my day is fine...just
Aren't the masks just using a pre-built js to check the fields?
Ray
At 05:26 PM 3/8/2005, you wrote:
Nope...my day is fine...just sounded like masks where the next sliced bread
;-)
I always do server-side validationbut I can see the benefit of mask
support on the client-side (as I really
, March 08, 2005 5:26 PM
To: CF-Talk cf-talk@houseoffusion.com
Subject: Re: lil flash form trick
Nope...my day is fine...just sounded like masks where the next sliced bread
;-)
I always do server-side validationbut I can see the benefit of mask
support on the client-side (as I really don't like
Well in Flash I'm not sure if that would be JS or not...but ya...nothin
fancy...just easier than writing your own validation code
.and I should clarify...I don't like writing JS based validation ;-)
Bryan Stevenson B.Comm.
VP Director of E-Commerce Development
Electric Edge Systems
Subject: Re: lil flash form trick
Aren't the masks just using a pre-built js to check the fields?
Ray
At 05:26 PM 3/8/2005, you wrote:
Nope...my day is fine...just sounded like masks where the next sliced bread
;-)
I always do server-side validationbut I can see the benefit of mask
support
me either!
From: Bryan Stevenson [EMAIL PROTECTED]
Sent: Tuesday, March 08, 2005 5:41 PM
To: CF-Talk cf-talk@houseoffusion.com
Subject: Re: lil flash form trick
Well in Flash I'm not sure if that would be JS or not...but ya...nothin
fancy...just easier
ahhh...that's better. Now I am in 100% agreement. :)
Ray
At 05:40 PM 3/8/2005, you wrote:
Well in Flash I'm not sure if that would be JS or not...but ya...nothin
fancy...just easier than writing your own validation code
.and I should clarify...I don't like writing JS based validation
hehe...glad you're in agreement Ray ;-)
Bryan Stevenson B.Comm.
VP Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
Quite so Bryan!
For those who don't know I'm in Australia, and I tried to buy a
product on line from a HP subsidiary a few years ago - a large,
reasonably well managed international company - and I was required to
enter my 5 digit zip code (we only have 4 digits here, and anyway, it
validated
: Tuesday, March 08, 2005 7:28 PM
To: CF-Talk cf-talk@houseoffusion.com
Subject: Re: lil flash form trick
Quite so Bryan!
For those who don't know I'm in Australia, and I tried to buy a
product on line from a HP subsidiary a few years ago - a large,
reasonably well managed international company - and I
I feel your pain Mike...I'm a Canadian..and can't count how many times my
postal code doesn't validate as a zip code...grr
Bryan Stevenson B.Comm.
VP Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL
AudienceCentral (formerly PIER System, Inc.)
[EMAIL PROTECTED]
voice : 360.756.8080 x12
fax : 360.647.5351
www.audiencecentral.com
-Original Message-
From: Kwang Suh [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 8:19 PM
To: CF-Talk
Subject: Re: Is there a trick...
I'm talking CFMX
Of course. All I'm saying is that it's perfectly possible for MM to fix (or perhaps
neuter) MX so that race conditions don't happen :)
- Original Message -
From: Barney Boisvert [EMAIL PROTECTED]
Date: Wednesday, April 2, 2003 10:47 am
Subject: RE: Is there a trick...
But that only
: 360.647.5351
www.audiencecentral.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 9:56 AM
To: CF-Talk
Subject: Re: RE: Is there a trick...
Of course. All I'm saying is that it's perfectly possible for MM
to fix (or perhaps
| Subject: RE: RE: Is there a trick...
|
|
| Or just skip an app server and use static content. ;)
|
| I'm going to end my part in the discussion by saying IMHO,
| locking a nasty
| thing to deal with, but very necessary when dealing with
| shared scopes.
| CFLOCK seems to be the most prevelant
And some information I posted on my weblog a while back regarding
locking:
http://markme.com/cantrell/weblog/index.cfm?m=2d=6y=2003
Christian
On Wednesday, April 2, 2003, at 02:09 PM, Erika L. Walker-Arnold wrote:
An article for you all to enjoy ;)
Think of frames as individual pages. Including not only the page that
creates the frame, but each frame's SRC attribute. Therefore each has
its own set of request variables that have to be handled in the same way
that individual pages have to handle them. Once you get this, then
dealing with
Every part of a frame is it's own request. So if index.cfm outputs a
frameset and sets request.foo to 1, the frames will not see request.foo
because they are new requests.
===
Raymond Camden, ColdFusion Jedi Master for
Is there a trick...to getting Request variables to work
with pages that have frames?
Something like this works in pages without frames. What
gives?
cflock SCOPE=Application THROWONTIMEOUT=NO
TIMEOUT=10
TYPE=Exclusive
cfscript
Application.BGColor=FF;
If you do the duplicate from application to request in the application.cfm
file, the request variables should be available to all templates, including
each of the frame portions
E. Keith Dodd
Wings of Eagles Services
www.wingserv.com
- Original Message -
From: Che Vilnonis [EMAIL
Isaac,
What's the benefit that CFMX offers in the Application scope?
Calvin
cf_snipalot /
You'll be needlessly accessing the application scope anyway. The
application
scope should really only be used for data which might change periodically
based on time of day, administrative interraction
.
-Original Message-
From: E. Keith Dodd [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 2 April 2003 10:42 a.m.
To: CF-Talk
Subject: Re: Is there a trick...
If you do the duplicate from application to request in the application.cfm
file, the request variables should be available to all
: Wednesday, 2 April 2003 10:47 a.m.
To: CF-Talk
Subject: Re: Is there a trick...
Isaac,
What's the benefit that CFMX offers in the Application scope?
Calvin
cf_snipalot /
You'll be needlessly accessing the application scope anyway. The
application
scope should really only
www.audiencecentral.com
-Original Message-
From: Matthew Walker [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 3:00 PM
To: CF-Talk
Subject: RE: Is there a trick...
Automatic locking. Previously you needed to write
cflock timeout=1 throwontimeout=No type=READONLY
scope=APPLICATION
Isaac,
What's the benefit that CFMX offers in the Application
scope?
Calvin
There were issues involving using unlocked shared scope variables prior to
CFMX asside from race conditions (data corruption in memory). In MX locking
only needs to be done on shared scope variables for the purpose
it explicitly.
-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 2 April 2003 11:17 a.m.
To: CF-Talk
Subject: RE: Is there a trick...
Are you sure about this? It is my understanding that the session scope
was
protected automatically
Engineer
AudienceCentral (formerly PIER System, Inc.)
[EMAIL PROTECTED]
voice : 360.756.8080 x12
fax : 360.647.5351
www.audiencecentral.com
-Original Message-
From: Matthew Walker [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 3:27 PM
To: CF-Talk
Subject: RE: Is there a trick
Are you sure about this? It is my understanding that the
session scope was protected automatically, but that the
application (and server) scope still had to be locked.
You can avoid having to do read locks with CFLOCK on a
scope if you ensure that they are never written after
initially
I interpret that paragraph as The app server won't dump core if you don't
lock your shared access, but your variable might get hosed. So, if you
don't mind your variables possibly getting wasted, then yes, I'll agree
that
locking is optional.
The docs are talking about race conditions,
. But CFMX does it
automatically, so you
don't have to do it explicitly.
-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 2 April 2003 11:17 a.m.
To: CF-Talk
Subject: RE: Is there a trick...
Are you sure about this? It is my understanding
01, 2003 3:27 PM
To: CF-Talk
Subject: RE: Is there a trick...
Pretty sure. The docs:
While the ColdFusion Server is thread-safe and does not
try to modify a
variable simultaneously, it does not ensure the correct
order of access to
information. If multiple pages, or multiple invocations
Yes CFMX docs. I'm talking about CFMX, don't know what anybody else is
talking about, or even if they really exist.
-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 2 April 2003 12:15 p.m.
To: CF-Talk
Subject: RE: Is there a trick...
Is that from
: Tuesday, April 01, 2003 4:21 PM
To: CF-Talk
Subject: RE: Is there a trick...
I'm guessing that they actually mean if your variables get hozed as a
result of not locking it's happening because of a race condition
of your own
making. Rather than data in the shared scopes may be randomly
corrupted
: RE: Is there a trick...
Is that from the MX doc's or the CF5 docs? ... I think he
was referring to
CF5 if I'm reading correctly... session scope was
protected
automatically?
... What I've heard from others is that the session scope
was actually the
most volatile of the shared scopes
: 360.756.8080 x12
fax : 360.647.5351
www.audiencecentral.com
-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 4:21 PM
To: CF-Talk
Subject: RE: Is there a trick...
I'm guessing that they actually mean if your variables
get hozed as a
result
I'm talking CFMX, and this example illustrates my point exactly. The
server
CAN'T do the job of CFLOCK for situations exactly like this, so you (the
Sure it can. Simply make the server single threaded. Heck, lots of people
went the lazy route and ticked on singled threaded sessions in pre
On Tuesday, July 30, 2002, at 08:08 , MW wrote:
MyPage.cfm/VarName/Value
We are now configuring CFMX on a development server, and all of a sudden
it is broken.
In CFMX, CGI.PATH_INFO should contain /VarName/Value - I believe this is
slightly different behavior to CF5?
If you're not annoying
I use this code as a custom tag. It requires cgi.path_info and
cgi.script_name
It transforms cgi.path_info into url variables
you can urls like index.cfm/fuseaction/showrecord/id/23
with the custom you will get two url variables
url.fuseaction=showrecord
url.id=23
cfset
See cfdev.com's products
-Original Message-
From: MW [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Date: Tuesday, July 30, 2002 11:15 AM
Subject: MX and URL trick for search engines
We use the trick of replacing the ampersands and question marks in a URL
with slashes in order to have
'.
The commercial ISAPI filter is IIS Rewrite from
http://www.qwerksoft.com/.
Still researching...
Matt
-Original Message-
From: Martin Orth [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 10:41 AM
To: CF-Talk
Subject: Re: MX and URL trick for search engines
I use this code as a custom
Couldn't you grab the value of the field with the onBlur event using JS? I
think that is very plausible.
-Original Message-
From: Robert Everland [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 15, 2001 9:58 AM
To: CF-Talk
Subject: Is this SQL trick possible
Is there anyway
erm, can't you do the update and a select in the same cfquery block?
If your'e using SQLserver u can anyway, as long as the cfquery only returns
one recordset, e.g.
-
cfquery name=test datasource=#request.dsn#
begin transaction
update tblTable set value1=1 where id=1;
select
you can update and then create a trigger to select the record that was
updated.
Shlomy
-Original Message-
From: Craig Dudley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 15, 2001 11:07 AM
To: CF-Talk
Subject: RE: Is this SQL trick possible
erm, can't you do the update
yes.
update tableA
set fieldA = 1
since YOU are updateing the table you already know what the value will be.
Of course, you could clarify your question.
On Thu, 15 Nov 2001, Robert Everland wrote:
Is there anyway I can get the value of a field that I update without
having to do a
.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// --/SCRIPT
-Original Message-
From: Shawn [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 10, 1999 1:59 PM
To: [EMAIL PROTECTED]
Subject: RE: Intranet Apps (cool trick for us to check out)
Its not the front page click onto one of their l
51 matches
Mail list logo