CFCONTENT will do the job. You need to use an image-server page to do
this; you then use the imageserver as the src attribute in your other
pages. You can store filepaths in a DB and send the ID of the image to
the imageserver page to obscure the true path.
On 7/21/06, Dave Lyons <[EMAIL PROTECTED
Hi Dave, How I did it in the past was to temporarily copy the images into a
temp directory. After the images load, the template automatically deletes
the temp files. This way it conceals the source file directory, only
revealing the temp dir file path which will no longer have the image files
sho
James,
I'll give that a go, i thought about it before but was a lil worried about
performance doing that. thanks
Michael,
Thats not a real possibility because those same images will be constantly
viewed by hundreds of continuous users 24x7 (hopefully), so I can't be moving
and deleting them all
On Thursday 20 July 2006 18:03, John Dowdell wrote:
> b) Folks on web team don't read CF-Talk.
Maybe they should, or at least be forwarded the huge pile of 'your web site is
running real slow' messages.
--
Tom Chiverton
This email is sent f
Hi all,
Would appreciate some input on the best way to go about this.
I'd like to make a book available for download once the customer has paid. The
payment process I can take care of, a db table will get updated with payment
confirmation when processed. The aim is to make the link to the boo
On Thursday 20 July 2006 18:47, Dante Orlando wrote:
> So out of curiosity, why didn't MACR implement cfthread/cfjoin instead of
> the async gateway in the first place?
It's apples and oranges isn't it ?
Thread support is something you can do with the gateway, but the gateway also
offers you a lo
Just a quick idea is that if it is a PDF you add to the bottom of the
pdf a "This book was delivered to "
That means if people start sending out the book to their chums they
will know that its nicely stamped with their name on it. This is what
the 37 Signals book does.
MD
On 7/21/06, Jenny Gavin
Maybe I am not understanding the question... What is the variable you are
trying to add to the URL?
...
Ben Nadel
Web Developer
Nylon Technology
350 7th Avenue
Floor 10
New York, NY 10001
212.691.1134 x 14
212.691.3477 fax
www.nylontechnology.com
"Some people call me the sp
Jenny,
While this is not the *best* method as it is very CF processing intensive,
but you could move the book PDF files out of the web root so that they
cannot be access directly. Then you have a password protected page that
streams the book to the user via CFContent:
This way, you can pu
What if you use a UUID to name the files and that way even if the user knows
the directory, they will never guess FILE NAMES And hopefully you have
directory browsing turned off so they cannot view a list of files... I mean,
what does it matter if they know the directory if they can't know the
Doug wrote:
http://www.dougboude.com/blog/1/2006/07/IF-THE-SOLUTION-IS-NOT-BEAUTIFUL-THE
N-IT-IS-WRONG--STYLE-ELEGANCE-AND-EFFICIENCY-IN-CODE.cfm
Wow Doug, that's a terrific article. Thanks! I got it working and was doing
everything right *except* I had just assumed (for some odd reason) that you
Anybody? I've also tried cfcontent, setting the variable to the
returned report. It at least pops the flashpaper viewer, but no report
content. What am I doing wrong?
> Is it possible to return a report generated via CFReport from a CFC? I've
> tried a
> couple of different things, and only end-u
i'll throw my hat into the ring too with a tutorial I did on grouping output:
http://tutorial150.easycfm.com/
:)
On 7/21/06, Jeff Small <[EMAIL PROTECTED]> wrote:
> Doug wrote:
> http://www.dougboude.com/blog/1/2006/07/IF-THE-SOLUTION-IS-NOT-BEAUTIFUL-THE
> N-IT-IS-WRONG--STYLE-ELEGANCE-AND-EFFI
i know there have been heated discussions about the overhead (or lack
thereof) of storing actual images in the database...but could that be
an option to try?
On 7/21/06, Ben Nadel <[EMAIL PROTECTED]> wrote:
> What if you use a UUID to name the files and that way even if the user knows
> the direct
Even if you store the images in the database, it's still a matter of naming
conventions
Get_image.cfm?id=49
Is no more secure than
Images/49.jpg
Database or not, the file name has to be obfuscated if they don't want
people guessing access to other people's images.
I don't know very much a
why not call your images with the src="image.cfm?imgID=47" and then
choose which image to get from which directory in image.cfm when you
serve it up.
*
Ken Ferguson
214.636.6126
*
Dave Lyons wrote:
> I need to hide the actual path to an image so the users ca
I've got a page using js's xmlHTTP to load in some data from an xml file
when a user presses a button.
Problem is, in IE, I get the "information bar" telling me that "active
content" is risky.
What's triggering this to pop-up? How can I get rid of it?
--
Neil Middleton
Visit feed-squirrel.com
I've never done any binary object storage in a database either, so I'm
not definitively saying this is the answer...merely an avenue to
explore.
Your assumption is that there will be a get_image.cfm?id=xx page...I'm
not suggesting that. I'm suggesting a pagename.cfm (whatever page
name) that cont
I posted the other day about creating school pages and all of you were
extremely helpful. Thank you! I have another issue today.
I'm trying to create a department directory where we list the six main
divisions and then indented a little bit are the departments that fall under
that division (I
http://tutorial150.easycfm.com/ (text was still in my clipboard from
pasting it to another thread not more than 5 minutes ago) :)
On 7/21/06, Steven Sprouse <[EMAIL PROTECTED]> wrote:
> I posted the other day about creating school pages and all of you were
> extremely helpful. Thank you! I hav
Ignore me, my bad. Was running it locally.
On 7/21/06, Neil Middleton <[EMAIL PROTECTED]> wrote:
>
> I've got a page using js's xmlHTTP to load in some data from an xml file
> when a user presses a button.
> Problem is, in IE, I get the "information bar" telling me that "active
> content" is risk
I would recommend using nested lists for this.
So
Division 1
Department 1-a
Department 1-b
Division 2
Department 2-a
Department 2-b
It has the
I think I can digest this and make it happen. Thanks so much!!
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a
CFTHREAD & CFJOIN proof of concept tags for CF7 posted:
http://www.dcooper.org/blog/client/index.cfm
Damon
> FYI, just doing some testing on these tags (cfthread and cfjoin) and I
> hope to have them posted on my blog today or tomorow. They'l require
> CF7, but Standard Edition is fine (Enter
Charlie,
so in my case, the Division would be the genre, the Department would be the
author, and the sub-department would be the book name, correct?
In designing my table then, where the genre was entered in the book table,
would I have to write out each division name or should I replace tha
>Hal Helms
>
>>
Also if the Churvises are offering their masters classes take them, they're
excellent, and the food is great too. ;)
regards,
larry
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
http://www.dcooper.org
Damon
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.c
Those guys are the best.
Not sure if they do onsite training or not, but I have always heard great
things about their classes, and great guys to boot.
> -Original Message-
> From: Larry Lyons [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 21, 2006 10:35 AM
> To: CF-Talk
> Subject: Re: Col
Ok, so I read your blog post, and I just want to provide some of the
customer feedback you mentioned. YES, I'd like to see this in the next
version! It would be cool if that next version came out before BD 7, as
well, for obvious reasons... ;)
> -Original Message-
> From: [EMAIL PROTECT
if there's a one-to-many relationship between Divisions and
Departments (one Division has many Departments), it's generally
considered good form to have two tables...one for Division and one for
Department), where DivisionID is a primary key in the Division table,
and a foreign key in the Departmen
On Jul 21, 2006, at 10:39 AM, [EMAIL PROTECTED] wrote:
> http://www.dcooper.org
Awesome. I was wondering, though, what features of CFMX7 are used to
do this that are incompatible with CFMX6? Thanks.
--
Damien McKenna - Web Developer - [EMAIL PROTECTED]
The Limu Company - http://www.thelimuco
On Friday 21 April 2006 15:00, Ken Ferguson wrote:
> why not call your images with the src="image.cfm?imgID=47" and then
Or (as you know which users own which images) if you require users to login to
your site:
src="nameOfImage.jpg?userName=theusersname"
Then check theusersname matches the logge
Okay, so I understand the Division and Departments ID thing. Now, what if
there is a sub-department of a department? For example: We have a division of
Instruction...under that division we have a department of Curriculum &
Instruction. Under the C&I department we have sub-departments like He
NICE!
Many times i don't want to join the threads up at the end of the process.
"Processing Page Stats" I'd like those to just be killed off after they
complete their work. seems like that's an issue when I read your post.
Other times, processing images which need to be re-sized like 5 times on
u
This won't work as expected as JPG files are not processed by the ColdFusion
application server.
...
Ben Nadel
www.bennadel.com
-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED]
Sent: Friday, July 21, 2006 9:55 AM
To: CF-Talk
Subject: Re: hiding an im
I've got a page which intermittently (but more often than not) presents an
IE error:
Internet Explorer cannot open the Internet site XX.
Operation aborted.
It's preventing me from showing the client as it's erroring. I've tried
commenting out parts of the code but it con
sub-departments might bet their own table. depends. are
sub-departments also departments in and of themselves (e.g. would a
sub-department be directly under a division? or only under another
department)? if it's the latter, then i would suggest a
sub-department table. If it's the former, then
On Friday 21 July 2006 16:07, Ben Nadel wrote:
> This won't work as expected as JPG files are not processed by the
> ColdFusion application server.
Depends.
You can write a trivial rewrite rule so they can be, for instance.
--
Tom Chiverton
Good point.
...
Ben Nadel
www.bennadel.com
-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED]
Sent: Friday, July 21, 2006 11:19 AM
To: CF-Talk
Subject: Re: hiding an image path
On Friday 21 July 2006 16:07, Ben Nadel wrote:
> This won't work as expect
I just got the same thing about two weeks ago on a few pages
Happens in XP with IE 6 SP 2. I think it was an IE update because the
coding was not touched in 2 years.
When I removed all the javascript from the pages, I did not have a problem
with it afterwards.
I did not troubleshoot it to find
Probably not related but maybe worth noting.
A friend has been using an MLS (real estate listings) site for years.
Suddenly about a month ago he started getting a similar error and could
no longer access the MLS site. It would work fine using Firefox but not
IE. After weeks of toying around with i
Yeah...
Two clients have gotten the same error so it's unlikely that sort of issue.
-Original Message-
From: Ken Ketsdever [mailto:[EMAIL PROTECTED]
Sent: Friday, July 21, 2006 10:41 AM
To: CF-Talk
Subject: RE: Weird "IE" error, prevents page load
Probably not related but maybe worth
I figured it out. Funny how when you leave a problem alone your brain tells
you the answer.
Thanks though
-Original Message-
From: Ben Nadel [mailto:[EMAIL PROTECTED]
Sent: Friday, July 21, 2006 6:08 AM
To: CF-Talk
Subject: RE: adding to URL variables
Maybe I am not understanding the
With all the podcasts and RSS feeds out there, I was hoping to start using
some sort of software for centralizing it all, and potentially pulling it
down (the podcasts at least) Any suggestions? I can go web-based, but
would also be interested in desktop applications.
Thanks!
> On Jul 21, 2006, at 10:39 AM, [EMAIL PROTECTED] wrote:
> http://www.dcooper.org
Damon, I'm can't seem to get your example cfthread page to run, I get
this error: "The type for attribute name of tag thread could not be
determined", which makes me believe I don't have the files in the right
spots.
I like to use Google Reader (reader.google.com). It's still in the
labs, but it's the best one I've tried. As far as podcasts, Google puts
a little player right in the RSS post, so you can listen to it right
there if that floats your boat.
> -Original Message-
> From: Ben Nadel [mailto:[
I am trying to use the FCKeditor with my website. Everything is working
except the spellchecker. I am trying to use spellerpages and keep
getting the error below.
Element CHECKTEXT is undefined in FORM.
Has anyone had this problem and able to fix it?
Thanks in advance.
One more thing, I've noticed with the other RSS readers I tried don't
work well with aggregators like mxna and fullasagoog. ALL of the posts
that come in from the aggregator have the aggregator's title and they
don't show you who the original author was. Google's reader does show
the aggregator t
Could I do this...
In my Departments table create a field that is called SubDept and have it be
either yes or no and another field called SubDeptID and allow null values so if
a dept isn't a sub-department of something it stays blank, but if it is it will
have a number that corresponds to the D
Searched houseoffusion.com and Google and wasn't able to find anything.
I'm working on a small intranet application that has a module where
users can upload files, generally PDFs.
Some of these PDFs can be quite large. In fact, on anything larger than
about 2.4MB, the web server throws a 500 er
That sounds pretty cool, I will take a look. Thanks.
...
Ben Nadel
www.bennadel.com
-Original Message-
From: Munson, Jacob [mailto:[EMAIL PROTECTED]
Sent: Friday, July 21, 2006 12:03 PM
To: CF-Talk
Subject: RE: RSS and PodCast organization
I like to use Google Rea
Ben is right, the best way to do it is to keep the files above the web root,
if possible. Not all hosting companies provide you with this ability.
In my experience, it's not a huge drain on CF resources to force the
download of a document through CFcontent, so it's shouldn't hurt too much.
If y
Personally no.. but when ever i have a prob with FCK Editor i browse
the FCK help list
http://sourceforge.net/forum/?group_id=75348
On 7/21/06, Chad McCue <[EMAIL PROTECTED]> wrote:
> I am trying to use the FCKeditor with my website. Everything is working
> except the spellchecker. I am trying t
I'll preface this by saying I don't know what I'm talking about...
How much RAM is in that box? How much is free? I've gotten 500 Null
when I was out of memory, and if you are using cffile to copy the file,
then I believe the entire file is loaded in to memory.
Just a random guess.
~Brad
We are Running 7.0.2 but have you checked under Server Settings -> Settings
there is a field for "Maximum Size of Post Data" by default it is set to
500MB
Just a thought
~Eric
>
> I've used HTTP POST to upload files larger than 2.5MB elsewhere, so I
> don't know where this artificial limit is
This is in the ColdFusion Cookbook, but I don't know the best practices
for these settings:
"...you can place a server wide limit on the size of uploads in the CF
administrator. Under the "settings" link, see: Maximum size of post data
(MB), Request throttle threshold (MB), and Request throttle mem
Brad, you're right about the RAM. Files are loaded to RAM, so the
amount of free RAM will limit his file upload size. But in his case, he
/is/ able to upload these with ASP, so I don't think that's the problem.
> -Original Message-
> From: Brad Wood [mailto:[EMAIL PROTECTED]
> Sent: Fri
With my problem, this was only happening in IE 6 SP 2. On windows 2003 w/IE
6 SP 1, I was not getting this error.
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Friday, July 21, 2006 8:46 AM
To: CF-Talk
Subject: RE: Weird "IE" error, prevents page load
Yeah...
T
Dave,
What if you were to encrypt the path with ColdFusion, and then stuff the
encrypted string into a JavaScript variable like so:
var daPath =
'#Encrypt('/clients/images',myKey,"DESEDE")#';
Then whenever you need to display an image, use JS to decrypt the
variable (a view source would only show
My mistake. We're still on CFMX 7.0.
-Original Message-
From: Eric Haskins [mailto:[EMAIL PROTECTED]
Sent: Friday, July 21, 2006 12:31 PM
To: CF-Talk
Subject: Re: SOT: uploading large files
We are Running 7.0.2 but have you checked under Server Settings ->
Settings there is a field for "
depends...are sub-departments actually departments in and of
themselves? would a department ever be beneath a division as well as
beneath another department?
if they are truly sub-departments, then i'd break them out into a
sub-department table. no need to get overly complex.
On 7/21/06, Steven
Yes very useful concept. I have wanted to do something like this for
reporting interfaces where the reports can sometimes take a long take to
run, so would be nice to kick off as a separate thread and just let user
know that they will get email when its done (or whatever).
One comment I would not
OK ignore question re std edition - just saw your other post.
On 7/21/06, Michael Traher <[EMAIL PROTECTED]> wrote:
>
> Yes very useful concept. I have wanted to do something like this for
> reporting interfaces where the reports can sometimes take a long take to
> run, so would be nice to kick of
> Would this be in the standard edition?
I hope so, and maybe Damon will respond, but I know his blog post says
that they have no plans to support this proof of concept code in the
future, and they have no plans to add it to a future release. But I
know that's probably just avoiding a 'future loo
> i know there have been heated discussions about the overhead (or lack
> thereof) of storing actual images in the database...
Charlie, from my own experience of storing images as binaries on a mySQL db,
it bumps up the size of the stored file by upto 50%. Meaning, a 100k image
may take upto 150
Michael...
understood. but what with disk space being relatively inexpensive
nowadays...if his need to hide the image paths outweighs the issue of
disk space, it might be a worthwhile option.
i just didn't (and still don't) know if there's any performance impact
as far as converting the data bac
If a CFquery object is serializable why would you need it to be a XML
string?
and WDDXing a cfquery object works too and thats XML right so why don't you
use
that???
Dan
~|
Introducing the Fusion Authority Quarterly Update. 80
Yes turn off ODBC and stop using it and start using type 4 JDBC drivers and
add connections
to the pool manually at runtime.
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion in
My dev box environment:
CFMX 7.02 Enterprise (Dev Version)
Running the built-in server config (ex: http://localhost:8500/app_root/)
Windows XP Pro
Until recently, I had CF 5 and CFMX7 installed and running separately on
my local dev box. The other day, I uninstalled the CF5 server and now am
run
> i just didn't (and still don't) know if there's any performance impact
> as far as converting the data back into an image. can you elaborate
> on whether or not there is?
>From Dave's original requirement, he's talking about a loop of a hundred or
so images. So I'm sure there will be a
I've got a page that produces and Excel file for the user to either open or
save. Here's the code:
This works fine from my Win2000 PC. However, it can't be opened using IE6 on
an XP service pack 2 PC when hitting the production site, a Win 2003 server.
The file can be saved. When accessi
I would be interested in this also... I recently installed the standalone on
my old laptop... The thing has like 300 megs of RAM! I can't believe it
actually runs! Regardless though, I can't get it to go outside of webroot
either... Its also slows down my machine so much (like I said, 300 megs RAM)
Me again with a stupid problem. It's probably something easy.
Does anyone know why certain data is coming up and some isn't?
Go to this link (http://www.ccboe.com/website/schoolscenters/schools_main.cfm)
and click on a Center or Program...page is blank, but on all of the other pages
it is fin
>I hope so, and maybe Damon will respond, but I know his blog post says
>that they have no plans to support this proof of concept code in the
>future, and they have no plans to add it to a future release. But I
>know that's probably just avoiding a 'future looking statement', so my
>guess is it wi
Are you sure the query that runs on viewschool.cfm?id=53&viewschool=Go is
returning a result?
Without some code, it is hard to troubleshoot if there is just a blank page
and no error.
Matt
On 7/21/06, Steven Sprouse <[EMAIL PROTECTED]> wrote:
>
> Me again with a stupid problem. It's probably s
It's going to be pretty hard to help you without seeing code.
On 7/21/06, Steven Sprouse <[EMAIL PROTECTED]> wrote:
> Me again with a stupid problem. It's probably something easy.
>
> Does anyone know why certain data is coming up and some isn't?
>
>
~
well click on a school name from any list about Center or Program and you'll
what it generates. All of those forms are running off the same exact code.
weird right?
~|
Introducing the Fusion Authority Quarterly Update. 80 page
Well your printable list shows one result for Center or Program, so you have
a query working that pulls that center or program.
You need to take the query that is running the ViewSchool.cfm and run it on
its own and see if it is returning a result. Without code it is hard to tell
what is going on.
There IS a new thread scope, Damon talks about it in the readme that
comes with the files (and on his blog?). You reference it by the name
of the scope, which you set in the name attribute of the cfthread tag.
So in your example, instead of doing:
You'd want to do:
However, as you probably saw
You're going the wrong way. He wanted to turn XML into a query object.
> -Original Message-
> From: Dan Plesse [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 21, 2006 12:15 PM
>
> If a CFquery object is serializable why would you need it to be a XML
> string?
>
> and WDDXing a cfquery
For real, is the best way to go. You can
then store your images wherever you want and nobody can find them...
It's incredibly easy...
*
Ken Ferguson
214.636.6126
*
Michael E. Carluen wrote:
>> i just didn't (and still don't) know if there's any performance
this is the query I am using on the viewschool.cfm doc...
SELECT *
FROM Schools s, Principals p, VicePrincipals v
WHERE s.SchoolID = () AND p.SchoolID =
() AND v.SchoolID = ()
and this is body code...
Schools & Centers
Is the production server using a "Cache-Control: no-cache" HTTP header?
I ran into a similar problem yesterday when opening a Word doc served by
(Win2k3 server). If MS Word was closed when I tried to open
the doc from the web page, the no-cache was deleting the file before
Word started up - resu
It figures.
It appears that the root of the problem is Siteminder, which is used
here for authentication. Which is hosted on a completely different
server, in a completely different building, and managed by a completely
different group.
I suppose the first clue was when no errors appeared in the
>There IS a new thread scope, Damon talks about it in the readme that
>comes with the files (and on his blog?). You reference it by the name
>of the scope, which you set in the name attribute of the cfthread tag.
>
>So in your example, instead of doing:
>
>You'd want to do:
>
The problem is when
So when you put this in a query on the database:
SELECT *
FROM Schools s, Principals p, VicePrincipals v
WHERE s.SchoolID = 99 AND p.SchoolID = 99> AND v.SchoolID =99 or whatever ID
you put, what do you get?
-Original Message-
From: Steven Sprouse [mailto:[EMAIL PROTECTED]
Sent: Friday
I have some code that loops over a list of fields to cfparam some
attributes. The idea is, if the query (getCust) returns a record, set the
attribute to the query.column value; if no record, set the attribute to
null. After some hacking around I got it to work as desired, but I don't
quite u
I don't get a thing when I do that query, but I do when I change the id to
something else. What gives?
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your pee
Yeah, I've hacked it pretty extensively. buut, i had to make some hefty
modifications to get it to work right for me. I'll give you some hints,
though.
All you need to do is hack up the cfm file. You can find it here:
FCKeditor\editor\dialog\fck_spellerpages\spellerpages\server-scripts\spellch
Damien:
As all features of CFMX are, this is a Java feature.
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Thread.html
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Thread.html
They're writing an interface for it.
-Original Message-
From: Damien McKenna [mailto:[EMAIL PROTECTED
You need to take a close look at the data in your database then. Have
you tried using trim? I'm assuming this is access, yes? Sometimes,
access has issues with leading/trailing spaces.
Or, try this:
SELECT *
FROM Schools s LEFT JOIN Principals p on s.schoolid = p.schoolid LEFT
JOIN VicePrincipal
you hit the nail on the head with looking closely at the data. The person who
typed this data in left out all of the prin and vprin data out for the schools
and centers. So it wasn't coming up because there was no school code in the
prin and vprin table to match up to. It takes some stupidity
This is a good case for why we create relational databases. You may want to
consider doing that with your database if you have not already. Making sure
you have cascading updates and deletes may help with this. Also ensuring
that you force certain fields to contain data so that someone cannot skip
Give this a shot, guys. Email me with any questions
http://www.orbwave.com/cfjboss/2005/02/coldfusion-from-anywhere.html
Steve "The Boss" Brownlee
http://www.orbwave.com/cfjboss
-Original Message-
From: Ben Nadel [mailto:[EMAIL PROTECTED]
Sent: Friday, July 21, 2006 2:57 PM
To: CF-T
Here's how I understand iif: If the condition is true, return the 2nd
parameter, otherwise return the 3rd.
So in your example, if (didquery and didfind) returns true, the code
will evaluate getCust.#i#. Otherwise it will evaluate DE("").
iif is basically just a shorter cfif statement, using you
I'm not sure I understand your answer. Damien wanted to know why it
doesn't work with CFMX 6, which /is/ Java based.
> -Original Message-
> From: Steve Brownlee [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 21, 2006 2:03 PM
>
> As all features of CFMX are, this is a Java feature.
>
>
Dynamic if has a performance penalty associated with it.
Is there a reason you don't want to use normal conditional processing?
> -Original Message-
> From: Josh Nathanson [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 21, 2006 3:41 PM
> To: CF-Talk
> Subject: iif: am I understanding corr
But it executes much faster.
> -Original Message-
> From: Munson, Jacob [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 21, 2006 4:22 PM
> To: CF-Talk
> Subject: RE: am I understanding correctly?
>
> Here's how I understand iif: If the condition is true, return the 2nd
> parameter, otherw
> The problem is when your threads are named dynamically,
> there's no way to
> reliable get the thread name.
What about using evaluate(), or thrd["#i#"], or
?
> Did you make sure to replace the taglib.cftld with the one in
> the zip file
> (I'd back up the original first.)
Yes, I did that.
> iif is basically just a shorter cfif statement, using your example iif,
> this would do the same thing:
>
>
>
>
>
>
> But that takes a lot more code.
And, a lot less server overhead from the things I've read...
Cutter
__
http://blog.cutterscrossing.com
~
1 - 100 of 144 matches
Mail list logo