I'm working and everything is fine, then kaput!
Suddenly CF won't process it's own code.
The .cfm page shows up without the code processed
just like it would if it were in file mode. CF code is
showing, such as #DateFormat(Now(), "mmm d, ")#
without being processed...ideas?
When I try to go
thanks jim! looks interesting, off i go...later.
tony
On Tue, 20 Jul 2004 20:01:57 -0400, Jim Davis
<[EMAIL PROTECTED]> wrote:
> In MX or 5.0 I'd use Query of queries. However an ago (in the CF 4.5 days)
> I did a challenge on this very topic. The results are here:
>
> http://www.depressedpre
This was my thought I am just not sure how to read the MP3 file. Isn't there
a file header that contains all the info on the file Artist, Song, Date,
time and so on?
I also think that Flash would be a better in this situation. Go look at
http://www.rush.com/ and click on Rush Radio. That
is e
Yes Simon I have closed the query, I forgot to paste it and I have sav
ed as thanks.cfm.
I think the problem will be as u mentioned coldfusion is not parsing c
ode before handing it over to the webserver. we are working on Mac OS
X with MySql. How to fix this
It was working fine on PC, this i
Does the query page have a CFM or CFML extension?
Are other ColdFusion pages running successfully, i.e., no CF code is
displaying in the browser?
On Tue, 20 Jul 2004 20:05:52 -0400, Sangeeta Karmokar
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am new to CF. i am stuck in the middle.
> We have backend
The only reason I can think of why this would happen is that the page
you're submitting your form to is not a page that has a .cfm extension.
What is the page name that your form submitting to?
Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Sangeeta Karmokar wrote:
Yes Simon I have closed the query, I forgot to paste it and I have saved as thanks.cfm.
I think the problem will be as u mentioned coldfusion is not parsing code before handing it over to the webserver. we are working on Mac OS X with MySql. It was working fine on PC, this is the first time we are
Just a tiny plug, but if you want to learn more about this kind of thing
have I guide for you? Yes I do!
http://www.depressedpress.com/DepressedPress/Content/ColdFusion/Guides/Varia
bles/Index.cfm
Covers all of this stuff in somewhat excruciating detail.
Jim Davis
From: [EMAIL PROTECTED] [mail
Hi,
I am new to CF. i am stuck in the middle.
We have backend as MySql and I am trying to add new member to the daabase using this query:
INSERT INTO members
(name,email)
VALUES ('#name#','#email#')
When I preview this first page and click on submit button, it takes me to this page, but ins
In MX or 5.0 I'd use Query of queries. However an ago (in the CF 4.5 days)
I did a challenge on this very topic. The results are here:
http://www.depressedpress.com/DepressedPress/Content/ColdFusion/Challenge/Co
mbineSortQuery/Index.cfm
There's some interesting stuff in there - much of it still
I've been on this for about a week now and It's bugging me because I know it's possible but I keep running into dead ends. I'm trying to create and register a database in a coldfusion function. I've copied new information into the service factory and the registry but I still haven't gotten anythi
> The XML packet is being pushed to the IP on port 5000.
>
> Paul Giesenhagen
> QuillDesign
You need to use something like Microsoft.XMLHTTP, or use cfimport to expose the Java URL class so you can POST raw XML data to the port.
Here is an example from DevShed using the MS object:
http://forum
I recently upgraded Coldfusion from 6.0 to 6.1 (was forced to do so after
upgrading the server to Windows Server 2003). Now, I'm having problems with
cftreeitems being put in the wrong place in the cftree control. The
following code shows an example of the problem:
In 6.0, th
Dave,
Thank you for your link suggestion. It was very helpful. I finally had time to investigate the error further and I found the answer, as described below.
Error message:
An exception occurred when instantiating a Com object.
The cause of this exception was that: AutomationException: 0x800700
> Really? your connected web instances continued to work after
> you moved the JRUN instances into a cluster? I tried this
> exact thing and it failed (w/Apache and MX .1)
Yes, that worked for me with CFMX 6.1 and IIS 5. However, I didn't really
set it up like this intentionally, and normally
The XML packet is being pushed to the IP on port 5000.
Paul Giesenhagen
QuillDesign
- Original Message -
From: Robert Munn
To: CF-Talk
Sent: Tuesday, July 20, 2004 4:53 PM
Subject: Re: XPay - CFMX - XML
> The question is, how do I send an XML string to the XPay client via
> The question is, how do I send an XML string to the XPay client via an
> internal socket? It resides on 127.0.0.1 port 5000 if that helps ...
Is it using Web services or is it just a raw XML packet being pushed to the IP on port 5000? If it uses Web services, you can use cfinvoke to invoke i
Really? your connected web instances continued to work after you
moved the JRUN instances into a cluster? I tried this exact thing and
it failed (w/Apache and MX .1) I'll give it another try though, just
to double-check, and reply back tomorrow.
Thanks for the info.
-Ben
- Original Messag
Yup. That's much better. Let the DB do all the work. :)
--Jeff
Charlie Griefer wrote:
> SELECT TOP 1
> field1,
> field2,
> ...
> FROM
> table
> WHERE
> public = 1
> ORDER BY
> newID()
>
> - Original Message -
> From: "Dustin Snell [Network Automation, Inc]"
> <[
as a rule, you should try not to pull more records than you need. if his
table contains a large amount of records, and he only needs 1, it's not
efficient to pull them all.
since he's using SQL Server, he has the newID() function available to him
(but be aware that it's SQL Server specific...so y
You could do something like
SELECT TOP 1 *
FROM Testiments
WHERE Public = 1
ORDER BY NewID()
HTH
- Original Message -
From: Dustin Snell [Network Automation, Inc]
<[EMAIL PROTECTED]>
Date: Tue, 20 Jul 2004 14:21:44 -0700
Subject: Retrieve a random record from a database
To: CF-Talk <[EMA
SELECT TOP 1
field1,
field2,
...
FROM
table
WHERE
public = 1
ORDER BY
newID()
- Original Message -
From: "Dustin Snell [Network Automation, Inc]"
<[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, July 20, 2004 2:21 PM
Subject: Retrieve a random r
You could query for all public records and then use
randRange(1,myquery.recordcount). That'll give you a random row. Then
use the primary key to do whatever you need form there. HTH.
--Jeff
Dustin Snell [Network Automation, Inc] wrote:
> We have a database with a bunch of customer testimoni
You can handle file uploads using the form field directly without using
cffile if that meets your needs. The form field value will be a path to the
temp file where it's stored.
This is useful for example if you want to read in the file and process it
but don't need to make a copy.
It's not docum
Adam,
Did you ever work out what was going on with this? Have been experiencing something similar.
Cheers
Simon
>I've been trying to hunt down a bug over the last week or so without much
>luck. The CF service is hanging at least once a week on our CF5/win2k
>server, and I believe it has to do wi
On Tue, 20 Jul 2004 17:21:17 -0400, Sangeeta Karmokar
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am new to CF. we have backend as MySql and I am trying to inser into a database created in SQL using this query:
>
>
> INSERT INTO members
> (name,email)
> VALUES ('#name#','#email#')
>
> But it
Close the cfquery, perhaps? Unless that was just a cut and paste issue...
--Jeff
INSERT INTO members
(name,email)
VALUES ('#name#','#email#')
Sangeeta Karmokar wrote:
> Hi,
>
> I am new to CF. we have backend as MySql and I am trying to inser into
> a database created in SQL using this quer
Is your file running this code named .cfm? (Or some other extension handled by Cold Fusion)
Is Cold Fusion Server installed and running on your server?
Jerry Johnson
>>> [EMAIL PROTECTED] 07/20/04 05:21PM >>>
Hi,
I am new to CF. we have backend as MySql and I am trying to inser into a database c
at first glance you are missinga closing tagfor anything beyond that I'd like to see ALL the code involved
Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]
- Original Message -
From: Sangeeta K
Oops...knew I rattled that off too quickly. Yeah, use your _expression_. :)
-joe
- Original Message -
From: Samuel R. Neff <[EMAIL PROTECTED]>
Date: Tue, 20 Jul 2004 17:04:29 -0400
Subject: RE: OT: JS number check
To: CF-Talk <[EMAIL PROTECTED]>
and then try
alert(isNumeric("0.3.2"));
We have a database with a bunch of customer testimonials in it. Records can
be added to it at anytime. Some are marked public and some or not. Does
anyone know how I could pull a single record randomly from the database
using MSSQL2000 and CF6.1 for display on the website - but only out of the
reco
Hi,
I am new to CF. we have backend as MySql and I am trying to inser into a database created in SQL using this query:
INSERT INTO members
(name,email)
VALUES ('#name#','#email#')
But it is not adding to the database, the submit is just going to the query page and we can see all these codes
>By inserting a "virtual mapping" in the jrun-web.xml, we were able to
>"intercept" requests to /CFIDE/administrator and redirect them as
>desired.
Ben,
Unless I am not understanding you properly, your scenario many not be applicable to a typical CFMX install, which is what I am dealing with. If
>Does anyone have a handy CF Proper Case UDF they would like to share? I was
>going to write one but thought I would check the web (without success) and a
>few discussion forums first.
CFLib has one for title case (actually it title cases a list of elements), maybe you could start with that as a
have you looked at www.cflib.org? hard to believe there's nothing there
that would fit your needs (?)
- Original Message -
From: "Wes" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, July 20, 2004 2:10 PM
Subject: Proper Case UDF
> Does anyone have a handy CF Proper
Here's one I use for some internal things. Nothing fancy, and never for any
world-visible formatting, so I don't know how perfect it will work,
particularly with edge cases. However, it should do most of the job for
you.
removeChars(i, 1, 1), " ") />
Cheers,
barneyb
> -Or
www.cflib.org that's where I've found it in the past
Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]
- Original Message -
From: Wes
To: CF-Talk
Sent: Tuesday, July 20, 2004 2:10 PM
Subject:
Does anyone have a handy CF Proper Case UDF they would like to share? I was
going to write one but thought I would check the web (without success) and a
few discussion forums first.
Basically, my application sometimes has users entering in data in ALL CAPS.
DON'T YOU HATE IT WHEN THEY DO THAT?!!
Tracy,
Did you find a resolution for this issue? Am seeing it on a cf5 server which I need to get sorted.
Cheers
Simon
> I can't seem to find the answer to these contstant errors/warnings in
> the log
> file of cf 5...
>
> It seems all throughout the day, I'm seeing NT error 232
> A long-
> Thanks for your response. On the clustering piece... are
> you saying that you are able to connect to an individual JRUN
> instance with an external webserver (Apache, iPlanet, etc)
> after the JRUN instance has been added to a cluster?
Actually, I've set that up before adding the instance t
and then try
alert(isNumeric("0.3.2"));
:-)
> -Original Message-
> From: Joe Rinehart [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 20, 2004 4:12 PM
> To: CF-Talk
> Subject: Re: OT: JS number check
>
> This may help:
>
>
> function isNumber2(inputStr, field) {
> if (!inpu
Dave,
Thanks for your response. On the clustering piece... are you saying
that you are able to connect to an individual JRUN instance with an
external webserver (Apache, iPlanet, etc) after the JRUN instance has
been added to a cluster?
For example, lets say I've got a cluster called "cluster1"
Oh yah, typing too fast and then cutting and pasting will do that to ya.
Sorry. :)
- Original Message -
From: "Che Vilnonis" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, July 20, 2004 3:44 PM
Subject: RE: Quick SQL question...maybe.
> Thanks Deanna...I got an erro
On Tue, 20 Jul 2004 15:39:35 -0500, Deanna Schneider
<[EMAIL PROTECTED]> wrote:
> Dave,
> Good questions. We see the similar problmes here. It's ironic that I keep
> hearing how the 3.1 drivers were tested up the wazoo, but it only took a few
> minutes of using them on our configuration (with Oracl
Thanks Deanna...I got an error initially, but I remembered to add the END
statement.
SELECT SUM (CASE WHEN maepos = 1 THEN 1 ELSE 0 END) AS pos1Count,
SUM (CASE WHEN maepos = 2 THEN 1 ELSE 0 END) AS pos2Count,
SUM (CASE WHEN maepos = 3 THEN 1 ELSE 0 END) AS pos3Count,
SUM (CASE WHEN maepos =
- Original Message -
From: "Dave Watts" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, July 20, 2004 2:16 PM
Subject: RE: CFFile upload problem
> > What I'm finding is that the form field contains a temp file name
> >
> >
> > #form.premphoto#
> >
> >
> >
> > C
Dave,
Good questions. We see the similar problmes here. It's ironic that I keep
hearing how the 3.1 drivers were tested up the wazoo, but it only took a few
minutes of using them on our configuration (with Oracle 8.1.7) for our
server to come to a screeching halt.
The other workaround to the error
select
(select count(meepos) from mae where maepos = 1) as pos1count,
(select count(maepos) from mae where maepos = 2) as pos2count
...
or better yet,
select maepos, count(maepos) as poscount
from mae group by maepos
order by maepos
This will return 2 columns and multiple rows - the first column
foo.title[1]
You almost had it! :-)
--Ben
[EMAIL PROTECTED] wrote:
> Is there a way to access query results by referencing the record's row
> number? I've tried
>
> foo[1].Title
>
> to get the Title field in row 1 of my query named foo, but I get this error
>
> [Table (rows 1 columns TITLE
SELECT SUM(CASE WHEN maepos = 1 THEN 1 ELSE 0) AS pos1Count,
SUM(CASE WHEN maepos = 2 THEN 1 ELSE 0) AS pos2Count,
SUM(CASE WHEN maepos = 3 THEN 1 ELSE 0) AS pos3Count,
SUM(CASE WHEN maepos = 4 THEN 1 ELSE 0) AS pos1Count
FROM mae
- Original Message -
From: "Che Vilnonis" <
> Is there
Just what I needed! I'd tried to find this in my docs, but just couldn't.
Thank you Mike and Dave and Dave. :)
-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 2:30 PM
To: CF-Talk
Subject: RE: Accessing query results by row number
queryn
> To meet the requirement, we've been using web server
> directory-based security (like an .htaccess file - ours
> actually points to an ldap server) to lock down the
> CFIDE/administrator directory. However, this can only
> be accomplished by serving the CF administrator through an
> enterpris
You were quite close. This is what you need:
Foo.title[1]
This is unlike how recordsets work in JSP/JSTL. CF recordsets are a
collection of columns, with each column's rows indexable by record number.
JSTL recordsets are an array (white lie) of record objects indexable by
record number, with ea
> Is there a way to access query results by referencing the
> record's row number? I've tried
>
> foo[1].Title
>
> to get the Title field in row 1 of my query named foo, but I
> get this error
>
> [Table (rows 1 columns TITLE): [TITLE:
> [EMAIL PROTECTED] ] is not indexable by 1
>
> I kno
Question for All:
Are there a best practices for securing the CF Administrator
application in the Enterprise? I'm working with MX 6.1 (J2ee/Jrun) on
Solaris, but the question is really a more general one.
I work with a client whose security policies forbid any dependencies
on shared passwords.
queryname.columnName[1]
Mike
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
On Tue, 20 Jul 2004 16:27:38 -0400, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Is there a way to access query results by referencing the record's row
> number? I've tried
>
> foo[1].Title
>
> to get the Title field in row 1 of my query named foo, but I get this error
>
> [Table (rows 1 colu
At 8:06 AM 7/20/4, Dick Applebaum wrote:
> [snip]
Are you asking "How can I control a QuickTime file via _javascript_?" If so,
then a Google search on "site:apple.com liveconnect" will bring up relevant
documents.
If you're instead asking something closer to "Can I stop a QuickTime
stream?" then
Is there a way to access query results by referencing the record's row
number? I've tried
foo[1].Title
to get the Title field in row 1 of my query named foo, but I get this error
[Table (rows 1 columns TITLE): [TITLE: [EMAIL PROTECTED] ]
is not indexable by 1
I know I can loop through the qu
On Tue, 20 Jul 2004 15:53:49 -0400, Debbie Dickerson
<[EMAIL PROTECTED]> wrote:
> Check out the new TechNote at:
> http://www.macromedia.com/support/coldfusion/ts/documents/removeonexception_
> error.htm
>
> _error.htm>
>
> Intro:
> Occasionally RemoveOnException errors may appear in the ColdFusi
Is there an easy/simple way to combine these four queries into one?
I'm not thinking clearly today. :(
SELECT COUNT (MAEPOS) AS Pos1Count
FROM MAE
WHERE MAEPOS = 1
SELECT COUNT (MAEPOS) AS Pos2Count
FROM MAE
WHERE MAEPOS = 2
SELECT COUNT (MAEPOS) AS Pos3Count
FROM MAE
WHERE MAEPOS = 3
SELECT CO
This may help:
function isNumber2(inputStr, field) {
if (!inputStr.match(new RegExp("[^0-9.]"))) {
alert ("Please make sure your " + field + " entry are numbers only");
return false;
}
return true;
}
alert(isNumeric("0.3"));
-joe
[Todays
> What I'm finding is that the form field contains a temp file name
>
>
> #form.premphoto#
>
>
>
> C:\WINNT\TEMP\ACFA4A2.tmp
>
> That file is nowhere to be found on the server, so I assume
> either CF or IIS is cleaning up after it generates the page
> sent back to the browser.
>
> Is
HI Qasim,
I was following this thread and wanted to ask a question. I follow your
logic all the way until the break; at line 10. Can you comment the code to
explain what is going on? I am real new and trying very hard to understand
the code and the logic.
Thanks!
Kevin
Professional Student (
Speaking of which -- on my server at home, I frequently get an error
that says "the specified instance (of my databse) does not exist or is
not running" or something similar... but it's not "reproduceable"...
that is to say, it happens frequently, but never twice in a row, so
when I refresh the pag
What's wrong with just using isNaN? Or if something wrong with that, what
about regexp?
function isNumber(testNumber) {
return String(testNumber).match(/^[0-9]*\.?[0-9]*$/);
}
Sam
> -Original Message-
> From: Robert Orlini [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 20, 2004 3:
I resolved this by looking at Rick's code.
He is embedding WMP in his page -- I didn't know you could do that (it
appears that I need to follow my own advice and get out more, too!)
Duh!
Anyway I resolved it by embedding QT in my page -- Rick is embedding
WMP -- I may do that too.
Anyway, it
there is always the temp file as you're finding...just not sure when it's written/deleted
Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]
- Original Message -
From: Jim McAtee
To: CF-Talk
Sent
This might help you
function isPostiveDecimal(num){
var validChars ="0123456789.";
var allValid = true;
var decPoints = 0;
var allNum = "";
for (i = 0; i < num.length; i++){
ch = num.charAt(i);
for (j = 0; j < validChars.length; j++)
if (ch == validCh
Check out the new TechNote at:
http://www.macromedia.com/support/coldfusion/ts/documents/removeonexception_
error.htm
_error.htm>
Intro:
Occasionally RemoveOnException errors may appear in the ColdFusion logs,
masking a real database issue. RemoveOnException is a data source level
setting used
- Original Message -
From: "Dave Watts" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, July 20, 2004 1:23 PM
Subject: RE: CFFile upload problem
> > ...
>
> Are MAXLENGTH and SIZE valid attributes for a file upload field?
I've removed both, with the same results.
W
I need a _javascript_ later to come up when anything but a number and/or a decimal point is entered into a price each field. The _javascript_ below is not allowing the decimal point. Can anyone suggest what I have to add or fix please?
function isNumber2(inputStr, field)
{
for(var i=0; i
{
var
I guess the first question would be, has anyone setup for Xpay? (Secure Trading)? If so, would you mind sharing some information?
Xpay facilitates the processing of realtime credit cards. I need to send an XML document to the XPay via internal TCP/IP socket then XPay picks up the XML and sends
You can leave out the temp and just do
SetVariable('someStruct.'&myVar, 'somevalue')
Assigning it to a variable is not required.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
It's doubleplus hackish, but could you use something to read the
duration of the mp3, then use _javascript_ to have the parent window
refresh the other window to the next song after that many seconds,
plus a few for padding/load time?
-joe
[Todays Threads]
[This Message]
[Subscription]
[Fas
Another method that can be used for nested dynamic structures:
someStruct['tab#arguments.firstStruct#'].packet['applicant#locApplicantI
D#'].valid = somevalue;
Ryan Duckworth
Macromedia ColdFusion Certified Professional
Uhlig Communications
10983 Granada Lane
Overland Park, KS 66211
(913) 754
Not in my testing, but I just happened to be looking at that and wondering
if it was wise to have a maxlength on the field. I removed it and got the
same results.
- Original Message -
From: "Bryan Stevenson" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, July 20, 20
> ...
Are MAXLENGTH and SIZE valid attributes for a file upload field?
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
Or rather.
Temp = SetVariable("someStruct.#myVar#", "somevalue")
-Original Message-
From: Nikhil Madani [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 3:02 PM
To: CF-Talk
Subject: Dynamic variable assignment in CFSCRIPT?
How would one do this in CFSCRIPT-
TIA
Nikhil
_
I think this should work. Or at least some use of SetVariable() should do
the trick for you.
tempVar = SetVariable("#myVar#", "somevalue");
-Original Message-
From: Nikhil Madani [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 3:02 PM
To: CF-Talk
Subject: Dynamic
could the maxlength attribute be truncating the file path??
Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]
- Original Message -
From: Jim McAtee
To: CF-Talk
Sent: Tuesday, July 20, 2004 12:06
If that CFSET tag works, then this should work too:
someStruct."#myVar#"=somevalue;
However, the much easier way is to do it this way:
someStruct[myVar] = somvalue;
Cheers,
barneyb
> -Original Message-
> From: Nikhil Madani [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 20, 2
>> How would one do this in CFSCRIPT-
>>
>
>someStruct[myVar] = somevalue;
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>phone: 202-797-5496
>fax: 202-797-5444
Thank you.!
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donati
CF5. I'm having a bit of a time using cffile action="" used it
in the past with no problems, but for some reason...
I've got a large form containing an input field of type="file".
enctype="multipart/form-data">
...
In the action template, I have
filefield="premphoto"
> How would one do this in CFSCRIPT-
>
someStruct[myVar] = somevalue;
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
How would one do this in CFSCRIPT-
TIA
Nikhil
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
Amen to that.
I've noticed that CF'ers seem especially susceptible to "optimizing in the wrong place" so to speak. It's easier to move CF tags around than to step into the database world, or deal with caching, or..
My guess is that if Steve said one way was preferable, and Ben said another w
Securing CFAdmin in Sun ONE would not be very difficult, although not having to do this saves me a step. I have already copied a minimal CFIDE directory so that port 80 sees it.
Perhaps there is some performance issue. Is the server appreciably slower with the CFMX Web server running on it?
-Mik
Mike,
Not sure I can answer all the parts of your question, but I recently
worked through an issue with MACR tech support on the use of a JRUN
virtual mapping.
In my case, we wanted to move the location of the files which make up
the CF Administrator... for example, instead of using the
CFIDE/ad
>>the CF server looks at EVERY
character from top to bottom of your page looking for a # and then it's end
#.
Since it is looking for <...> and analysing every tag anyway, I do not think it is a big deal to look
for # in the same time.
--
___
REUSE CODE! Use cu
I would think that nowadays since the page is compiled, the only time you'll
notice a speed difference, if even then, will be during compilation.
> -Original Message-
> From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 20, 2004 12:45 PM
> To: CF-Talk
> Subject: Re: sing
My money is on "if you care about the nanoseconds that processing CFOUTPUT
tags, don't use CF, because it's obviously too slow as a whole". Also, the
"parse the whole file" thing has no weight on CFMX, because the template
gets compiled only once (unlike CF5 and below).
However, I did some testin
Things have changed in the past few yearsit used to be slower to wrap the whole page in CFOUTPUTnot anymore (or it's so insignificant it's not worth the PITA to open/close everywhere).
For me it's all about clean codewrap the whole page...nice and clean ;-)
HTH
Cheers
Bryan Stevenso
> Ben Forta explained this in a CFUG a couple years or so back.
> He said that it was more efficient to have CFOUTPUTS around
> each variable output rather than the entire page because
> otherwise, the CF server looks at EVERY character from top to
> bottom of your page looking for a # and then
Ben Forta explained this in a CFUG a couple years or so back. He said that
it was more efficient to have CFOUTPUTS around each variable output rather
than the entire page because otherwise, the CF server looks at EVERY
character from top to bottom of your page looking for a # and then it's end
#.
So no BODY tag whatsoever in the popup?
That aside...someone else mentioned Flash...I would most definately build something like this in Flash...way more control and could also be built as a projector for standalone use (no browser required).
Cheers
Bryan Stevenson B.Comm.
VP & Director of E-Com
On Jul 20, 2004, at 8:13 AM, Bryan Stevenson wrote:
> hmmm.,..
>
> Have you tried running JS onUnLoad?
>
> Bryan Stevenson B.Comm.
>
That sounds good, except the content of the popup is an mp3, served with
value="attachment; filename=song.mp3">
file=#FilePath#
deletefile = "No"
You can remove the carriage returns and Line feeds like so.
#Replace(yourVarHere, chr(13), "", "ALL")# <-- For Carriage returns.
#Replace(yourVarHere, chr(10), "", "ALL")# <-- For linefeeds
-Original Message-
From: Ben Densmore [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 200
Dick Applebaum <[EMAIL PROTECTED]>
07/20/2004 11:06 AM
Please respond to cf-talk
To: CF-Talk <[EMAIL PROTECTED]>
cc:
Subject:SOT: Is this possible? was mediaPlayer
Is this possible with _javascript_?
-- probably
Is it possible with a Java applet?
-- certai
You're correct, it's not a bug, though it's not necessarily what you'd
expect. Just think of CFSETTING as turning on a request-level flag (which
affects ALL templates in the request), indicating that nothing should be
output.
I'd recommend always putting generated content inside CFOUTPUT tags any
1 - 100 of 186 matches
Mail list logo