Why do you think dates are immutable, and even if they are, why does it matter?
- Original Message -
From: Craig Earls <[EMAIL PROTECTED]>
Date: Tuesday, November 18, 2003 6:58 pm
Subject: Re: Altering Date Objects?
> Thanks, as it turns out that is what I am doing in a way. So I have
>
Thanks, as it turns out that is what I am doing in a way. So I have
just wasted a lot of bandwidth. I was hoping someone was going to tell
me I had missed something big about accessing properties in CF
objects. But it looks like dates really are immutable.
On Tue, 18 Nov 2003 17:46:00 -0800, you
Set the time using dateAdd(), like the other poster suggested.
Don't use createODBCDateTime until you're actually doing the insert.
- Original Message -
From: Craig Earls <[EMAIL PROTECTED]>
Date: Tuesday, November 18, 2003 6:22 pm
Subject: Re: Altering Date Objects?
> I am talking in ci
Ah, HA!
I see three solutions, given that after submitting the second page you'll
have 4 pieces of info: a date (myDate), an hours value (hr), a minutes value
(min), and a seconds value (sec).
1) myDate = createDate(year(myDate), month(myDate), day(myDate), hr,
min,sec);
2) myDate = dateAdd(myDat
I am talking in circles, sorry. Let me clarify the question: I am
ultimately going to stick a ODBCDateTime object into a database, but
first I have to create it.
My workflow is such that the user selects the date from a widget
(system creates the object using createDate()). On the next page (t
Databases are a persistent data store, not an object store. So yes, you'd have to change the date somewhere and update the corresponding entry in the database (you can do these two operations in one SQL statement).
- Original Message -
From: Craig Earls <[EMAIL PROTECTED]>
Date: Tuesday,
I'm missing something. If you're altering the date, it seems you'd already
have a date that you'd just overwrite the current value with.
UPDATE table SET
startDate = #myNewStartDate#
WHERE .
or if you only have an offset, all the DBs that I've ever used have
something equivalent to a dat
I thought of that, but for the sake of argument let's say I am storing
a date object in my DB. If I reschedule the meeting then I would like
to just directly alter the values, not compute an offest then add
them. Their is no copy ocntructor that I can see, so I have been
creating a new datetime o
just hit it with a dateAdd() and specify "h", "n", or "s" for the date part.
Yes, that's an "n", not an "m". "m" is month, "n" is minute.
-Original Message-
From: Craig Earls [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 4:13 PM
To: CF-Talk
Subject: Altering Date Ob
I need to allow a user to specify a time and date for a meeting. I am
using a calendar widget to choose the date, and a few comboboxes to
choose the time. This brught the following question up:
Suppose I create a date object with CreateDate(Year, Month, Day), then
later want to modify the time i
I don't think it mentioned jj's full name, but there's a meet the
makers interview with jeremy that has some good trivia in it.
http://www.meetthemakers.com/conversations/allaire/
> Jumping Jellybeans ;-)
> Bryan Stevenson B.Comm.
> VP & Director of E-Commerce Development
> Electric Edge Systems
That was a good post. One thing, however, struck me as really odd. Third
paragraph, last sentence, talking about building an event app...
"a full, professional product, the needs to be extremely high
performance (think Dreamweaver or Flash)."
I think he must be using some super-secret never-rel
From a OO prospective both "funny Money" and Time may be considered consumables and both would have a method called consume. You would then model "funny Money" and "real" money as childern of the parent class consumable. Well no need to transfer you Relational model to an OO one it's probably to
John John
- Original Message -
From: [EMAIL PROTECTED]
Date: Tuesday, November 18, 2003 4:01 pm
Subject: OT: JJ Allaire?
> Does anyone know what JJ Allaire'es full name is (ie what is JJ
> short for).
> I saw it somewhere years ago but can't remember what it is.
>
> Also any ColdFusion
Jumping Jellybeans ;-)
Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]
-
Macromedia Associate Partner
www.macromedia.com
--
Does anyone know what JJ Allaire'es full name is (ie what is JJ short for).
I saw it somewhere years ago but can't remember what it is.
Also any ColdFusion trivia tidbits?
Thanks!
Peter Tilbrook
Transitional Services - Enterprise eSolutions
Centrelink (http://www.centrelink.gov.au)
2 Faulding St
I'm using mx6.1 as well...
I took the binary data and pasted it into a file and saved with .pdf
extension.. tired to open it and got "The file is damaged and could not be
repaired." Sometimes the browser would prompt and sometimes it would just
display the binary data.
-Original Message---
Are you using cf5? I could not make it work on CF5, but it works like a
charm on CFMX (6.1):
method="GET">
type="application/pdf">#trim(toString(cfhttp.filecontent))#
foutput>
> -Original Message-
> From: Tim Do [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 18, 2003 5:00 PM
> T
There is a very good blog entry pointed out by Sean Corfield from David Mendels of Macromedia. It explains what Flex is and what the aims are. It compares Flex to the aims of MS's Longhorn. We will see or have seen the "MS's Flash Killer-Sparkles BS" this article is a good loin-girder to that lin
>I saw that earlier.. but that didn't work for me either... running out of
>ideas =(
>
>
>url="">
>il_200310.pdf
>
>00310.pdf> "
> method="GET" getAsBinary="yes">
>
>
> #ToString (cfhttp.filecontent)#
Hmm, we display PDFs all the time without issue. Are you absolutely sure
I saw that earlier.. but that didn't work for me either... running out of
ideas =(
url="">
il_200310.pdf
00310.pdf> "
method="GET" getAsBinary="yes">
#ToString (cfhttp.filecontent)#
-Original Message-
From: Dave Carabetta [mailto:[EMAIL PROTECTED]
Sent: Tuesda
It's anything that costs actual money (as opposed to our time, which is
tracked differently and is only "funny money"). For example, it's an outside
contractor's services (because we actually pay them) as well as blank disks
for a CD duplication job. You have to bill consumables to a particular tas
It looks like Flex is to .swf as ColdFusion is to .HTML and the the new product Brady is the equivalent of ColdFusion Studio. Dreamweaver, the be all to all has inherited even more responsibility.
Dwayne Cole, MS in MIS, MBA
Florida A&M University
Certified Advanced ColdFusion Developer
850-591-
doh! me thinks I've been dwinkin two! :|
-Original Message-
From: Knudsen, Douglas
Sent: Tuesday, November 18, 2003 4:18 PM
To: CF-Talk
Subject: RE: Question about data validation (beginner)
further...add in at the top and avoid all those IsDefined() calls. cfdefaultcase in the cfswi
>Thanks Dave,
>
>But now I'm getting this error:
>
>coldfusion.runtime.Cast$ComplexByteArrayException: ByteArray objects cannot
>be converted to strings.
>
Actually, a quick read of the LiveDocs stuff might solve this. Try putting:
#toString(cfhttp.fileContent)#
when using the getAsBinary attrib
further...add in at the top and avoid all those IsDefined() calls. cfdefaultcase in the cfswitch can catch when the url var doesn't exist.
Doug
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 4:11 PM
To: CF-Talk
Subject: Re: Questi
What is a consumable?
Dwayne Cole, MS in MIS, MBA
Florida A&M University
Certified Advanced ColdFusion Developer
850-591-0212
"It can truly be said that nothing happens until there is vision. But it is equally true that a vision with no underlying sense of purpose, no calling, is just a good id
>Thanks Dave,
>
>But now I'm getting this error:
>
>coldfusion.runtime.Cast$ComplexByteArrayException: ByteArray objects cannot
>be converted to strings.
>
OK, I got that error before when I was using getAsBinary on a PDF. Not
really sure why I got the error because a PDF is technically a binary
Thanks Dave,
But now I'm getting this error:
coldfusion.runtime.Cast$ComplexByteArrayException: ByteArray objects cannot
be converted to strings.
-Original Message-
From: Dave Carabetta [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 12:53 PM
To: CF-Talk
Subject: Re: Usin
hey,
does anyone have ideas about how to cloodge the process of making a file writeable?
i thought about renaming it to itself or something...
thanks,
k
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
hey joe,
my read only approach works already... it is just trying to write that is the trouble now... ity appears that the syntax you gave me was the smae thing I did using cfobject.. also, a guy from a java posting said this:
"FilePermission is used in conjunction with SecurityManager and .policy
You wouldn't want to use "contains" for this. Contains doesn't look for the
whole string as a unit, just the piece. If you take your example and set a
it'll pass the because
pie "contains" ie.
-d
- Original Message -
From: "Mike Kear" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED
Thank you all very much :-) It is working like a champ!! I really
appreciate everyone's help!
Sincerely,
John
-Original Message-
From: Deanna Schneider [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 1:20 PM
To: CF-Talk
Subject: Re: Question about data validation (beginner)
Hi all:
I'm looking for a Java reference in PDF or chm format about the most
used packages and short examples.
I'd like to start develop some examples with CF MX 6.1 using java
classes. Just to start !!!
*in CFLib.org it's a good example how to implement zip features with
java.util.zip pack
How about something like this:
"pie,bar,line,pyramid,area,cone,curve,cylinder,step,scatter">
url.ChartType )>
Get lost you bum!
Chart stuff follows here because you have acceptable values.
Cheers,
Michael Kear
Windsor, NSW, Australia
AFP Webworks.
Hi All,
I was just reading this article on Macromedia's site:
http://www.macromedia.com/support/coldfusion/ts/documents/tn18336.htm,
and this may be a stupid question but how do I unblock ports on my
Windows server?
TIA,
Lee
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscrib
Hello.
I think you're on the right track. You could make this all "smaller" like
this:
url="">
addtoken="no">
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 1:15 PM
To: CF-Talk
Subject: Re: Question about data validation
Deanna,
On 11/18/2003 at 16:19, you wrote:
DS>
DS> listfindnocase("pie,bar,line,pyramid,area,cone,curve,cylinder,step,scatter",
url.charttype)>>
DS>
DS>
Or
listfindnocase("pie,bar,line,pyramid,area,cone,curve,cylinder,step,scatter",
url.charttype))>
~ Ubqtous ~
[Todays Threads]
[This M
Matt Robertson wrote:
>
> I searched the archives for 'smtp auth' and can't find the original and
> much more involved thread. The method the author was pushing is what
> Jochem is mentioning in his post. I've only heard one poster actually
> claim to have done it, and as you'll see the method h
Hi John,
So, any of the chart types are acceptable? You can probably just do this:
listfindnocase("pie,bar,line,pyramid,area,cone,curve,cylinder,step,scatter",
url.charttype)>
This assumes that you're only checking the charttype if the url.charttype
variable exists. If you want to make sure th
and yes i have been drinking, lol
bad spelling day
> look up the & tags, will work much ber than what ur
> doing.
>
> pluas u need to take those "or"'s out and use if u gunna do
> it taht way
>
>
>
>
>
>
>
>
>
>
>
>> I have a page which accepts several url variables. I want to make
>> sure
look up the & tags, will work much ber than what ur
doing.
pluas u need to take those "or"'s out and use if u gunna do it
taht way
> I have a page which accepts several url variables. I want to make sure
> if someone manipulated the url in the browser and set the value outside
> what is h
> Okay, so if I go with a two object model (grossly simplified, of course),
> then I have a "consumables" object as an attribute of my task object? Is
> that correct? So, if I instantiate a consumables object inside my task
> object, I can then call the method "getallConsumables" and get all the
>
I have a page which accepts several url variables. I want to make sure
if someone manipulated the url in the browser and set the value outside
what is handled by the page that this is handled.
I was thinking I could check for the existence of the url variable and
then if set check for the value n
>I'm trying to retrieve a pdf file that is from a virtual directory on the
>webserver using cfhttp... can anybody tell me what I'm doing wrong? All
>I'm
>getting back is something that starts out like this:
>
>%PDF-1.2 %â£Ó 6 0 obj << /Linearized 1 /O 8 /H [ 997 192 ] /L 11898 /E
>9167
>/N 2 /
Why do I get this error when I access the CF Admin?
Error Diagnostic Information
An error occurred while evaluating the _expression_:
request.expiration = duplicate(server.coldFusion.expiration)
Error near line 27, column 8.
Error resolving parameter SERVER.COLDFUSION.EXPIRATION
The object COL
So it looks like Flex is a JSP application 1st, and an ASP.NET 2nd...but
there's not any real mention of CFMX in the presentation. Hmmm...
Tyler
_
From: Mike Brunt [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 10:30 AM
To: CF-Talk
Subject: Macromedia launches Flex (Was
By default the file is writable, set to readonly.. if you require so.. wouldnt this work?
filePath = "C:\\Inetpub\wwwroot\mytest.txt";
jFile = createObject("Java","java.io.File");
jFile.init(filePath);
jFile.setReadOnly();// only if you require it to be ready only
Or
You can use FilePermis
I think my main problem is that I'm coming at this from a very
database-centric point of view. So, I'm having a hard time changing that
line of thinking.
Okay, so if I go with a two object model (grossly simplified, of course),
then I have a "consumables" object as an attribute of my task object?
The simplest fix to your posted code is to use the cfloop tag for at least
one of the queries. Cfloop tags can be nested.
SELECT fields_various
FROM table1
/cfquery>
SELECT columns_various
FROM table2
#fields_various#
#columns_various#
Now when you start to nest queries, the auto
Sure...see below:
>
> SELECT fields_various
> FROM table1
> /cfquery>
>
>
> SELECT columns_various
> FROM table2
>
>
>
>
>
> #fields_various#
>
>
> #columns_various#
>
>
>
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
True, and that's what I've been doing for, oh 5 years now...that other
stuff. ;)
-Deanna
- Original Message -
From: "Nick de Voil" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, November 18, 2003 1:54 PM
Subject: Re: SOT: OO Design
> Deanna
>
> > Okay, so I was fol
Replace one (or both) your with
-Original Message-
From: Tim Laureska [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 12:08 PM
To: CF-Talk
Subject: nesting output from 2 queries
If you have two different queries and you want to put the output of one
of those quer
Well, my first suggestion is to combine at least the first two loops. You
should be able to check for the breaks you want, while you are converting
the query to the array, and insert the blank rows at that time. This way,
you don't even need the ArrayInsertAt function.
Something like this.
If you have two different queries and you want to put the output of one
of those queries within the other, is that possible, if so how (group
processing doesn't appear to be an option)? Such as:
SELECT fields_various
FROM table1
/cfquery>
SELECT columns_various
FROM table2
#fields_various#
Deanna
> Okay, so I was following along, but then you throw this out there. Huh? I
> thought that we're all supposed to start "thinking OO" to fully leverage
> CFC's. Am I wrong here?
No, of course you're not wrong - but there's more to CF than CFC's :-)
Nick
[Todays Threads]
[This Message]
java.io.FilePermission
>From j2se/1.4.2 Javdocs: "Creates a new FilePermission object with the specified actions. path is the pathname of a file or directory, and actions contains a comma-separated list of the desired actions granted on the file or directory. Possible actions are "read", "write",
Holy crap, was that a long and remarkably well thought-out post.
> You would never dream (normally) of having an entity (hence table) to
> model a collection of items
Perhaps that's why I wasn't seeing what he meant. I'm so used to
objects being over here and relational stuff being over ther
--
M.Sc. Hassan Arteaga Rodríguez.
Microsoft Certified System Engineer.
Grupo de Desarrollo. DIGI
COPEXTEL, S.A
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
(sorry sent last message before it was finished)
Thanks Ian,
> What took me a little to get my head around, when I first learned Cold
> Fusion Arrays, is that, when you have a two dimension Array, it does
> not have to be a grid or table. It is more proper to visualize it as a
one
> dimension ar
> But to be honest, if I was using CF, OO design methodology would not be at
> the forefront of my mind.
Okay, so I was following along, but then you throw this out there. Huh? I
thought that we're all supposed to start "thinking OO" to fully leverage
CFC's. Am I wrong here?
-Deanna, procedural a
> I'm not sure how 3 objects makes this any more likely than 2 objects.
I think Dwayne is referring to the fact that, once you've gone beyond having
one table or object class to model each real-world "thing", the criteria you
apply in each method for discovering your other artefacts are quite
diff
Thanks Ian,
- Original Message -
From: "Ian Skinner" <[EMAIL PROTECTED]>
Sent: Monday, November 17, 2003 11:06 PM
Subject: Re: Inserting rows into a 2d array
> What took me a little to get my head around, when I first learned Cold
Fusion Arrays, is that,
> when you have a two dimension A
I moved an application from CF5 to MX 6.1 and I wanted to convert the
existing MS access 2000 db from the std driver to the new access Unicode
driver (for current and future compatibility). When I place the UTF-8 tags
in where everyone suggests (in the application.cfm) and the
tag on each page, th
I'm not sure how 3 objects makes this any more likely than 2 objects.
Am I missing something?
--Ben Doom
Dwayne Cole wrote:
> If you use 3 objects you might run into a conceptual trap. You will
> begin designing objects as if they were tables and that can be
> problem. I don't know what the
At a guess, have a look at the Permission class, sounds like it might be of
some use.
Ade
-Original Message-
From: Kyle McNamara [mailto:[EMAIL PROTECTED]
Sent: 18 November 2003 16:03
To: CF-Talk
Subject: java in CFMX question
I am doing this now before any time they try to open the fi
Hi,
Is it possible to create a "treeview" structure using
+ dir1
+ dir2
+ dir3
+ dir4
Click on "dir2"
+ dir2
+ subdir1
+ subdir2
file1
file1
file1
I've done something similar using
Pleasesomeone help George Bush!
[Todays Threads]
[This Message]
[Subscript
If you use 3 objects you might run into a conceptual trap. You will begin designing objects as if they were tables and that can be problem. I don't know what they are, but I do know that there are conflicts with OO and Relational Theory. THere has be alot written about incompatiblity between the
I'm trying to retrieve a pdf file that is from a virtual directory on the
webserver using cfhttp... can anybody tell me what I'm doing wrong? All I'm
getting back is something that starts out like this:
%PDF-1.2 %â£Ó 6 0 obj << /Linearized 1 /O 8 /H [ 997 192 ] /L 11898 /E 9167
/N 2 /T 11661
>>>CFMAIL does require an open relay to send out email
>>Just to clarify, CFMAIL doesn't need an open relay
>You're still allowing relaying in this case from a single (preferably)
non-routeable IP address.
Correct, but its not an *open* relay. :-)
>Could you point me to the SMTP AUTH discussion?
Matt,
Could you point me to the SMTP AUTH discussion? I'd like to see how others approach using CFMAIL in this way.
Matt also wrote:
>The CF server's IP needs to be acceptable to an otherwise locked down
>mail server.
You're still allowing relaying in this case from a single (preferably) non-rou
Another update - I just love when my posts turn into my own personal
error log :-).
For anyone keeping track, I reduced the number of records in the
pollster application down to 10 from about 1700, and I am still getting
the error, so the problem isn't volume. I'll keep looking, and I won't
post
Just a follow up - I migrated my MS Access database to SQL Server, and
am still getting the exact same issue.
Also, I removed the poll from the site until this problem could be
resolved, so the referring url below is useless. However, you can still
see the poll at www.ioc.state.il.us/polltest2.cfm
I am doing this now before any time they try to open the file:
newAttribute = jFile.init('filenameher');
newAttribute.setReadOnly();
...which seems to be working well.
The only thing is, ther are certain times I need to make it writeable too... when researcfing the FILE class at I notic
Jeremy Brodie wrote:
>CFMAIL does require an open relay to send out email
Just to clarify, CFMAIL doesn't need an open relay. On pre-MX systems,
The CF server's IP needs to be acceptable to an otherwise locked down
mail server. This can and commonly is easily done with Imail. If
you're using a
I'm generating an XML document in Flash and using xml.send() to pass it to
ColdFusion to be saved to the server's file system.
In flash I have a form that the user fills out, and that information is used
to populate the XML object. When I trace the finished XML object in Flash it
shows that apostr
Hi,
More often than not, I am receiving an error on the Flash Poll provided
by Macromedia in one of their more recent DevNet Subscription releases.
The error is in a CFC that has an SQL statement that aggregates the
responses and dumps them into the poll. The line the logs point to is
the one occu
Yah, I'd read that already. The MachII stuff is interesting, but it doesn't
really answer my design questions. In fact, it generally makes more
questions for me. But, maybe that's just how my head works. ;)
-Deanna
- Original Message -
From: "Mike Brunt" <[EMAIL PROTECTED]>
To: "CF-Talk"
Just starting using CF to generate pdf's using itext. I have it so that it's
hitting a CF page that displays nested tables(3 columns with a user defined
number of tables(through includes) in each column), but itext doesn't seem to
be able to parse nested tables. I tried real quick to play with di
A native data type like a ColdFusion structure or array will be much faster
than a component. Additionally, in writing your own component, you will
introduce complexity and, as a result, more opportunity for bugs. So, in
general, I'd say use a native data type unless you specifically need a
feature
Aren't both part of the same business object, eg Task? For this task, you
probably need to perform a number of actions or methods, such as
Set's and Gets for:
-Task Name
-Description
-Due Date
.
You also need to be able to manage resources needed to complete a task. The 2
First, I wouldn't use an array. If you build a big array (say, 1024)
you waste a lot of space if most tasks have 3 consumables. If you build
it too small, it's too small. :-) Linked list is the way to go here.
As to how to break up your objects
If you use ConsumableLists in places other
Deanna,
I am not sure that there is one answer. It depends on your specific usage.
I used a concept of SnapShots to figure out for each of my classes what
methods where needed. This helped me separate out how I would like it to work
and how it actually would work.
I started with a basic descri
Got Head First Java at the weekend (good recommendation Hal :-)
If you haven't got it, get it... it's funny and although I have only
been able to flick through it at the moment.
It's done a lot more to help me get my head round OO stuff than getting
Core Servlets and JavaServer Pages (JSP) Book I
That's what I'm wondering if I should do, yes. Or, if it works better to
just have the two objects, with the task object having an array of
consumable objects.
-d
- Original Message -
From: "Dwayne Cole" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, November 18, 200
Deanna, one thing I have found helpful in thinking more in OO style terms
with CFMX is the Mach-II framework, which evolved around the OO concepts
afforded by CFMX. There is a good insight in this article by Sean Corfield,
which analyzes a sample app created to demonstrate Mach-II.
http://www.web
So are you thinking of creating three objects: a task object, a consumable object, consumableList object that acts like a associative entity?
Dwayne Cole, MS in MIS, MBA
Florida A&M University
Certified Advanced ColdFusion Developer
850-591-0212
"It can truly be said that nothing happens unt
Thanks, just found that.
-Original Message-
From: Pascal Peters [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 9:38 AM
To: CF-Talk
Subject: RE: CF & JS Issue
JSStringFormat()
-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PROTECTED]
Sent: dinsdag 18 novemb
JSStringFormat()
-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PROTECTED]
Sent: dinsdag 18 november 2003 15:26
To: CF-Talk
Subject: CF & JS Issue
I have a textarea on my form and it accepts users comments. I am using
qForms to set the values of my form fields once the page loa
I have a textarea on my form and it accepts users comments. I am using
qForms to set the values of my form fields once the page loads which works
ok... Except if the text to populate the textarea has characters that need
to be escaped. When those characters are encountered the string is broken
and
Hi Folks,
I'm trying to get my head around OO design for CF and I have a ton of
questions, of course. I'll try to keep them limited, as they're sort of
off-topic (though not entirely, because whatever I have to design I have to
build in CF).
Here's my first basic question:
When you're designing an
That's it! Thanks :-)
-Original Message-
From: Heald, Tim [mailto:[EMAIL PROTECTED]
Sent: mardi 18 novembre 2003 15:19
To: CF-Talk
Subject: RE: in cfscript???
You use the arguments array's length to determine how many arguments you
have. When writing functions in CF script the arguments
You use the arguments array's length to determine how many arguments you
have. When writing functions in CF script the arguments have to be in
order, first the required attributes, and then the optional ones, so
something like this:
function checkName(cFirstName){
if(arrayLen(arguments) gt
You can use the arguments structure for non required arguments
function fctFoo(){
var sFoo = "defaultValue";
if(ArrayLen(arguments) GE 1) sFoo = arguments[1];
}
-Original Message-
From: BOUDOT Christian [mailto:[EMAIL PROTECTED]
Sent: dinsdag 18 november 2003 15:09
To: CF-Talk
Hi Folks,
Is there any equivalence for the required attribute when the function is
written with ?
function fctFoo(sFoo){
}
thx
Chris
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
I'm using cfcontent to serve up a file not in the wwwroot folder of my site.
I also have a script that emails me every time an error occurs on the site.
This is the code used to serve out the file:
This works well except for one thing -- if I cancel the file download, I
receive an error emai
>From an anti-spam perspective, there is no such thing as a "purchased opt-in
list" Usage of such a mail list is a sure route to becoming listed on
blacklists.
==
Stop spam on your domain, use our gateway!
For hosting solutions http://www.clickdoug.com
Featuri
Oh another suggestion...
In the BIOS there is probably a setting that allows you to say whether
you will be installing a Plug-and-Play OS on the machine. Try setting
this to NO. This means that the M/B and BIOS will get its claws into
the IRQ settings etc. rather than letting Windows atte
Hi,
The CF code below displays directories/files on D: drive on the server using .
I have an app where I want to FTP into the server and list directories/files the same way. I'm not sure how to incorporate
Can someone give me a hand?
Thanks
Directory Listing
.dlinks {font-family:arial,
Good call.
I used to buy cheaper memory all the time (eBay, etc..) but after having so
many issues I just buy the good stuff when its on sale at newegg.com or
amazon... Kingston usually. I am running a 2400+ as well :-)
-Original Message-
From: Stephen Moretti [mailto:[EMAIL PROTECTED]
1 - 100 of 115 matches
Mail list logo