What makes this so compelling (and so frustrating) is that we all are
on the same side!
This situation is often called violent agreement. It generally happens
when everyone has a valid point.
I think the cf *should* be better optimized folks need to ask themselves
if CFMX is better/faster/more
Look in the pdfs that come with CF5 (and maybe other versions). One of them
(don't remember which) describes the verity query language in detail.
Mark
-Original Message-
From: Adam Reynolds [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 9:20 AM
To: CF-Talk
Subject:
at the appendix
-Original Message-
From: Gaulin, Mark [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 14:26
To: CF-Talk
Subject: RE: Verity
Look in the pdfs that come with CF5 (and maybe other versions).
One of them
(don't remember which) describes the verity query language in detail
I'm still waiting for Amazon to ship my order of Reality CF MX: Flash
Integration, CFMX Web App Construction Kit, and Advanced CFMX App
Development (a B.F. triple!)... it's been over a month and not a peep out of
them. Frustrating!
-Original Message-
From: Ben Forta [mailto:[EMAIL
Try using text= and not text=''. You can get the double quotes in a
quoted string by doubling them up (so text=a string with another string
in it)
-Original Message-
From: Critter [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 12:09 PM
To: CF-Talk
Subject: cfhtmlhead
oi
Well, that might be me, since I don't know Flash or ActionScript at all but
don't want a beginners book.
-Original Message-
From: Matt Liotta [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 2:57 PM
To: CF-Talk
Subject: RE: Ben's J2EE Book
Now all we need is for someone to
Why not put the not IsDefined() test right inside any udf library that can
potentially be included more than one time? (Just put the body of the udf
inside the CFIF block.)
This is like the old #ifndef _MYFILE_H_, #define _MYFILE_H_ style that
is used all the time in C and C++ programming.
That's a nice trick for handling long strings.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 2:32 PM
To: CF-Talk
Subject: RE: cfhtmlhead
I usually do this:
cfsavecontent variable=script
SCRIPT LANGUAGE=JavaScript
.
Matt Liotta
President CEO
Montara Software, Inc.
http://www.montarasoftware.com/
888-408-0900 x901
-Original Message-
From: Gaulin, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 11:18 AM
To: CF-Talk
Subject: RE: Ben's J2EE Book
I'm still waiting for Amazon to ship my
Actually, that using NAME is not a better practice... the SCOPE attribute is
safer and is also what MM support advised us to use (when applicable).
Sure, the scope of a NAME-based lock will be tighter than using SCOPE, but
SCOPE will be safer and, as a bonus, you can use CF 5's (and prior)
I'm jumping in to this thread late, but to me this sounds just like the
problems we were having until we got *all* of our locking straight (CF5 and
earlier). I found that turning on the lock-checking/reporting in the admin
screen was enough to highlight all of the little places where locking was
Hi
I rely on cfservlet to talk to jrun on a box other than the one that cf
server is installed on. I see that in CFMX this tag has been marked as
deprecated. Usually that is a warning not to use the tag in new code, and
usually if the new version has restrictions they would be spelled out. I
have
Hi Andy
Yes, this is real, and we stopped using client variables because of it. I
suspect that most of the load is spent updating the
last-time-someone-visited-the-site information in the database tables... it
has to do this on every hit, whether or not the client even has any client
variables.
I don't know about that... Verity for CF is free. Have you checked out the
price of actually buying Verity? Or of buying a decent replacement for
verity? Have you tried using any of the free alternatives? The power and
level of integration you get with CF Verity is pretty good, so I'm happy
to
Did you check for something in application.cfm?
-Original Message-
From: Will Stalder [mailto:skith_diphi;hotmail.com]
Sent: Thursday, October 24, 2002 3:13 PM
To: CF-Talk
Subject: whitespace woes
I'm having with trouble with ColdFusion and extraneous whitespace. And
yes, I've done my
Hi
Couldn't you use IsDefined() in the UDF and only assign a default value if
not IsDefined()? This would not give you the type-checking that cfparam
does though...
Mark
-Original Message-
From: Pete Ruckelshaus [mailto:cflist;ruckelshaus.com]
Sent: Thursday, October 31, 2002
Hi
I don't know exactly what the problem is, but the Verity style and filter
stuff has to do with extracting content from files of different types
(extensions, mime types)... there might be a filter for .txt or .html or
.doc, etc. It is possible that there is an unrecognized file extension
The ISAPI filter might have been installed on a specific web site (below the
master)... check there too.
Also, when you say it works, are you using a /servlet/ url on port 80
(where IIS is running) or something with a port number in it? If you've got
a port number in your url then you are
Did you try restarting CF? (and/or the Verity K2 service, if you are using
that?)
Mark
-Original Message-
From: Timothy Heald [mailto:healdt;dsmail.state.gov]
Sent: Wednesday, November 06, 2002 8:07 AM
To: CF-Talk
Subject: RE: Verity Head Aches EMERGENCY
Hey,
We just
The all-F's number in calculator is unsigned, and I bet BigInt is signed, so
you loose one bit. That generally means you have to divide by two and
subtract one to get the largest positive integer that fits.
Mark
-Original Message-
From: Tony Weeg [mailto:tony;navtrak.net]
Sent:
Hi
I'm generating microsoft-style GUIDs for an app. I've been looking for a
globally-safe algorithm for use with CFMX/java but nothing seems to be as
good as the microsoft way which uses (a portion of) the local machine's MAC
address as part of the ID... the java ones I've seen don't look like
Hi Tom
Thanks for the pointers.
Q: Does CFMX expose its GUID-generating functionality in a way that I can
use (so I don't have to do it myself)?
Thanks
Mark
-Original Message-
From: Tom Harwood [mailto:tharwood;macromedia.com]
Sent: Friday, November 08, 2002 2:46 PM
To: CF-Talk
Software, Inc.
http://www.montarasoftware.com/
888-408-0900 x901
-Original Message-
From: Gaulin, Mark [mailto:mgaulin;globalspec.com]
Sent: Friday, November 08, 2002 3:06 PM
To: CF-Talk
Subject: RE: GUID generation in CFMX/Java in general
Hi Tom
Thanks for the pointers.
Q: Does
Hi Howie
If by simultaneous transactions you truly mean concurrent hits, then 2000
is a pretty big number. If you mean concurrent users then things relax
quite a bit, since a user is making requests (page hits) at a pretty slow
rate. I suggest making a quick model in Excel to play around with the
The error message is correct... ntext (and text) fields cannot be used
the same as varchar (or char) fields... that's part of what makes them
different. (text fields can be huge, and are not stored in a way that is
convenient for SQL Server to do the normal kinds of things like grouping and
I would look for queries that could potentially return a very large number
of rows. Since queries are completely loaded into memory as part of cfquery,
it doesn't take much to grab tons of RAM that way.
-Original Message-
From: Jeremy Bruck - MfgQuote, Inc. [mailto:[EMAIL PROTECTED]]
So what you want to do is like shuffling a deck of cards, but you only have
15 cards.
The way I always handled that kind of thing was to make an array of the
right length (N=15), initialize it with identity values (so array[1] = 1,
array[2] = 2, etc). Then write a loop that goes from 1 to N. In
Move the cfset = into the END processing... where you have it (in the
start) there no content generated yet.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 3:57 PM
To: CF-Talk
Subject: thistag.generatedContent
I have a custom tag:
Hi
First off, remove the leading '^.* and trailing .*$; they aren't
necessary in this case and just get in the way
Also, you need to backquote the literal ()'s to distinguish them from ()'s
that are part of the regex.
Also, you could use the [[:digit:]] thing instead of [0-9], but you don't
need
The delay will be based on the Time To Live (TTL) that is set up for your
domain. My personal domain is served by DynDNS and the TTL is four hours,
so that is the more or less the longest time it would be wrong. I have used
ipconfig /flushdns (or something like that) to clear my *local* dns
Hi
I hacked something like this together a couple of years ago called
CFCalls. It doesn't check for COM usage though, and I wish I had defined
the database tables better to support more reporting, but it works pretty
good for what it is.
It uses perl for parsing, Access as a database, and CF as a
No locking is needed for the REQUEST scope.
-Original Message-
From: Tilbrook, Peter [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 6:09 PM
To: CF-Talk
Subject: Locking question?
Do I need to LOCK variables (when setting or reading)variables in the
REQUEST scope -
Hi Folks
You know the three cookies that CFAPPLICATION sets when you use session
management... CFID, CFTOKEN, and CFMAGIC? (CFMAGIC is just CFID:CFTOKEN).
Well we just noticed that one of our development servers is not setting
CFMAGIC. I don't know when this happened, but it is weird.
Anybody
.
HTH,
barneyb
-Original Message-
From: Gaulin, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 9:11 AM
To: CF-Talk
Subject: Missing CFMAGIC cookie??
Hi Folks
You know the three cookies that CFAPPLICATION sets when you use session
management... CFID, CFTOKEN
Hi Keith
The wddx packet will be defined on a single query (not row in a query). If
you have a query with three rows and really want to break it into three wddx
packets then you'll need to get three different queries.
Queries don't break apart into individual rows very easily... if you cfdump
the
Hi
In the bad-old days I did my cgi programming in C++, and I wrote out the
headers by hand. Back then, browsers (NS2, for example) did not handle the
case when both Set-cookie and Location headers were included in a response.
That may have lead to earlier versions of CF not needing to do the
Did you try messing with the maxFiles option in the ini file? How about the
online mode for each collection (which I expect would only affect start-up
time)? Are you timing the first search of a collection, or are you doing a
few searches to warm it up? Also, is k2 under load, or are you the
This could be an IIS setup issue. Cache control is available in the web site
properties, as are additional (ie user specified) headers.
-Original Message-
From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 11:18 AM
To: CF-Talk
Subject: CF 5 and CFMX
It seems to me that a code written in JSP or java has the benefit of being
strongly typed... that long loops definition in the JSP code is very
significant to a compiler. Try running that loop again using new Integer
in each iteration and see what you get.
CF-translated code may be compiled into
Hi
I think the optimization approach that could work is to allow for explicit
variable typing to be added to CF code. This would obviously have to be
optional; all existing code should continue to work. You could also limit
the typing to primitive CF variable types, if only to simplify the work
Do you want CGI.HTTP_HOST ?
-Original Message-
From: Eric Hoffman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 12:17 PM
To: CF-Talk
Subject: RE: Web Address?
cfif (entered web address) is webmail.domain.com
cflocation url=webmail/index.cfm
/cfif
How do I test for
Hi Folks
In CF4.5 I could get a really nice, detailed stack trace when errors
occurred. If there is a trick to getting them back easily in CF5, I'd love
to hear it.
We have a site-wide error handler installed and it dumps things from the
error object (including error.diagnostics, which is where
Actually it's acting the way I would expect, which is like a C compiler:
If all of the numbers appear to be ints then it does integer math.
If *any* of the numbers is a float then it does float math.
Try this expression instead and see what you get:
icode=tblDomReportData.rpoints/2.0
Since 2.0
The standard answer for this question is Did you check any application.cfm
files?
-Original Message-
From: Jim McAtee [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 4:10 PM
To: CF-Talk
Subject: Whitespace Woes
CF5/IIS5
I have a CFML tag constructed to produce as little white
As was said earlier, the right thing to do really changed from CF5 and prior
to CFMX. Prior to CFMX you *had* to overlock (in my opinion) to get keep CF
stable, and that meant using scoped locks everywhere. With CFMX, locking is
where it should be: use it to when your application logic needs
There's a good reason to use the new style of joins: because they are more
powerful.
Here is an example of a query that, to my knowledge, can't be done with *=
syntax:
select *
from t1 left outer join t2
on (t1.id = t2.id and t1.rating t2.max_rating)
This is
There's a good reason to use the new style of joins: because they are more
powerful.
Here is an example of a query that, to my knowledge, can't be done with *=
syntax:
select *
from t1 left outer join t2
on (t1.id = t2.id and t1.rating t2.max_rating)
This is
We use a site-wide error handler (and generally don't use cfcatch), but I seem
to recall that an error in the error handler code itself can cause the original
error to be displayed.
Mark
-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
Sent: Thursday, April
What are some values for col1, col2, etc for different blue cars? The same
value for all blue cars, different? if different, which value would you want?
It sort of sounds like you want a group by CATEGORY, which will give you one
row per CATEGORY value, but then you'll need to use aggregate
If you are not doing cflocks *everywhere* you need to on CF5 then going to a
faster machine will be more unstable than the same code on a slow machine. I
haven't seen hyperthreading cause issues with CF before, for whatever that's
worth.
Mark
-Original Message-
From: stephen
Yeah, if you are using shared-scope variables (like session, application, or
server) without using cflock on CF5, then you have a race condition for bad
things happening. The faster the box, the more like the bad things will
happen. (Yes, this sucks.) Actually, hyperthreading could be
I think this syntax will work: Form[Resolution i] (or whatever generates a
string that matches the field name on the previous age)
-Original Message-
From: Paul Henderson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 1:10 PM
To: CF-Talk
Subject: Looped cfform unique variable
sounds like the content is an html page, not xml. Try hitting the server's url
directly in a browser to see what you get.
-Original Message-
From: Calvin Ward [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 14, 2005 2:02 PM
To: CF-Talk
Subject: Web Service question
I'm getting a
Aren't the distinct application scopes identified by the name param to
cfapplication, and not by file location on disk? So as long as
cfapplication was called somewhere in the request, the application scope
would use whichever one was named.
Mark
-Original Message-
From:
You can try using query of query. This can work ok in many cases. Use
QueryValueList (or something like that) to extract the primary key
values from the verity results, and then use them to create a db query
that retrieves those rows. Last step is to combine them with q-of-q.
Mark
Some tips:
* definitely use a CASE statement...
* use isnumeric(LEFT(PubNumber, 2) to see if you get a valid number
before doing the cast (or maybe do that in the WHERE clause, if that
makes sense)
* if you put the case expression as the first column in the select then
you can do ORDER BY 1,
Is it possible that the key field in your data is not unique?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 16, 2005 9:30 AM
To: CF-Talk
Subject: cfindex issue?
Hi,
I have a query that I index. The query returns 2,481 records. When I
Sure, if you convert it to a string first, like with cfwddx.
Mark
-Original Message-
From: Lee [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 17, 2005 4:25 PM
To: CF-Talk
Subject: Array of Structures Form
Can you pass an array of structures in a hidden form field?
Lee Surma
wait() is a java method of the Object class, and is used with the
notify() method. It's part of java's synchronization system, and is
definitely not like sleeping. Here are the javadocs for Object:
http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html
Mark
-Original
If you want your tag to be like CFIF, causing logic to be skipped, then
the answer is probably no, you can't do it.
If you are ok with the code between the start and end tags running but
with all html output removed, then yes, you can do that by messing with
the generatedcontent property.
Q: Which are you more comfortable working with/administering?
-Original Message-
From: Russ [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 24, 2005 2:49 PM
To: CF-Talk
Subject: OT: IIS 6 VS Apache
What is the general recommendation now of what to use on Windows Server
2003? Is IIS
There may be a max registry size setting in the System part of the
control panel (near where the pagefile size is set). Not sure if that'll
help you though... 217 MB is freaking huge for a registry, and I don't
think I've ever been able to get one to shrink before. Good luck.
Mark
This should do it (depending on the db)...
SELECT CASE WHEN field = 1 THEN 'YES' ELSE 'NO' END AS yesNoField
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 31, 2005 12:23 PM
To: CF-Talk
Subject: RE: Oracle SQL alternative for YesNoFormat()
Hmm that is nasty
One solution would be to do a union of three selects, one selecting just
the case of being in both tables, the next for those records in table 1
only, the last for those records in table 2 only. Kinda lame, but
better than nothing.
Mark
-Original Message-
The closest MSSQL has is top, as in select top 50 * from To do
paging, you either have to select the top N and scroll down to the
page you want, or, to do it entirely in sql, do nested selects, like
this:
-- fetch rows 200 to 250, in order
select *
from (select top 50 * From (select top
Did you restart CFMX after the file was put back? If not, it might be
that CF is caching the missing file-ness of that file (just like it
caches the location of custom tags, and doesn't like it when they move).
Or not...
Mark
-Original Message-
From: jonese [mailto:[EMAIL
I think the reason no one replied is that the question is hard to answer...
For what it's worth, in my experience CF5 tends to keep any memory that is
has allocated and not return it to the OS. This was a change from CF4, and
generally it improves performance (of CF). I'm not sure why it would
I imagine that it is failing more often on the faster machine because of a
race condition in the server code... the faster the machine the more likely
that a two events happen in a certain (bad) way. This sure sounds like a
crappy bug.
Mark
-Original Message-
From: Tim Soslow
You can do this using aggregates and case statements (assuming your db can
handle it... you didn't say what you were using)
select checkno, total=count(*),
-- I have no idea how you determine what is unprocessed, so this is an
made-up example
unprocessed=sum(case when is_processed'Y' then 1
Hi
We're trying to set up an OLEDB connection using a third-party provider
(SalesLogix).The following connection string works in VB but I don't have
clue how to translate this into something that cf admin can take.
This works as a connection string in VB...
Check to see if you have two custom tag directories listed in the
registry... it is weird though that the same file and path is showing up
twice but with different letter case.
Normally this error would indicate that you had two custom tags with the
same name in different directories under the
You could use an exclusive lock (cflock)... race conditions are what it's
for. (It also works in pre-cfmx versions of cf.)
If you want to avoid locking on every single hit (after the initialization
is done) then use a two-layer kind of test like this pseudo code:
if not
If the two domains are just different hosts on the same domain
(abc.company.com and xyz.company.com) then you can arrange for the cf
cookies to be shared, and so session would also be shared. It's the
setdomaincookies option on cfapplication.(If you use it then you have to
be careful to make sure
Increase the number of listeners to match (or exceed) the configured number
of simultaneous CF requests. (I think the default is 5 or something like
that... check the admin)If the two numbers match then it will work, no
matter how many users hit your web site. This is because CF will queue up
any
This would be my bet too, because I would guess that cfloop from=1
to=#arrayLen(iterations)# index=i figures out the value of
arrayLen(iterations) once and then loops that many times, but a for loop
will reevaluate the test (i LTE arrayLen(iterations)) each time through
the loop.
That's the
Check out IFRAMEs
http://www.oreillynet.com/pub/a/_javascript_/2002/02/08/iframe.html
http://www.oreillynet.com/pub/a/_javascript_/2002/02/08/iframe.html
I haven't used them yet but it might be just what you're looking for.
Mark
-Original Message-
From: Nikhil Madani
Xml fetching and parsing all in one... that *is* cool.
Re IFRAME: the url for the iframe can be loaded dynamically at any time via
scripting, and does not require a visible screen element. At least that's
what I've read.
-Original Message-
From: Rob [mailto:[EMAIL PROTECTED]
Sent:
I always thought learning something new was fun... but I guess if you want
to make it a drag, that's your business.
(I have no opinion of asp.net at this point since I haven't had the
opportunity to play with it... yet.)
Mark
-Original Message-
From: Dan Farmer [mailto:[EMAIL
I've seen this when the focus ends up on a combo box.There is a hack
available that involves trapping the keydown event (onkeydown) on the
select tag and looking for the Enter key.If this is not your specific
case then maybe you can adapt it.I got this out a very good JS book:
select
I totally agree with Raymond but have one comment to make:
I'll go out on a limb here and say if your site will not work
when using cf_foo/cf_foo versus an include, then you have other
problems.
There are special issues when you use the closing /cf_foo tag because CF will
call your tag twice,
We use this style too (for skinning) and the only difficulty we run into is the
constraint that the opening and closing tags have to remain in the same logical
scope on the page, so you can't conditionally open the tag at the top of the
page and then conditionally close it at the bottom. This
Hey Jim
One maybe-off-the-wall suggestion would be to have a quick global variable
somewhere that you can use to switch off code you suspect may bog you down. I
don't know what *you* plan on doing that night, but if watching the web site is
one of them, it might be nice to be able to turn off
Yeah, that ought to work. CF can't see your sql if logic, so it might as
well be one giant select statement for all it cares. On the SQL Server end I
would expect it to handle that just fine.
You could also write a stored procedure for this logic.
Mark
-Original Message-
From:
You might squeak out a bit of performance by making a stored procedure out of
it and using an optimistic update strategy... Just do the update and if the
record count is zero then do an insert. This will completely remove the select.
(I guess you don't need a sp for this.)
Mark
Subject: RE: Dumb Question About CFPARAM
-Original Message-
From: Gaulin, Mark [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 28, 2004 11:54 AM
To: CF-Talk
Subject: RE: Dumb Question About CFPARAM
You might squeak out a bit of performance by making a stored procedure out
What is the sql you have now?
-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 04, 2005 8:46 PM
To: CF-Talk
Subject: Re: SQL group by instead of cfoutput group?
Just add 'DISTINCT' after 'SELECT' and SQL Server will automatically
ensure that you
Can you post the cfexecute and contents of the batch file please? I'd like to
set the same thing up on my test system.
Thanks
Mark
-Original Message-
From: Matt Robertson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 05, 2005 5:33 PM
To: CF-Talk
Subject: Re: Restart CF via
Hi
Anybody want to share their code for a site-wide error handler for CFMX? I
have one from CF5 that emails me the details of the error and shows the user a
nice message, but the new error details in cfmx are very nice, and I'd like to
get at them.
cfdump'ing the error struct shows what's
I haven't heard anyone mention the security value of cfqueryparam... using
this tag will prevent someone from injecting malicious code into your
queries. Consider this example:
cfparam name=url.userid
cfquery
select id, username from people where userid = #url.userid#
/cfquery
If someone
Hi Folks
Is there any way to turn off the [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ^! automatic form field
validation that CF does? I'm refering to the special handling of form fields
that end with required, etc.. when CF doesn't like one of these it justs
abort the page with a cryptic error
Is the page that is trying to set the cookies in a frame, or is some way
being contained (img, ilayer, etc) by a page that has a different host
name?This is a big issue in p3p.
-Original Message-
From: Thane Sherrington [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 9:42 AM
To:
are treated like a banner ad aggregator (for example), and no one wants
those guys to be able to track them.
-Original Message-
From: Thane Sherrington [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 12:13 PM
To: CF-Talk
Subject: RE: P3P ready cookies
At 12:00 PM 01/13/2004 -0500, Gaulin
.
Mark
-Original Message-
From: Thane Sherrington [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 2:02 PM
To: CF-Talk
Subject: RE: P3P ready cookies
At 01:08 PM 1/13/04 -0500, Gaulin, Mark wrote:
Ok, so your page is from a third party because the host or domain (I
forget which
What do you mean when you say array?I am reading the docs for
StructKeyFind to mean that if a Struct contains another struct then it will
dive into that too, but it doesn't say it will scan Arrays. Given that, I
wouldn't expect a Struct that contained an Array that contained Structs to
be searched
Hi
I guess reading the docs would have helped to keep my foot out of my mouth
there... Given what is says it ought to be able to do what you want as long
as the thing you are passing in is a Struct; it does not accept Arrays
directly. A quick test confirmed that. You can just assign your array to
Re #1: Doesn't putting a try/catch around the cfmail do the trick?That way
you don't have to validate the email yourself... just let cfmail fail if it
wants to.
If you put the try/catch around the entire cfloop (or cfoutput) of a query
then Yes, it will abort the whole job. But if you put the
In the first if block I see an isdefined() test for form.test but a usage
of the variable form.thetest. Is this intentional?
-Original Message-
From: Kola Oyedeji [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 11:27 AM
To: CF-Talk
Subject: Null pointers error on CFMX 6.1
Hi
The cfmail-with-a-query behavior does suck, doesn't it...
If the exception included the bogus email address then it could be possible
to sort the original query by email address, and then you can assume that
any email address prior to the bogus one worked.Then you just have to
requery starting
The feature he wants to entirely reasonable and logical. I hope MM adds
something to make this possible in the future.
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 4:59 PM
To: CF-Talk
Subject: RE: How do you clear cache in CFMX?
Hi Dave
Its the once the files have been run once part that stinks.If I were
implemeting a cache and there was a way to disable the cache I would also
cause that to flush the cache.Or at least provide some other way to do it.
Then we'd all be happy.
Mark
-Original Message-
From: Dave
1 - 100 of 366 matches
Mail list logo