This is a great article.
I'm still waiting for the article that compares .Net framework/asp.net, Java J2EE/jsp,
and CFMX.
I have gotten deep into .net yet, but all of the good stuff I hear about it reminds me
a whole lot of java and cf. CFMX
is sounding a whole lot like java as well.
I'd
This most likely won't work because of the client's security settings. Sometimes, in
outlook express I'll send web
pages to coworkers for proofs. The pages that contain any sort of flash content
doesn't work because of security.
If somebody could get around that, then it'd probably work just
Couldn't you do something like this? (not exact code)
cftry
cfquery datasource=#DoesThisExist#
select * from table where 1 = 2
/cfquery
cfcatch type=Database
Something broker
/cfcatch
/cftry
Just an idea.
E
- Original Message -
From: Stan Winchester
I'm sure you would have come up with it. If this is cf 4x, you could use BenForta's
connection tag that does a reg
query and find the currently created dsns. I wish I knew what that was called.
- Original Message -
From: Stan Winchester [EMAIL PROTECTED]
CF Dude,
I should have
I consider the right query as an obvious, but now I do have another question.
What would happen if, in this scenario, you just used an empty cfquery tag?
EG :
cftry
cfquery datasource=#doesThisExist# /cfquery
cfcatch type=database
What would happen if no query was
That makes sense.
- Original Message -
From: Jim Davis [EMAIL PROTECTED]
You get a no SQL specificied error - CF won't try to make a connection for no reason.
Jim Davis
~|
Archives:
I'm not sure why it would be an obvious - are you talking about a specific database
with known tables, or just an
unknown datasource?
Yes. I really can't imagine anybody building a web app that will give a user the
option of connecting to some random
unknown datasource. Know what I mean? I
I've got a calendar question.
What sort of functionality do most people want in a web based calendar app?
Whenever somebody brings up calendars that they've built, there is always at least a
handful of people who want the
code. I've built several calendar apps in different languages, but I'm
Have you tried using MOD instead of %?
- Original Message -
From: Gabriel Robichaud [EMAIL PROTECTED]
and i want to use the modulus operator (or modulo, dont know what to
call it in english) so i can get the remainder. I dont know what the
operator is for cfscript. obvious answer is
Webguy,
This is great feedback. I will take note of this.
I'd love for any other feedback that may be lingering.
E
- Original Message -
From: webguy [EMAIL PROTECTED]
A good basis of a calendar design is iCal, this is what my current calendar
is based on. There is a fairly easy
What about those of us in Canada? What are we, chopped liver? :)
I guess it depends who you ask, heh?
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
Michael,
Just wanted to touch base and let you know I just finished my last contract and I'm
ready to work if you're still in
need of a cold fusion programmer.
Eric
~|
Archives:
sorry, wrong address
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ:
Ok, first off, that article was written years ago. Although there are probably more
flash animations online than back
then, Flash has still made leaps and bounds of progress.
Secondly, how much DHTML have you done? Now, how much cross browser DHTML have you
done? How much database driven
Well, call me old school, but I find these sites annoying and difficult to use. It
is my firm opinion that the vast
majority of web users do not care for this stuff. It is meant to impress developers,
techies and managers but it is
hopelessly unfriendly to the majority of users who simply want
Really? Name just one UI component/paradigm that is possible in Flash that isn't
possible in DHTML.
The point I was making was that you can't take the EXACT same code from a DHTML app
and run it in all of the browsers
that support flash. With flash you can.
E
The subject was UI though.
I thought the topic was Is flash really that good and Flash is evil, not flash
doesn't look good.
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
I could write a script that onKeyUp change the contents of an html widget fairly
Hmm. I tried the following code in IE6, MOZ1.1, and Opera6 and it didn't work in Opera6
input type=Text name=test onkeyup=alert('yo');
Flash will work in all 3 browsers.
DHTML - 0
FLASH - 1
E
But - everyone just started tossing around cool and pretty sites -
2advanced etc, estudio, ego - I think these are typical of the 2000 to
2002 era.. certainly graphically inspiring - but an odd url to post for
if flash is that good - the demos don't show flash being used other
than pretty
Safari
I wish I had a MAC to test this, but I don't.
Opera + new Macromedia website???
On a pc, I went and only had a problem because I had JS turned off. File / enable
Javascript got me going.
I thought we were talking about flash
E
Search the archives for the complaints. The site has been changed after
that and some progress has been made on making Flash work all the way on
Opera and Safari, but when the Macromedia site was launched it was
pretty much IE and Mozilla/Netscape only.
I was not aware of that. I still think
F*( the customer. We're not talking about customers.
Yikes! Do you develop business-related web apps? If so, double yikes!
I'll stand by what I said, but only in this context only.
Unfortunately, too many people see simple uses for flash, and not the good uses.
Again, yikes! Simple vs.
FMX also supports a limited amount HTML text in the movies.
E
- Original Message -
From: Mike Chambers [EMAIL PROTECTED]
I just want to make sure that everyone understands:
You can have blue links in Flash.
mike chambers
How do you miss a feature that was never there?
I agree though. I wish you could have custom context menus as well.
E
- Original Message -
From: Stephenie Hamilton [EMAIL PROTECTED]
That is fine and all, but what I really miss in flash is the ability to
right click -- open in new
People are really, really confused about what Flash can do if you have to say this.
You are correct. However, this is a CF forum, and not a flash forum.
E
FLASH RULES
~|
Archives:
You can control your right click behavior in DHTML, you are forced to see those menus
in Flash.
Custom Context Menu
-
DHTML - 1
FLASH - 0
~|
Archives:
Yeah, but so much of what Flash can do is tied into CF it is appropriate to comment
on it here.
Well, maybe Flash Remoting / FMX and CFMX.
I would disagree that what Flash can do and CF can do are tied together. Just
differing technologies.
I think most people are used to seeing flash
I am realtively new to Cold Fusion, but I know in ASP you can do something with a
session variable.
I hate to break it to you, but the session object in ASP uses cookies also.
E
~|
Archives:
I'm not sure what you're looking to do, but have you tried setting the precision at
all?
float and real
Approximate number data types for use with floating point numeric data. Floating point
data is approximate; not all
values in the data type range can be precisely represented.
Syntax
float [
Back in the 4.5 days I thought about using CFFILE to run telnet commands. Is this
still a possibility?
E
- Original Message -
From: Jim McAtee [EMAIL PROTECTED]
Has anyone here implemented or heard of a telnet client written in CF (v5 or
earlier)? I've got some telnet controlled
I haven't queries the AD, but I have queried MSExch before. Hopefully the article, or
links on this page will shed some
light.
http://www.cfcomet.com/exchange_server/
E
- Original Message -
From: Shahzad.Butt [EMAIL PROTECTED]
How can I query MS Active Directory and get a list of
Does anybody have any web based bug tracking suggestions?
E
- Original Message -
From: Charlie Griefer [EMAIL PROTECTED]
check out iTeamwork.com. Fairly basic (not overly complex)...and free :)
charlie
~|
Archives:
This is from the tSql BOL, so I don't know if this will work w/Access or not.
CAST ( expression AS data_type )
E
- Original Message -
From: Matthew Small [EMAIL PROTECTED]
Hi everyone -
I need to be able to convert both a datetime field and an
integer field to strings in a query
You could create a SPROC to do it like this.
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE PROCEDURE getDescriptions()
AS
SET NOCOUNT ON
SELECT DISTINCT
description
FROM vct
WHERE description
NOT IN (
'ANISE', 'APPLES', 'ASPARAGUS', 'BEETS', 'BROCCOLI'
)
ORDER BY
I've got a question about CFMX and connections to datasources.
It seems that CF5 was able to connect even more than previous versions. Now I'm
starting to get the feeling that CFMX
can only connect to datasources that Java can connect to.
Can anybody clear this up for me?
I was all excited
DSN-less connections aren't directly supported in CFMX; apparently, either
they aren't supported in JDBC at all
I know for a fact that DSN-less connections are in fact supported by JSP, but I really
can't comment on CFMX yet. I've
noticed a lot of posts about people having connection issues
msSql2k does have built in XML capabilities. Just search from XML in the BOL.
Eric
- Original Message -
From: Shawn Regan [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, June 09, 2003 3:59 PM
Subject: RE: SQLXML
As far as I know you don't even need Soap, At least with
Is there a way to do multiple values per case statement when doing a switch inside of
a cfscript tag?
cfscript
switch (iAnsType){
case 6 :
sAnswer = Replace(sAnswer, ,, |, ALL);
case 7 :
sAnswer = Replace(sAnswer, ,, |, ALL);
}
/cfscript
EG, I was hoping to do this
Thanks.
- Original Message -
From: Philip Arnold [EMAIL PROTECTED]
Also, don't forget to put a break; after your code in the case
So, it should be;
cfscript
switch (iAnsType){
case 6 :
case 7 :
{sAnswer = Replace(sAnswer, ,, |, ALL);
break;
}
}
Here's how I've done it before
!--- Insert your query code ---
cfsavecontent variable=csvText
!--- Insert your loop code to generate your text ---
/cfsavecontent
cftry
cffile action=WRITE file=#csvPath# output=#csvText# addnewline=No
a href=csv/#csvName# title=Download your csv
Have you checked out http://www.cfcomet.com/ yet?
E
- Original Message -
From: Cassidy Symons [EMAIL PROTECTED]
I'm looking for suggestions on the most efficient to write an XLS file via
ColdFusion. I've tried COM objects (not stable enough for regular use),
HTML tables being read
That should work assuming your datatypes work together.
HEre's another example
'The price is ' + CAST(price AS varchar(12))
You may need to break out CONVERT() instead of CAST()
E
- Original Message -
From: Cantrell, Adam [EMAIL PROTECTED]
What's the operator for string
So I haven't done a lot of work w/MX yet, and only a little w/.Net.
Are CFMX CFCs the equivalent of .Net's controls?
E
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
I connect to .xls files from asp from time to time, and here is the connect string
that I use
DBQ=c:\dir\file.xls;DRIVER={Microsoft Excel Driver (*.xls)};
As far as the ISAM driver error, I'd just double check that you're running the latest
MDAC (if that applies here)
E
- Original
I forgot about this question
Secondly, once I connect successfully - what do I use to query with? Is it
sheet1 or workbook1.sheet1 or ... what? Any clues are helpful. Thanks!
When I'm connecting from ASP I just run queries like it's a sql table.
where table = Excel Named range
Eric
]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 4:52 PM
Subject: RE: Dynamic connection to an excel file.
Dude,
How do I define a named excel range?
-mk
-Original Message-
From: CF Dude [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 3:10 PM
To: CF-Talk
Subject: Re
Store the info in a db.
If you want to do this in XML you'll most likely need to get into XSL or XSLT to
transform your xml into html.
I haven't done anything w/xForms yet so that may be a possibility.
Eric
- Original Message -
From: Michael Tangorre [EMAIL PROTECTED]
I have an
I wrote a simple email parser a while back and instead of the CHR(13) or CHR(10), I
used space as my delimiter.
Then what I did was look for the @ in each line. If the @ existed, I put it into my
list, if it didn't, I ignored that
line.
Just a suggestion
Eric
- Original Message -
Here's how I did this in the past, but it was in other web langs
1.Set block of emails into sText var
2.Split sText into array using ' ' space as delimiter
3.Loop through array
4.Check each key in array for existence of @
5.Append each key w/@ in it to newEmailArray or newEmailList
6.Loop through
Aren't there any string functions that would take a string and parse out an e-mail
address?
I'm not aware of any parseEmail() functions that are built in, but this is just a
standard text parsing task.
I don't know how to deal with arrays!
Sounds like you need to get your learn on!
E$
a href=javascript:history.go(-2);go back 2/a
- Original Message -
From: Kris Pilles [EMAIL PROTECTED]
Is there away to make the back button do history -2 instead of -1 on
certain pages... I am trying to bypass a form post page to return my
users to where they origiannlly came from...
This wouldn't happen to have anything to do with the breakpoints or selected text
indexes set in cfStudio does it?
Eric
- Original Message -
From: Richard Crawford [EMAIL PROTECTED]
I received this error when browsing to a .cfm page that had previously
worked (I had made one slight
What is cold fusion exactly?
MM's site can give you a better definition, but I always tell people that Cold Fusion
is another server side web
language just like ASP, PHP, JSP, etc. Granted, if you get granular it's not 'just
like' the others, but IMO it was
created to solve the same web
Haven't tested, but how about this?
cftry
cffile action=READ file=x:\your\path\yourFile.ext variable=sFile
!--- I could read your file ---
cfcatch type=Any
OOPS, I couldn't read your file
/cfcatch
/cftry
- Original Message -
From: Paige Chandler [EMAIL PROTECTED]
Hello All,
Designing a calendar can be tricky. Then displaying records based on a date column in
a calendar can be at least twice
as tricky depending on how you want to display them.
Here's one that I've built in the past in ASP that connected to a db
George,
I have done two things relating to Excel and CF/ASP.
1.Write results to .csv file and then import into XL. This one is pretty simple.
A.Run query
B.Use CFSAVECONTENT to store the contents of your csv file
C.Use CFFILE to write the contents to a .csv file
2.Use the XL
#TRIM(sText)# should do the trick
Or cfset newText = TRIM(sText)
E
- Original Message -
From: [EMAIL PROTECTED]
Hi, thanks for both your replies. Matthew, I've not tried yours yet but will do
later, esp as you're a kiwi :)
CF Dude, yours nearly works - except
Oliver,
I am currently doing the ASP thing as well and I highly suggest you do not pass go
without first going here
http://www.microsoft.com/downloads/details.aspx?FamilyId=01592C48-207D-4BE1-8A76-1C4099D7BBB9displaylang=en
and downloading scrdoc56en.exe. The documentation it will install is
It's been a while since my JSP days, but I know for a fact that you can do DSN-less
connections from JSP. I'm having a
hard time finding my code but this page may offer some assistance
http://forum.java.sun.com/thread.jsp?forum=48thread=137157message=369435
E
- Original Message -
If I'm reading this correctly, you've got sText and you want to get sPart1 and sPart2
where your delimiter will always
be nbsp;
If you will always have that same delimiter, you can split sText into an array using
ListToArray(list [, delimiter ])
EX :
cfset sText = Green Acres nbsp; USA
cfset
Sun of beach!!
There's got to be a way to split it up using nbsp; as a literal.
E
- Original Message -
From: Matthew Walker [EMAIL PROTECTED]
ListToArray(sText , nbsp;) would make , n, b, s, p, and ;
all delimiters.
This works.
cfset sText = Green Acres nbsp; USA
cfset sNewText = Replace(sText, nbsp;, |)
cfset vText = ListToArray(sNewText , |)
#ArrayLen(vText)#br
#vText[1]#br
#vText[2]#br
- Original Message -
From: Matthew Walker [EMAIL PROTECTED]
ListToArray(sText , nbsp;) would make , n,
Does ORA sprocs even support arrays? I know msSql server doesn't.
E
- Original Message -
From: BOUDOT, Christian [EMAIL PROTECTED]
Hi,
Does anyone know how to pass a Cold Fusion Array (2 dimension) to an Oracle
stored procedure?
Many Thanks
I don't understand why you would decide to XHTML-ize your cftags when cftags are
server side.
EG :
br / is client side and is xhtml
cfset foo = bar = cfset foo = bar / with the exception being you are typing
more than you need to.
Did I misunderstand the original post?
Eric
Oh yeah,
I certainly agree with that, but I still find it to be un-needed. Especially if you
are able to seperate most of your
CF code from your xHtml code. Just my two cents
E
- Original Message -
From: Sean A Corfield [EMAIL PROTECTED]
So that the mix of HTML and CFML in your source file
65 matches
Mail list logo