Need Help Writing a Query

2002-10-11 Thread Paul Cook

Hey Im hoping somone here can help me out...

Heres what Im trying to do:

I have in the Results table the email addresses of prospects and the dates they 
signeed onto the list,
In tblFollowUpEmails I have a message that will go out so many days 
(followUpEmailDelay) after signing up

what im getting at is can someone help me put this together into one query that will 
pull out the results
based on the automated responce that they should get for that day. 

Below has the logic, but how can I make this work as one query any help is 
apretiated...

Thanks

-Pual



cfquery name=qs_GetFollowUps datasource=#dsn#
SELECT  FollowUpEmailID, CustomerID, FollowUpEmailDelay, FollowUpEmailSubject, 
FollowUpEmailMessage, FollowUpEmailTitle, ocid
FROM tblFollowUpEmails
/cfquery
cfoutput query=qs_GetFollowUps
cfset adjustedDate=#DateAdd(d, -#FollowUpEmailDelay#, #DateFormat(Now())#)#
cfquery name=qs_GetResultEmail datasource=#dsn#
SELECT  rid, ocid, email, date
FROM Results
WHERE (Email  'remove') and (ocid='#ocid#') and (date=#createodbcdate(adjustedDate)#)
/cfquery
/cfoutput

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Re: Footer at Bottom

2002-10-11 Thread Jann VanOver

Dynamic HTML can do this.  I did an MSN search for Floating javascript
text and found:
http://javascript.internet.com/navigation/floating-menu.html and
http://javascript.internet.com/page-details/floating-link.html


On 10/3/02 5:11 AM, Stephen Moretti [EMAIL PROTECTED] wrote:

 Displaying page at end of each request is not a problem, its already
 doing that. But what I want is display at bottom of screen. Currently
 what it is doing is something like that
 
 
 You're talking about something like the nasty floating thing that you get
 when you go a geocities website, except instead of displaying it on the
 right, you want it at the bottom of the browser window, right??
 
 Stephen
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Re: CFX not allowed

2002-10-11 Thread Jochem van Dieten

Jared Clinton wrote:
 
 Mr. Parker wouldn't need to use a CFX if he was using CFMX.  Java has zip util 
functionality in its standard libraries.

But still only on a dedicated host, because cfobject and CreateObject() 
should not be allowed in a shared environment.

Jochem

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Re: Recommendations - Java tutorials

2002-10-11 Thread Jon Hall

IBM's are the best. I must have read a thousand books, tutorials
trying to cram the concept of objects into my head, then I read their
java basics tutorial and it all clicked.
http://www-105.ibm.com/developerworks/education.nsf/dw/java-onlinecourse-bytitle

-- 
jon
mailto:[EMAIL PROTECTED]

Friday, October 11, 2002, 9:39:37 AM, you wrote:

BD Where can I locate some good Java tutorials that step through building basic
BD classes and applets?  I've been working with some from java.sun.com.

BD Thanks,
BD Dave

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



TANE OAKES/QVCUK is out of the office.

2002-10-11 Thread TANE_OAKES

I will be out of the office from 11/10/2002 until 18/10/2002.

I will respond to your message when I return.




RE: CFMX.. Wont!

2002-10-11 Thread Lee Fuller

Ok.. Did a full reinstall of CFMX. Seemed to give me back CFM files now,
and the default site runs normally.  And yep.. Did modify Jrun.xml file
for multi-homing.

However, other sites (while delivering CFM files) is not parsing CF
code.  So, did the following:

- Ran ../connectors/remove_all_connectors.bat file, and
successfully removed the connectors.
- Ran ../connectors/IIS_connector.bat file, no errors.. Seemed
to go fine.

Nothing different.

- Ran ../connectors/remove_all_connectors.bat, successfully
removed the connectors.
- Ran ../bin/wsconfig.exe, added  ALL connectors to IIS.

Nothing different.

Now pulling on teeth.  Hair ran out long ago.



| -Original Message-
| From: Dave Wilson [mailto:[EMAIL PROTECTED]] 
| Sent: Friday, October 11, 2002 5:10 AM
| To: CF-Talk
| Subject: RE: CFMX.. Wont!
| 
| 
| Just checked back to the list after a couple days rest. I see 
| you're still having problems with cfmx Lee ;)
| 
| Have you manually run the wsconfig.jar utility and edited the 
| jrun.xml file accordingly to support virtual hosts? I'm 
| presuming it's the virtual hosts that are lacking the ability 
| to serve cfm files(?)
| 
| If it's any consolation. All of my prior install, cfm 
| serving, jdbc woes were (temporarily) solved by taking the 
| fresh server OS install route. I say temporarily because 
| there are still the problems relating to the jdbc driver, 
| which I have been told by a friendly Java guy is mostly down 
| to M$. My java friend recommends trying to get a type 4 jdbc 
| 3 driver from a third party.
| 
| Let me know offlist if you need help with the wsconfig and 
| jrun.xml stuff above.
| 
| Dave
| 
| 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: CFMX.. Wont!

2002-10-11 Thread Dave Wilson

Lee,

I have a machine which is still in the exact same state as you describe,
after having gone through all the steps you describe too. I've given up on
it as I had the option available to start with a new machine...fresh win2k
server install etc. just upgraded the JRE to 1.402 and this seems to have
even solved some of my jdbc woes too. Although JDBC was working fine on the
new installed machine, it still couldnt connect to remote machines with SQL
7. Now it can. So I'm a little happier.

I'd strongly advise a ground up OS, CF install for you if you have the
option.

I know this doesn't help solve your current problem, but it will help get
you back into a more productive state having a working server to
develop/deploy.

Dave

-Original Message-
From: Lee Fuller [mailto:[EMAIL PROTECTED]]
Sent: 11 October 2002 14:57
To: CF-Talk
Subject: RE: CFMX.. Wont!


Ok.. Did a full reinstall of CFMX. Seemed to give me back CFM files now,
and the default site runs normally.  And yep.. Did modify Jrun.xml file
for multi-homing.

However, other sites (while delivering CFM files) is not parsing CF
code.  So, did the following:

- Ran ../connectors/remove_all_connectors.bat file, and
successfully removed the connectors.
- Ran ../connectors/IIS_connector.bat file, no errors.. Seemed
to go fine.

Nothing different.

- Ran ../connectors/remove_all_connectors.bat, successfully
removed the connectors.
- Ran ../bin/wsconfig.exe, added  ALL connectors to IIS.

Nothing different.

Now pulling on teeth.  Hair ran out long ago.



| -Original Message-
| From: Dave Wilson [mailto:[EMAIL PROTECTED]]
| Sent: Friday, October 11, 2002 5:10 AM
| To: CF-Talk
| Subject: RE: CFMX.. Wont!
|
|
| Just checked back to the list after a couple days rest. I see
| you're still having problems with cfmx Lee ;)
|
| Have you manually run the wsconfig.jar utility and edited the
| jrun.xml file accordingly to support virtual hosts? I'm
| presuming it's the virtual hosts that are lacking the ability
| to serve cfm files(?)
|
| If it's any consolation. All of my prior install, cfm
| serving, jdbc woes were (temporarily) solved by taking the
| fresh server OS install route. I say temporarily because
| there are still the problems relating to the jdbc driver,
| which I have been told by a friendly Java guy is mostly down
| to M$. My java friend recommends trying to get a type 4 jdbc
| 3 driver from a third party.
|
| Let me know offlist if you need help with the wsconfig and
| jrun.xml stuff above.
|
| Dave
|
|

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: Recommendations - Java tutorials

2002-10-11 Thread Adams, Stephen

**
WESTMINSTER CITY COUNCIL
Please refer to the disclaimer beneath this message
**

Some good ones I've found are JavaWorld (www.javaworld.com) Java 101 series
and try JavaRanch (www.javaranch.com)

-Original Message-
From: Jon Hall [mailto:[EMAIL PROTECTED]]
Sent: 11 October 2002 14:52
To: CF-Talk
Subject: Re: Recommendations - Java tutorials


IBM's are the best. I must have read a thousand books, tutorials
trying to cram the concept of objects into my head, then I read their
java basics tutorial and it all clicked.
http://www-105.ibm.com/developerworks/education.nsf/dw/java-onlinecourse-byt
itle

-- 
jon
mailto:[EMAIL PROTECTED]

Friday, October 11, 2002, 9:39:37 AM, you wrote:

BD Where can I locate some good Java tutorials that step through building
basic
BD classes and applets?  I've been working with some from java.sun.com.

BD Thanks,
BD Dave


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: Wrapping text

2002-10-11 Thread Raymond Camden

Don't forget you can take a UDF and rewrite it as a custom tag.
Therefore, I'd consider using one of the solutions from cflib.org.

===
Raymond Camden, ColdFusion Jedi Master for Hire

Email: [EMAIL PROTECTED]
WWW  : www.camdenfamily.com/morpheus
Yahoo IM : morpheus

My ally is the Force, and a powerful ally it is. - Yoda 

 -Original Message-
 From: Everett, Al [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, October 11, 2002 9:01 AM
 To: CF-Talk
 Subject: Wrapping text
 
 
 Anybody have a code snippet to hand that takes a string and 
 width (integer)
 and inserts line-breaks between whole words to keep the 
 character count per
 line to the width or less? Unfortunately, a UDF is not a 
 viable option for
 me at this time.
 
 
 -- 
 Al Everett
 Allied Office Products
 www.askallied.com
 mailto:[EMAIL PROTECTED]
 v: 973-594-3209
 f: 973-594-3626
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: 2nd question - Run MX as nobody?

2002-10-11 Thread Jesse Noller

 Inside the script, for Unixes, we perform an su -u $user -c
 
 Isn't that 'install and run as a given user', which I thought you said you
 didn't want to do ?

No. That's install as root, start as root, and as root when Su'ing to a given user 
with less than root privs. This means that when you execute the script the command 
syntax is:

Root: execute script
Root: run command su $RUNTIME_USER -s /bin/sh -c COMMAND

After that, the process is started as $RUNTIME_USER and root exits because we used 
nohup to fork off as a daemon.

However...

Solaris *DOES NOT* support -s /bin/sh when running su. Therefor, the command 
executed looks like:

su $RUNTIME_USER -c COMMAND

Therefore, the user needs a shell. 

The difference between this, and the JRun scenario is that I would need to login and 
install JRun as the NOBODY user, and start it manually as NOBODY. I don't get a script 
that attempts to bypass it.

 Uh huh, and so it must run with the priv's of the Jrun user, which should
 have as little permissions as possible ? Why does Jrun require a shell is
 the next question I guess...

.. See above. 

 It is. The correct method is to start as a priviledged user, bind to port
 80
 (or whatever), then drop priv's and fork 'nobody' children. This is how
 sshd
 works, for instance.
 If Jrun does not behave like this, and so coldfusion does not behave like
 this, then fine, we should go shout at the Jrun people :-)
 

Yeah, SSHD, Apache, everyone else is also written in C++ and run SUID. Re-read my 
previous posts on why this was not an option. 


 Which sounds like a sane plan. It's just some people have got this very
 tight requirement.
 I suppose they could just create an account that was functionaly
 equivalent
 to not having an account, demonstrate that, and use that account maybe ?

Yes, they have a tight requirement. I am examining the situation.

 (to all) What about using sudo instead ?
 We're only running MX on an IIS test bed, atm, otherwise I'd go and thrash
 it myself :-)

SUDO has the same problem. We can't have the script prompt for a password, and the 
command STILL needs a valid target shell to run.

You *NEED* a shell to run a command. 

-Jesse Noller
MAcromedia
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: To CFMX, or to PHP or JSP?

2002-10-11 Thread Greg Bullough

At 09:38 AM 10/11/02 -0400, Matt Liotta wrote:
Without directly addressing the spirit of your question, let me make an
observation. You don't have to choose Java/JSP over CF.

Oh, agreed. However, the question is not so much of which
language, Java/JSP or CFML appeals most to my soul but
rather of whether, in the current business climate, I find it
to be worth-while to continue doing business with Macromedia.

Greg

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Re: Page Expires

2002-10-11 Thread Zac Spitzer

Everett, Al wrote:
 This is what I use:
 
   CFHEADER NAME=Expires VALUE=#DateFormat(Now(), 'ddd, dd-mmm-')#
 00:00:00 GMT
   CFHEADER NAME=Pragma VALUE=no-cache
   CFHEADER NAME=cache-control VALUE=no-cache

you can also use the confusingly named 
GetHttpTimeString(date_time_object) function for the same effect

z

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: CF -v- Domino

2002-10-11 Thread Adam Reynolds

Domino was discussed in another post. Web Sphere is basically your standard
J2EE environment with a lot of hooks into other IBM products (including
Domino).

What type of business portal are we looking at here? Are we interfacing with
ERP, Data warehouses, or other company wide systems or is it just a content
management system?

If it is the latter, something like CF could be 'enough' to get the job
done. If it is the former there will be a large number of interfaces to work
with, which is where the strengths of a J2EE server come in allowing you to
seperate presentation, business logic and data layers and enable you to
allocate developers with the strengths in each area to get their job done
most efficiently.

You should still consider running CF for your presentation layer as it now
runs on top of Websphere and there could be considerable development
timescale benefits to using it.

Adam



 -Original Message-
 From: James Smith [mailto:[EMAIL PROTECTED]]
 Sent: 11 October 2002 14:04
 To: CF-Talk
 Subject: CF -v- Domino


 I have a client who has asked me if I can help him with a project.

 He is planning a Business Portal site and would like my help - the only
 thing I know at this stage is that the developers he has talked to are
 proposing doing the site with 'Lotus Domino' and or on  'IBM Web Sphere
 server'.

 Does anyone have any idea how and why he should be using CF instead as I
 have no experience with either of the above products.

 --
 Jay


 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: Page Expires

2002-10-11 Thread Everett, Al

To clarify, Zac is saying that

#DateFormat(Now(), 'ddd, dd-mmm-')# 00:00:00 GMT

can be replaced with

#GetHTTPTimeString(Now())#



 -Original Message-
 From: Zac Spitzer [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 11, 2002 10:42 AM
 To: CF-Talk
 Subject: Re: Page Expires
 
 
 Everett, Al wrote:
  This is what I use:
  
CFHEADER NAME=Expires VALUE=#DateFormat(Now(), 'ddd, 
 dd-mmm-')#
  00:00:00 GMT
CFHEADER NAME=Pragma VALUE=no-cache
CFHEADER NAME=cache-control VALUE=no-cache
 
 you can also use the confusingly named 
 GetHttpTimeString(date_time_object) function for the same effect
 
 z
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: To CFMX, or to PHP or JSP?

2002-10-11 Thread Matt Liotta

That is a much harder question to answer and I suspect one we can't
answer for you. Maybe the better question is whether other partners feel
it is worth continuing to do business with Macromedia.

Matt Liotta
President  CEO
Montara Software, Inc.
http://www.montarasoftware.com/
888-408-0900 x901

 -Original Message-
 From: Greg Bullough [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 11, 2002 10:35 AM
 To: CF-Talk
 Subject: RE: To CFMX, or to PHP or JSP?
 
 At 09:38 AM 10/11/02 -0400, Matt Liotta wrote:
 Without directly addressing the spirit of your question, let me make
an
 observation. You don't have to choose Java/JSP over CF.
 
 Oh, agreed. However, the question is not so much of which
 language, Java/JSP or CFML appeals most to my soul but
 rather of whether, in the current business climate, I find it
 to be worth-while to continue doing business with Macromedia.
 
 Greg
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Default Julian date in SQL Server

2002-10-11 Thread Robertson-Ravo, Neil (REC)

Anyone know how to set a default date in Julian Date format within SQL
Server...?
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Counting Page Views

2002-10-11 Thread Jillian Carroll

I have a spec on a project that has me counting page views in order to
generate a 'most popular' list of the 10 most commonly clicked on links.

Has anybody done anything like this?

Initially I was thinking of a db counter that incremented a field in my db
as people viewed the page.  Is there a better way to do this?

--
Jillian

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: Counting Page Views

2002-10-11 Thread Everett, Al

Any of the dozens of log analyzers out there will provide this information
from your webserver logs.

 -Original Message-
 From: Jillian Carroll [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, October 10, 2002 6:28 PM
 To: CF-Talk
 Subject: Counting Page Views
 
 
 I have a spec on a project that has me counting page views in order to
 generate a 'most popular' list of the 10 most commonly 
 clicked on links.
 
 Has anybody done anything like this?
 
 Initially I was thinking of a db counter that incremented a 
 field in my db
 as people viewed the page.  Is there a better way to do this?
 
 --
 Jillian
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: To CFMX, or to PHP or JSP?

2002-10-11 Thread Greg Bullough

At 10:50 AM 10/11/02 -0400, Matt Liotta wrote:
That is a much harder question to answer and I suspect one we can't
answer for you.

Absolutely not. However, it sure would be useful to join in the
thought process with other folks who are experiencing the same
thing.

Maybe the better question is whether other partners feel
it is worth continuing to do business with Macromedia.

I think the partner question both precedes and follows the platform
question. You can't take the one without the other if your in the
business of web site development. Partner programs are part of
the overall landscape of using proprietary software (which came
first, the Gates or the MCSE?). In the Open Source world, the
development community is the analogous factor to partner
programs in the proprietary world.

Greg

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



Re: Counting Page Views

2002-10-11 Thread Zac Spitzer

I have a spec on a project that has me counting page views in order to
generate a 'most popular' list of the 10 most commonly 
clicked on links.

Has anybody done anything like this?

Initially I was thinking of a db counter that incremented a 
field in my db
as people viewed the page.  Is there a better way to do this?

that is the right approach, you need the info in the db for the 
resulting query. if your site is high load, you could cache the value in 
an application var ( do lock! ) and update the db less often to avoid so 
many database updates

z

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: CFMX.. Wont! (SOLVED)

2002-10-11 Thread Lee Fuller

  - Mike Collins from MM gets the credit.

The issue was that CFMX's install was only configuring the default web
site with the proper mappings within the Application settings (Site
Properties - Home Directory tab - Configuration button - App
Mappings tab) for .cfm/.cfml/.jsp, etc.

Even a complete uninstall and reinstall of the connectors didn't do it.
So, I went into the default settings for WWW sites, and removed each
of the proper entries, and re-added them, one-by-one.  And .. VOILA!

I hope this helps the rest of you.  And thanks Mike!

Lee


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: Language Translation and CF

2002-10-11 Thread Justin Ribeiro

 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

The BabelFish web service is really just the free version of
SYSTRANBox from Systran software. http://www.systransoft.com/ 

They offer products and e-services that offer MT (machine
translation) and the latest in NLP (natural language processing)
tech.  DaimlerChrysler uses their products, and there is a case study
available on the web site.  I know that Babelfish uses their
technology (as well as many other search engines), although my
understanding is that the corporate products give better translations
from the people I've talked to.  

You might look into seeing if you can use one of there standalone
products, or purchase one of their more robust eServices, and use CF
to connect up to that.  Translations should be better, and speed
should go up, although I have not tired it myself.

Cheers,
Justin



- -Original Message-
From: Robertson-Ravo, Neil (REC)
[mailto:[EMAIL PROTECTED]] 
Sent: Friday, October 11, 2002 6:31 AM
To: CF-Talk
Subject: RE: Language Translation and CF


It cant be done due to the way a language is broken down etc a
tranlation engin will give you a base for decrypting a language but
you are more than likely to get complete rubbish than you are any
sense..

N
- -Original Message-
From: Gene Kraybill [mailto:[EMAIL PROTECTED]]
Sent: 11 October 2002 14:18
To: CF-Talk
Subject: RE: Language Translation and CF


Main problem is the nature of languages and linguistics: you simply
can't reduce them completely to computer algorithms. Multiple
meanings depending on context and many other factors will inevitably
produce strange, often humorous results when translation is done by
machine...Uni

Gene Kraybill

- -Original Message-
From: Joshua Miller [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 11, 2002 9:07 AM
To: CF-Talk
Subject: RE: Language Translation and CF


That bad? Do you know of any remotely good services? We don't have
the staff to hire translators for Spanish, French, German, Korean,
Chinese and Japanese

Joshua Miller
[EMAIL PROTECTED]


- -Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, October 10, 2002 11:51 PM
To: CF-Talk
Subject: Re: Language Translation and CF


i have no idea how 'serious' you are about translations but unless
you're using bablefish 'just for fun', i'd stick w/human beings--i
have a wheelbarrow full of crazy english bablefish-ed translations
ranging from tragic to hilarious. ditto for french, dutch 
portuguese. locally we have a thai--english webservice that
always good for a laugh on a slow day.


- ---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.400 / Virus Database: 226 - Release Date: 10/9/2002





~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Re: Language Translation and CF

2002-10-11 Thread Paul Hastings

 It cant be done due to the way a language is broken down etc a
 tranlation engin will give you a base for decrypting a language but you
are
 more than likely to get complete rubbish than you are any sense..

i'm not *that* pessimistic but anything more than how much where etc.
will produce strange results with the current machine-translation
technologies.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.394 / Virus Database: 224 - Release Date: 3/10/2545

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: Tutorial - Working with Excel

2002-10-11 Thread jon roig

'Course, you don't need to invoke COM objects to hit an excel database.

I'm not sure you need a tutorial -- you really just need to add the excel
file as a datasource. From there, you can query it like any other
database...

If you get confused about what the table names are, just do a cfdump to
take a better look at the tables...

-- jon

-Original Message-
From: David Hannum [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 11, 2002 7:13 AM
To: CF-Talk
Subject: Re: Tutorial - Working with Excel


CFCOMET.COM has a lot of info

Dave


- Original Message -
From: James Johnson [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, October 10, 2002 4:10 PM
Subject: Tutorial - Working with Excel


Hello,

Can anyone point me to a tutorial on using an Excel spreadsheet as a
data source? I want to pull data from the .XLS files and populate a DB.

Thanks,

Jim

***
James Johnson
SMB-Studios
Innovative Online Learning for Spirit, Mind and Body
www.smb-studios.com
[EMAIL PROTECTED]



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: To CFMX, or to PHP or JSP?

2002-10-11 Thread Matt Liotta

We recently replaced all of our CFC based functionality with Java
classes and everything that was using Flash Remoting with WSDL based Web
services. We did this because of some of the problems we encountered
with the before mentioned technologies and the lack of effective
responses from Macromedia on our issues.

The above had interesting business implications for us as well. It
effectively allowed us to remove CFMX as a dependency for our product
suite. Now we can deploy on top of any J2EE compliant application
server. Since we want to continue to offer our customers the ability to
use CFML, we continue to be an ISV partner of Macromedia's and OEM CFMX.
However, we have also recently partnered with New Atlanta Communications
and OEM BlueDragon.

We feel this has given us the best of both worlds. We get the
performance and portability of a pure J2EE implementation as well as the
ability to sell to both Java and CF developers without having to
maintain a separate code base. Additionally, we can offer CF developers
a choice between CFMX and BlueDragon.

Matt Liotta
President  CEO
Montara Software, Inc.
http://www.montarasoftware.com/
888-408-0900 x901

 -Original Message-
 From: Greg Bullough [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 11, 2002 11:07 AM
 To: CF-Talk
 Subject: RE: To CFMX, or to PHP or JSP?
 
 At 10:50 AM 10/11/02 -0400, Matt Liotta wrote:
 That is a much harder question to answer and I suspect one we can't
 answer for you.
 
 Absolutely not. However, it sure would be useful to join in the
 thought process with other folks who are experiencing the same
 thing.
 
 Maybe the better question is whether other partners feel
 it is worth continuing to do business with Macromedia.
 
 I think the partner question both precedes and follows the platform
 question. You can't take the one without the other if your in the
 business of web site development. Partner programs are part of
 the overall landscape of using proprietary software (which came
 first, the Gates or the MCSE?). In the Open Source world, the
 development community is the analogous factor to partner
 programs in the proprietary world.
 
 Greg
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Can a single template open two unique CFFTP connections?

2002-10-11 Thread David Adams

I am building a template that acts as a relay and I need to download a
file (action=getfile) and then upload the same file (action=putfile) all
within the same loop structure.  
 
Above this loop, I made my two unique connections to each of the FTP
servers (action=open).  
 
I have tested it and it fails but wondering if anyone thinks it is
possible.
 
Dave Adams
CFUG Ottawa
 
 


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: To CFMX, or to PHP or JSP?

2002-10-11 Thread Matt Liotta

Without directly addressing the spirit of your question, let me make an
observation. You don't have to choose Java/JSP over CF. You could in
fact to most if not all of your development work with Java/JSP and have
it run on top of CFMX without issue. This would allow your work to be
applied either on top of CFMX or any J2EE application server. Further,
this would allow your customers to make the decision as to what
application server is correct for them.

Additionally, I would like to point out that if you buy CFMX J2EE and
JRun 4 for a single processor server, the total cost is $4300 instead of
$5000 for CFMX Enterprise. CFMX J2EE gives you everything CFMX
Enterprise offers as well as a full blown J2EE implementation with JRun
4.

Matt Liotta
President  CEO
Montara Software, Inc.
http://www.montarasoftware.com/
888-408-0900 x901

 -Original Message-
 From: Greg Bullough [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 11, 2002 9:18 AM
 To: CF-Talk
 Subject: To CFMX, or to PHP or JSP?
 
 Hi all...
 
 At risk of starting a holy war, I'm going to raise this here, and
 would welcome discussion on or off list. Or maybe we should
 take it over to the Partners sub-list, because it has partner-ish
 overtones.
 
 Four years ago, our fledgling web company made the decision
 (okay *I* made the decision) to become a Cold Fusion shop. We
 did that for all the right reasons and the classic arguments regarding
 productivity, costs, etc. At that time. 4.0 had just appeared.
 
 It was a *great* decision at the time.
 
 We've since grown quite a bit and find ourselves at a cross-roads.
 
 We can go forward with MX and Macromedia. Or, we can take a hard
 look at some of the other development platforms that seem to be out
 there now and whose presence may (note that I say *may*) have
 tipped the balance a bit.
 
 What tips the balance further is the feeling that Macromedia is
 determined to raise the price of admission. This was never clearer
than
 when Charlie Arehart pointed out at the CJCFUG meeting the other day
 that JSP Custom Tags are an 'Enterprise Only' feature. How a simple
 programming construct became more 'Enterprise' than 'Professional'
 is beyond me, unless it is simply the case that Macromedia would
 rather make $5000.00 per license than $1200.00.  Be that as it may,
 a lot of our customers will balk at that expense. And when customers
 balk, we have to, also.
 
 At one time, the 'Partner' program was a profit center for us. We
could
 make a few bucks on the licenses we sold as Allaire's *de facto* field
 sales force. No more. It's now a profit-center for Macromedia, since
they
 raised the bar on certification requirements.
 
 We get the feeling that little shops like us that cater to medium-size
 customers just aren't 'heard' in the Halls of Macromedia. They stuck
 us with CF 5.0 and despite the hue and cry over poor quality,
steadfastly
 refused to give us a 5.01 with the bugs fixed.
 
 I'm not all that impressed with MM's vision of things like Flash
 integration.
 Been down that road with Java applets, have the scars to prove it and
 realize that many of the fundamental problems of client-side execution
 apply just as much to Flash.
 
 When we started, it was either ASP, naked CGI/Perl (yuck), or CF.
 
 Now we have PHP, and we have a JSP which is getting away from
 'code Java until your eyeballs bleed' to really viable tag-based
methods.
 And both seem to be evolving some IDE's (some built on HomeSite!)
 to make life easier.
 
 The Open Source movement really has grown up. We've been doing more
 Linux/MySQL stuff even on Cold Fusion, than we have on NT and
SQLServer.
 
 I'd welcome (civilized, professional) discussion about re-making the
 decision
 regarding the CF Platform.
 
 I tend to believe that I'm not the only one our here having a good,
hard,
 think on this one, or who has made this decision in 2002, rather than
in
 2000, or 1998.
 
 Greg
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: Default Julian date in SQL Server

2002-10-11 Thread Robertson-Ravo, Neil (REC)

ah, doesnt matter, I found a UDF for it (SQL2000 only)


UDF : Julian Date

--CONVERT to Julian date
CREATE FUNCTION [dbo].[ToJulDate] (@month smallint,@day smallint,@year
smallint)  
RETURNS INT
AS  

BEGIN 
DECLARE @jdate int
SELECT @jdate = (@year - 1) * 365 - @year/100 + @year/400 + (@year - 1 ) / 4

 IF @month  2 AND ( ( @year%100 != 0 AND @year%4 = 0 ) OR @year%400 = 0 ) 
 SELECT @jdate = @jdate + 1 
 SELECT @jdate = @jdate + 31 * ( @month - 1 ) + @day

IF ( @month  2 ) 
 SELECT @jdate = @jdate - 3 
IF ( @month  4 )  
 SELECT @jdate = @jdate -  1   
IF ( @month  6 ) 
 SELECT @jdate = @jdate - 1 
IF ( @month  9 ) 
 SELECT @jdate = @jdate - 1 
IF ( @month  11 ) 
 SELECT @jdate = @jdate - 1 
RETURN @jdate

END

--CONVERT FROM Julian date
CREATE FUNCTION [dbo].[JulDate] (@Date int)  
RETURNS datetime AS  
BEGIN 
RETURN(DATEADD(DAY,@Date - 722815,'1/1/80')) 
END


-Original Message-
From: Robertson-Ravo, Neil (REC)
[mailto:[EMAIL PROTECTED]]
Sent: 11 October 2002 15:55
To: CF-Talk
Subject: Default Julian date in SQL Server


Anyone know how to set a default date in Julian Date format within SQL
Server...?

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: Counting Page Views

2002-10-11 Thread Jillian Carroll

Of course... but do you know how I would parse this with CF to determine a
'top 10' links on the fly?

-Original Message-
From: Everett, Al [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 11, 2002 9:05 AM
To: CF-Talk
Subject: RE: Counting Page Views


Any of the dozens of log analyzers out there will provide this information
from your webserver logs.

 -Original Message-
 From: Jillian Carroll [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, October 10, 2002 6:28 PM
 To: CF-Talk
 Subject: Counting Page Views


 I have a spec on a project that has me counting page views in order to
 generate a 'most popular' list of the 10 most commonly
 clicked on links.

 Has anybody done anything like this?

 Initially I was thinking of a db counter that incremented a
 field in my db
 as people viewed the page.  Is there a better way to do this?

 --
 Jillian



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



OT SQL DTS

2002-10-11 Thread Joshua Tipton

I would like to create an id that can only login in to enterprise manager
and run dts pacakges is this possible?  SQL 7.0.


Thanks,
Joshua Tipton

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: Counting Page Views

2002-10-11 Thread Raymond Camden

You could store information in the application scope. Just store
cgi.script_name in a structure. If the current page already exists
there, add one to the value. You should then be able to use structSort
on the data.

===
Raymond Camden, ColdFusion Jedi Master for Hire

Email: [EMAIL PROTECTED]
WWW  : www.camdenfamily.com/morpheus
Yahoo IM : morpheus

My ally is the Force, and a powerful ally it is. - Yoda 

 -Original Message-
 From: Jillian Carroll [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, October 11, 2002 12:05 PM
 To: CF-Talk
 Subject: RE: Counting Page Views
 
 
 Of course... but do you know how I would parse this with CF 
 to determine a
 'top 10' links on the fly?
 
 -Original Message-
 From: Everett, Al [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 11, 2002 9:05 AM
 To: CF-Talk
 Subject: RE: Counting Page Views
 
 
 Any of the dozens of log analyzers out there will provide 
 this information
 from your webserver logs.
 
  -Original Message-
  From: Jillian Carroll [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, October 10, 2002 6:28 PM
  To: CF-Talk
  Subject: Counting Page Views
 
 
  I have a spec on a project that has me counting page views 
 in order to
  generate a 'most popular' list of the 10 most commonly
  clicked on links.
 
  Has anybody done anything like this?
 
  Initially I was thinking of a db counter that incremented a
  field in my db
  as people viewed the page.  Is there a better way to do this?
 
  --
  Jillian
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



CF Mappings

2002-10-11 Thread Everett, Al

Is there a way to programmitically change the directory mappings found in CF
Administrator (CF5 and CFMX)?


-- 
Al Everett
Allied Office Products
www.askallied.com
mailto:[EMAIL PROTECTED]
v: 973-594-3209
f: 973-594-3626
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: CF Mappings

2002-10-11 Thread Everett, Al

 Is there a way to programmitically change the directory mappings found in
CF
 Administrator (CF5 and CFMX)?

I would expect so, since the Administrator is written in CF. What's the key
tag? CFREGISTRY?
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Re: cfczone.org?

2002-10-11 Thread Michael Dinowitz

I have all the posts going into a directory and just need a little time to
get it up into an interface. Things have been insane here and I have to
apologize for it not being done yet.



 Marius,

 I believe Michael Dinowitz is putting together an archive for the list.

 -Rob
 

 can we see anywhere the topics discussed?

 thanks
 Marius Milosav
 www.scorpiosoft.com
 It's not about technology, it's about people.
 Virtual Company (VICO) Application Demo
 www.scorpiosoft.com/vicodemo/login.cfm



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: Wondering about good languages for financial math processing

2002-10-11 Thread Rob Rohan

 however they will mostly be real-time calcs,
 dealing with potentially large datasets (10's of thousands) so speed and
 scalability are important factors,

Good point - I really don't know enough about what you are doing to say for
sure, but I can tell you that we do some hard core real-time calcualtions
with Java in CF5 and MX and are very pleased with the results.

Good luck,
Rob

-Original Message-
From: Dave Wilson [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 11, 2002 5:21 AM
To: CF-Talk
Subject: RE: Wondering about good languages for financial math
processing


 I've heard that Java isn't really suited for mathematical work either

I would beg to differ on that, but it does depends on what you are doing.
There is no doubt that C/C++ is faster, and you can do things like embed
assembly to get even faster; however, business calculations are rarely that
complicated.

I am a big proponent for Java for several reasons, I wont bother you with
all of them but here are a few:
   1. Integrates well with CF
   1.5 CF uses JDBC java can use JDBC...
   2. You don't have to handle memory stuff as much
   3. It's a bit easier to learn than C++
   4. I like coffee.

Thanks Rob. Like I say, it was only a student who told me about Java's
supposed unsuitability. I gotta admit that I'd rather invest time learning
Java as opposed to C++ for the very reason that Java skills are maybe more
in tune with CF than ever.

I realise that most of the calculations I am using wont be overtly processor
intensive as standalone calcs, however they will mostly be real-time calcs,
dealing with potentially large datasets (10's of thousands) so speed and
scalability are important factors, hence my tendency to look towards C++.

Dave


-Original Message-
From: jon roig [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 1:57 PM
To: CF-Talk
Subject: RE: Wondering about good languages for financial math
processing


I don't have a ton of direct experience with this, but anecdotally I've
heard that perl is quite good it this. (It's used for a ton of genetic
modeling and that sort of thing). Of course, your mileage may vary... but it
might be worth checking out a scripting language rather than trying to dig
into c++.

-- jon

-Original Message-
From: Dave Wilson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 6:35 AM
To: CF-Talk
Subject: Wondering about good languages for financial math processing


Hi all,

In the past I've been piggy backing on Excel via COM in order to do some
calculations as ColdFusion isn't the best of tools for performing
mathematical routines. Now, this is not ideal either as it requires Excel to
be installed on the server and takes up valuable processing time.

Does anyone have any suggestions as to any good languages suited for
mathematical processing? Preferably with the ability to connect or extract
results easily. I've heard that Java isn't really suited for mathematical
work either [1]. Perhaps C++ would do the job? I want to avoid COM at this
stage considering:

a) CFMX doesnt work too well with COM now;
b) COM is becoming an obsolete technology with MS pushing .Net and web
services instead.

TIA,
Dave

[1] I was told by a friend studying for his MSc Comp Sci. so I could be
completely wrong in my presumptions about Java being unsuited for
mathematical work.





~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: Another MX boo boo

2002-10-11 Thread Rob Rohan

It's the Default Locale, and JRE 1.4.1

-Original Message-
From: Sean A Corfield [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 8:37 PM
To: CF-Talk
Subject: Re: Another MX boo boo


On Thursday, Oct 10, 2002, at 10:00 US/Pacific, Rob Rohan wrote:
 Yeah we still are. If you'd like I'll send you a link to our dev
 server (off
 list) with a page that shows whats going on. Mail me off list if you
 want to
 see. Sean has the link too.

I can confirm that Rob is definitely experiencing this error - having
tried his link - but I am at a loss to explain why. The code works fine
on every system I've tested here (all without the Updater, admittedly)
and other people are reporting it works fine on systems *with* the
Updater. Weird.

Another thought: are you using anything other than the default locale?

I have always wished that my computer would be as easy to use as my
telephone.
  My wish has come true - I no longer know how to use my telephone.
-- Bjarne Stroustrup


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



File/IMG info

2002-10-11 Thread Scott Mulholland

I need to get the size and dimensions of an image file from a directory
(not at the time of upload).
 
Thought I could do it through a cffile read but I don't see any
variables available for that action.
 
Anyone have any ideas?
 
Thanks,
Scott

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: cfczone.org?

2002-10-11 Thread Marius Milosav

No pressure Michael.

I think everybody appreciates the amount of work that you are devoting to
keep the lists up and running and the benefits it provides to the CF
community.

thanks
Marius Milosav
www.scorpiosoft.com
It's not about technology, it's about people.
Virtual Company (VICO) Application Demo
www.scorpiosoft.com/vicodemo/login.cfm

- Original Message -
From: Michael Dinowitz [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, October 11, 2002 12:27 PM
Subject: Re: cfczone.org?


 I have all the posts going into a directory and just need a little time to
 get it up into an interface. Things have been insane here and I have to
 apologize for it not being done yet.


 
  Marius,
 
  I believe Michael Dinowitz is putting together an archive for the list.
 
  -Rob
  
 
  can we see anywhere the topics discussed?
 
  thanks
  Marius Milosav
  www.scorpiosoft.com
  It's not about technology, it's about people.
  Virtual Company (VICO) Application Demo
  www.scorpiosoft.com/vicodemo/login.cfm
 
 

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Re: File/IMG info

2002-10-11 Thread Scott Weikert

CFX_ImgSize, can get it from the DevEx.

At 12:36 PM 10/11/2002 -0400, you wrote:
I need to get the size and dimensions of an image file from a directory
(not at the time of upload).

Thought I could do it through a cffile read but I don't see any
variables available for that action.

Anyone have any ideas?

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: Full Text Indexs

2002-10-11 Thread Andy Ewings

Hi

We tried this but it didn't seem to work.  We only changed the english one.
When we search on these key words it still throws an ODBC error.  Any ideas?

Andy

-Original Message-
From: Benoit Hediard [mailto:[EMAIL PROTECTED]]
Sent: 11 October 2002 13:23
To: CF-Talk
Subject: RE: Full Text Indexs


If you are using SQL Server 2000, all the noise words are defined in a
text files, one per language, you can easily modify them (add/remove words)
:
../Microsoft SQL Server/MSSQL/FTDATA/SQLServer/Config/noise.eng for
english indexing
../Microsoft SQL Server/MSSQL/FTDATA/SQLServer/Config/noise.fra for french
indexing
.

Once modified, you'll have to rebuild your full-text indexes.

Benoit Hediard
www.benorama.com

-Message d'origine-
De : Andy Ewings [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 11 octobre 2002 14:00
À : CF-Talk
Objet : Full Text Indexs


Bit OT but thought I'd test the SQL gurus on here - I have built some full
text indexes and am trying to get it to ignore the ignored words if that
makes sense.  For exaple if I type after eight into a search box it gives
an error as after is a reserved word.  How to I get SQL to ignore these
words when performing my fulltext query?

Alternatively does anyone know where I can find a full list of these ignored
words?

Andy



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Connecting to Oracle 7.3.4 database via Oracle server using CFMX

2002-10-11 Thread Smith, Don , , WHS/PSD

Or main unix guru is out of the office today while I'm moving an MX
installation from Win2k to Unix.

The backend db for this app is in Oracle 7.3.4 which is not supported in
CFMX.  On Win2k I created an odbc connection to the database and then create
an odbc socket connection to that existing data source.  That was so easy to
do in Win2k that I pretty much forget how I did it.

But I am not as familiar with creating an odbc connection in Unix.  I have
the ear of a Unix admin that I can work with, so how would I go about doing
this?

Thanks for any info!

Don
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



CFINCLUDE in CFMX so sloooow !

2002-10-11 Thread [mRg]

Lo all !

Just curious as to why in CFMX, when i use CFINCLUDE to bring in other code, the 
process time of the page shoots up dramatically! I dont remeber this being a problem 
before in versions 4.5 / 5 !

I have heard that in CFMX it interpretes the page before including and not after 
including so it can be used in CFSCRIPT . is this true ?

Does anyone know a work around ? ... cause that kinda sucks as my page process times 
have gone from 30ms - 300ms.
I like to use CFINCLUDE so i can have nice tidy pages (well sort of tidy!) .. i hope i 
dont have to have all my code on one lng page !

I hope someone can shed some light on this matter !

Thanks guys n gals

Stephen Pope / ColdFusion Developer 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: Full Text Indexs

2002-10-11 Thread Benoit Hediard

It should only throw an error if all the search words are defined in the
noise words file.

For example :
The will throw an error,
The foo will return results based on foo search.

In our application, we have customized the noise word file and put each full
text SQL search in cftry blocks.
If an error is thrown we create an empty recordset.

For example :
cftry
cfquery name=qSearch datasource=#application.stConfig.DSN#
select  ID_NEWS as ID,
TITLE_NEWS as Title,
CREATEDBYID_NEWS as CreatedByID,
CREATEDBY_NEWS as CreatedByLogin,
CREATIONDATE_NEWS as CreationDate
fromITEM_NEWS
and (contains(TITLE_NEWS,'#arguments.Text#')
or  contains(DESCRIPTION_NEWS,'#arguments.Text#'))
/cfquery

cfcatch type=Database
cfset qSearch =
queryNew(ID,Title,CreatedByID,CreatedByLogin,CreationDate)
/cfcatch
/cftry

Benoit Hediard
www.benorama.com

-Message d'origine-
De : Andy Ewings [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 11 octobre 2002 18:41
À : CF-Talk
Objet : RE: Full Text Indexs


Hi

We tried this but it didn't seem to work.  We only changed the english one.
When we search on these key words it still throws an ODBC error.  Any ideas?

Andy

-Original Message-
From: Benoit Hediard [mailto:[EMAIL PROTECTED]]
Sent: 11 October 2002 13:23
To: CF-Talk
Subject: RE: Full Text Indexs


If you are using SQL Server 2000, all the noise words are defined in a
text files, one per language, you can easily modify them (add/remove words)
:
../Microsoft SQL Server/MSSQL/FTDATA/SQLServer/Config/noise.eng for
english indexing
../Microsoft SQL Server/MSSQL/FTDATA/SQLServer/Config/noise.fra for french
indexing
.

Once modified, you'll have to rebuild your full-text indexes.

Benoit Hediard
www.benorama.com

-Message d'origine-
De : Andy Ewings [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 11 octobre 2002 14:00
À : CF-Talk
Objet : Full Text Indexs


Bit OT but thought I'd test the SQL gurus on here - I have built some full
text indexes and am trying to get it to ignore the ignored words if that
makes sense.  For exaple if I type after eight into a search box it gives
an error as after is a reserved word.  How to I get SQL to ignore these
words when performing my fulltext query?

Alternatively does anyone know where I can find a full list of these ignored
words?

Andy




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: File/IMG info

2002-10-11 Thread Benoit Hediard

If you use CFMX, you can use java imaging libraries, it will be cleaner than
a CFX :
- JAI, (example at
http://www.evolt.org/article/Image_Manipulation_with_CFMX_and_JAI/18/33907/)
,
- ImageJ (example at
http://www.benorama.com/coldfusion/libraries/imaging.htm).

Benoit Hediard
www.benorama.com

-Message d'origine-
De : Scott Weikert [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 11 octobre 2002 18:43
À : CF-Talk
Objet : Re: File/IMG info


CFX_ImgSize, can get it from the DevEx.

At 12:36 PM 10/11/2002 -0400, you wrote:
I need to get the size and dimensions of an image file from a directory
(not at the time of upload).

Thought I could do it through a cffile read but I don't see any
variables available for that action.

Anyone have any ideas?


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: CFINCLUDE in CFMX so sloooow !

2002-10-11 Thread Mark A. Kruger - CFG

Stephen - it should ONLY be slow on the first time it is loaded.  After that
it should be quite fast.  The reason is that CFMX compiles the page into
Java classes.  That initial slowness is due to the compiler.

-mk

-Original Message-
From: [mRg] [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 11, 2002 12:05 PM
To: CF-Talk
Subject: CFINCLUDE in CFMX so slw !


Lo all !

Just curious as to why in CFMX, when i use CFINCLUDE to bring in other code,
the process time of the page shoots up dramatically! I dont remeber this
being a problem before in versions 4.5 / 5 !

I have heard that in CFMX it interpretes the page before including and not
after including so it can be used in CFSCRIPT . is this true ?

Does anyone know a work around ? ... cause that kinda sucks as my page
process times have gone from 30ms - 300ms.
I like to use CFINCLUDE so i can have nice tidy pages (well sort of tidy!)
. i hope i dont have to have all my code on one lng page !

I hope someone can shed some light on this matter !

Thanks guys n gals

Stephen Pope / ColdFusion Developer


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: CFINCLUDE in CFMX so sloooow !

2002-10-11 Thread Stacy Young

Is there still the time difference is debug is off? How about caching?

Stace

-Original Message-
From: [mRg] [mailto:[EMAIL PROTECTED]] 
Sent: Friday, October 11, 2002 1:05 PM
To: CF-Talk
Subject: CFINCLUDE in CFMX so slw !

Lo all !

Just curious as to why in CFMX, when i use CFINCLUDE to bring in other code,
the process time of the page shoots up dramatically! I dont remeber this
being a problem before in versions 4.5 / 5 !

I have heard that in CFMX it interpretes the page before including and not
after including so it can be used in CFSCRIPT . is this true ?

Does anyone know a work around ? ... cause that kinda sucks as my page
process times have gone from 30ms - 300ms.
I like to use CFINCLUDE so i can have nice tidy pages (well sort of tidy!)
. i hope i dont have to have all my code on one lng page !

I hope someone can shed some light on this matter !

Thanks guys n gals

Stephen Pope / ColdFusion Developer 


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Is it possible.............?

2002-10-11 Thread Bonnie E. Betts

*Sigh*  I've been asked if it is possible to run two different versions of CF on a 
server.  I said no but I would ask.  Background is they ran into troubles with 4.5 
apps not working in 5.0 (not sure what past cfgrid probs, but...)  They want to run 
4.5 and 5.0 on the same server AND in a pool (cluster) of servers.  Win2k, 
IIS5.CF4.5  5.0(?)

Is this possible?  Is it a sheer nightmare?  Should I bother to hit this send button?

Bonnie E. Betts
www.bettsIT.com
703.508.9766


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: CFINCLUDE in CFMX so sloooow !

2002-10-11 Thread Lee Fuller

That's a real bummer too.  Cuz it can cause a great slowdown for larger
pages.  But I know it's par-for-the-course in this technology. 8/


| -Original Message-
| From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]] 
| Sent: Friday, October 11, 2002 10:10 AM
| To: CF-Talk
| Subject: RE: CFINCLUDE in CFMX so slw !
| 
| 
| Stephen - it should ONLY be slow on the first time it is 
| loaded.  After that it should be quite fast.  The reason is 
| that CFMX compiles the page into Java classes.  That initial 
| slowness is due to the compiler.
| 
| -mk
| 
| -Original Message-
| From: [mRg] [mailto:[EMAIL PROTECTED]]
| Sent: Friday, October 11, 2002 12:05 PM
| To: CF-Talk
| Subject: CFINCLUDE in CFMX so slw !
| 
| 
| Lo all !
| 
| Just curious as to why in CFMX, when i use CFINCLUDE to bring 
| in other code, the process time of the page shoots up 
| dramatically! I dont remeber this being a problem before in 
| versions 4.5 / 5 !
| 
| I have heard that in CFMX it interpretes the page before 
| including and not after including so it can be used in 
| CFSCRIPT . is this true ?
| 
| Does anyone know a work around ? ... cause that kinda sucks 
| as my page process times have gone from 30ms - 300ms. I like 
| to use CFINCLUDE so i can have nice tidy pages (well sort of 
| tidy!) . i hope i dont have to have all my code on one lng page !
| 
| I hope someone can shed some light on this matter !
| 
| Thanks guys n gals
| 
| Stephen Pope / ColdFusion Developer
| 
| 
| 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: CFINCLUDE in CFMX so sloooow !

2002-10-11 Thread [mRg]

Thanks ! Yeah it does get quicker afterwards  .. i was worried whether it
was gonna be that slow the first time they visit that page .. looks like it
will

Ill give it a try with the debugger off too see if it speeds up !

- Original Message -
From: Mark A. Kruger - CFG [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, October 11, 2002 6:10 PM
Subject: RE: CFINCLUDE in CFMX so slw !


 Stephen - it should ONLY be slow on the first time it is loaded.  After
that
 it should be quite fast.  The reason is that CFMX compiles the page into
 Java classes.  That initial slowness is due to the compiler.

 -mk

 -Original Message-
 From: [mRg] [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 11, 2002 12:05 PM
 To: CF-Talk
 Subject: CFINCLUDE in CFMX so slw !


 Lo all !

 Just curious as to why in CFMX, when i use CFINCLUDE to bring in other
code,
 the process time of the page shoots up dramatically! I dont remeber this
 being a problem before in versions 4.5 / 5 !

 I have heard that in CFMX it interpretes the page before including and not
 after including so it can be used in CFSCRIPT . is this true ?

 Does anyone know a work around ? ... cause that kinda sucks as my page
 process times have gone from 30ms - 300ms.
 I like to use CFINCLUDE so i can have nice tidy pages (well sort of tidy!)
 . i hope i dont have to have all my code on one lng page !

 I hope someone can shed some light on this matter !

 Thanks guys n gals

 Stephen Pope / ColdFusion Developer


 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: Default Julian date in SQL Server

2002-10-11 Thread Stephen Kellogg

Neil,
FYI you can also store it as an normal date and then switch it in the CF
code with:
dayofyear(date)

This is the calendar Julian date vs. the true Julian date.

Also, HOF has a CF-Server and a SQL list where you might get better
responses for these questions.


HTH

Stephen

-Original Message-
From: Robertson-Ravo, Neil (REC)
[mailto:[EMAIL PROTECTED]]
Sent: Friday, October 11, 2002 11:42 AM
To: CF-Talk
Subject: RE: Default Julian date in SQL Server


ah, doesnt matter, I found a UDF for it (SQL2000 only)


UDF : Julian Date

--CONVERT to Julian date
CREATE FUNCTION [dbo].[ToJulDate] (@month smallint,@day smallint,@year
smallint)
RETURNS INT
AS

BEGIN
DECLARE @jdate int
SELECT @jdate = (@year - 1) * 365 - @year/100 + @year/400 + (@year - 1 ) / 4

 IF @month  2 AND ( ( @year%100 != 0 AND @year%4 = 0 ) OR @year%400 = 0 )
 SELECT @jdate = @jdate + 1
 SELECT @jdate = @jdate + 31 * ( @month - 1 ) + @day

IF ( @month  2 )
 SELECT @jdate = @jdate - 3
IF ( @month  4 )
 SELECT @jdate = @jdate -  1
IF ( @month  6 )
 SELECT @jdate = @jdate - 1
IF ( @month  9 )
 SELECT @jdate = @jdate - 1
IF ( @month  11 )
 SELECT @jdate = @jdate - 1
RETURN @jdate

END

--CONVERT FROM Julian date
CREATE FUNCTION [dbo].[JulDate] (@Date int)
RETURNS datetime AS
BEGIN
RETURN(DATEADD(DAY,@Date - 722815,'1/1/80'))
END


-Original Message-
From: Robertson-Ravo, Neil (REC)
[mailto:[EMAIL PROTECTED]]
Sent: 11 October 2002 15:55
To: CF-Talk
Subject: Default Julian date in SQL Server


Anyone know how to set a default date in Julian Date format within SQL
Server...?


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



OT: DHTML issue

2002-10-11 Thread Turetsky, Seth

Anyone dhtml gurus out there that can figure this out, if so please shoot me an email 
off-list.  the function 'addrow' works fine, which creates new rows with text from a 
dropdown and a link next to it with a function call to 'deleterow'(which gives an 
error on the 2nd line in that function).  Any ideas why getElementById fails there?

f = 0;
function addRow(id){
f++;
var tbody = document.getElementById(id).getElementsByTagName(TBODY)[0];
var newrow = document.createElement(TR);
newrow.setAttribute(id, newrow+f);

var td1 = document.createElement(TD);

td1.appendChild(document.createTextNode(document.test.options[document.test.options.selectedIndex].text));

var td2 = document.createElement(TD)
link = document.createElement(a);
link.setAttribute(href, javascript:deleteRow('+id+','+f+'););
link.appendChild(document.createTextNode('Delete'));
td2.appendChild(link);

newrow.appendChild(td1);
newrow.appendChild(td2);
tbody.appendChild(newrow);

document.test.test.value = f;
document.test.input1.value='';
document.test.input1.focus();
}

function deleteRow(id,rowid){
var tbody = document.getElementById(id).getElementsByTagName(TBODY)[0];
objecttodestroy = tbody.getElementById('newrow'+rowid);
tbody.removechild(objecttodestroy)
}

here is the table that the rows are getting appended to, just to show the id:

table width=400 id=myTable cellspacing=0 border=0
TBODY
TR
  TD class=font1nbsp;/TD
  TD class=font1nbsp;/TD
/TR
/TBODY
/table

This message is for the named person's use only. It may contain sensitive and private 
proprietary or legally privileged information. No confidentiality or privilege is 
waived or lost by any mistransmission. If you are not the intended recipient, please 
immediately delete it and all copies of it from your system, destroy any hard copies 
of it and notify the sender. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. CREDIT SUISSE GROUP and each legal entity in the CREDIT SUISSE FIRST BOSTON 
or CREDIT SUISSE ASSET MANAGEMENT business units of CREDIT SUISSE FIRST BOSTON reserve 
the right to monitor all e-mail communications through its networks. Any views 
expressed in this message are those of the individual sender, except where the message 
states otherwise and the sender is authorized to state them to be the views of any 
such entity.
Unless otherwise stated, any pricing information given in this message is indicative 
only, is subject to change and does not constitute an offer to deal at any price 
quoted. Any reference to the terms of executed transactions should be treated as  
preliminary only and subject to our formal written confirmation.


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: CFINCLUDE in CFMX so sloooow !

2002-10-11 Thread Mark A. Kruger - CFG

You can precompile a group of templates if you wish. A precompile utility
ships with CFMX. There's a great article by Charlie on this... check it out
at:

http://www.systemanage.com/cff/articles_cfdj.cfm

-mk

-Original Message-
From: Lee Fuller [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 11, 2002 12:13 PM
To: CF-Talk
Subject: RE: CFINCLUDE in CFMX so slw !


That's a real bummer too.  Cuz it can cause a great slowdown for larger
pages.  But I know it's par-for-the-course in this technology. 8/


| -Original Message-
| From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]]
| Sent: Friday, October 11, 2002 10:10 AM
| To: CF-Talk
| Subject: RE: CFINCLUDE in CFMX so slw !
|
|
| Stephen - it should ONLY be slow on the first time it is
| loaded.  After that it should be quite fast.  The reason is
| that CFMX compiles the page into Java classes.  That initial
| slowness is due to the compiler.
|
| -mk
|
| -Original Message-
| From: [mRg] [mailto:[EMAIL PROTECTED]]
| Sent: Friday, October 11, 2002 12:05 PM
| To: CF-Talk
| Subject: CFINCLUDE in CFMX so slw !
|
|
| Lo all !
|
| Just curious as to why in CFMX, when i use CFINCLUDE to bring
| in other code, the process time of the page shoots up
| dramatically! I dont remeber this being a problem before in
| versions 4.5 / 5 !
|
| I have heard that in CFMX it interpretes the page before
| including and not after including so it can be used in
| CFSCRIPT . is this true ?
|
| Does anyone know a work around ? ... cause that kinda sucks
| as my page process times have gone from 30ms - 300ms. I like
| to use CFINCLUDE so i can have nice tidy pages (well sort of
| tidy!) . i hope i dont have to have all my code on one lng page !
|
| I hope someone can shed some light on this matter !
|
| Thanks guys n gals
|
| Stephen Pope / ColdFusion Developer
|
|
|

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: Error with cfqueryparam...

2002-10-11 Thread Nick Han

Error is caused by your sql statement.

You're missing the keyword FROM after delete.

Nick Han

 [EMAIL PROTECTED] 10/10/02 12:08PM 
Here is the error I am getting

[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in
query expression 'category_tbl where cat_key = Pa_RaM000'. 
SQL = delete category_tbl where cat_key = ? 
Query Parameter Value(s) - 
Parameter #1 = 2 


Here is my code...

cfquery name=upd_cat datasource=#dsn# dbtype=ODBCdelete category_tbl
where cat_key = cfqueryparam value=#form.thekey#
cfsqltype=CF_SQL_NUMERIC/cfquery

Can someone tell me what I am doing wrong please?

thanks,

Brian Yager
President - North AL Cold Fusion Users Group
http://www.nacfug.com
Sr. Systems Analyst
Sverdrup/CIC
[EMAIL PROTECTED]
(256) 842-8342


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: BigIP

2002-10-11 Thread Chris White

To use or not to use Sticky Sessions should not be the decision of the
networking group.  It should be the decision of the web applications
developer / webmaster.  The choice of should you or should you not use
sticky sessions is based on the way the application was written and what
the application is doing.



-Original Message-
From: Everett, Al [mailto:[EMAIL PROTECTED]] 
Sent: Friday, October 11, 2002 8:23 AM
To: CF-Talk
Subject: RE: BigIP


 I don't know what you are doing within your app where you need sticky 
 sessions but I would suggest to change you app so that you don't need 
 to use sticky sessions.

Unfortunately not my decision to make.

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: Wondering about good languages for financial math processing

2002-10-11 Thread Alex

C , MATLAB, Octave, or any language with a C extension added on. swig
works

On Fri, 11 Oct 2002, Rob Rohan wrote:

  however they will mostly be real-time calcs,
  dealing with potentially large datasets (10's of thousands) so speed and
  scalability are important factors,

 Good point - I really don't know enough about what you are doing to say for
 sure, but I can tell you that we do some hard core real-time calcualtions
 with Java in CF5 and MX and are very pleased with the results.

 Good luck,
 Rob

 -Original Message-
 From: Dave Wilson [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 11, 2002 5:21 AM
 To: CF-Talk
 Subject: RE: Wondering about good languages for financial math
 processing


  I've heard that Java isn't really suited for mathematical work either
 
 I would beg to differ on that, but it does depends on what you are doing.
 There is no doubt that C/C++ is faster, and you can do things like embed
 assembly to get even faster; however, business calculations are rarely that
 complicated.
 
 I am a big proponent for Java for several reasons, I wont bother you with
 all of them but here are a few:
  1. Integrates well with CF
  1.5 CF uses JDBC java can use JDBC...
  2. You don't have to handle memory stuff as much
  3. It's a bit easier to learn than C++
  4. I like coffee.

 Thanks Rob. Like I say, it was only a student who told me about Java's
 supposed unsuitability. I gotta admit that I'd rather invest time learning
 Java as opposed to C++ for the very reason that Java skills are maybe more
 in tune with CF than ever.

 I realise that most of the calculations I am using wont be overtly processor
 intensive as standalone calcs, however they will mostly be real-time calcs,
 dealing with potentially large datasets (10's of thousands) so speed and
 scalability are important factors, hence my tendency to look towards C++.

 Dave


 -Original Message-
 From: jon roig [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, October 10, 2002 1:57 PM
 To: CF-Talk
 Subject: RE: Wondering about good languages for financial math
 processing


 I don't have a ton of direct experience with this, but anecdotally I've
 heard that perl is quite good it this. (It's used for a ton of genetic
 modeling and that sort of thing). Of course, your mileage may vary... but it
 might be worth checking out a scripting language rather than trying to dig
 into c++.

   -- jon

 -Original Message-
 From: Dave Wilson [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, October 10, 2002 6:35 AM
 To: CF-Talk
 Subject: Wondering about good languages for financial math processing


 Hi all,

 In the past I've been piggy backing on Excel via COM in order to do some
 calculations as ColdFusion isn't the best of tools for performing
 mathematical routines. Now, this is not ideal either as it requires Excel to
 be installed on the server and takes up valuable processing time.

 Does anyone have any suggestions as to any good languages suited for
 mathematical processing? Preferably with the ability to connect or extract
 results easily. I've heard that Java isn't really suited for mathematical
 work either [1]. Perhaps C++ would do the job? I want to avoid COM at this
 stage considering:

 a) CFMX doesnt work too well with COM now;
 b) COM is becoming an obsolete technology with MS pushing .Net and web
 services instead.

 TIA,
 Dave

 [1] I was told by a friend studying for his MSc Comp Sci. so I could be
 completely wrong in my presumptions about Java being unsuited for
 mathematical work.





 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: Is it possible.............?

2002-10-11 Thread Robert Everland

Well someone said something about with CFMX they can map the extensions to 2
different servers so something like .cf5 goes to CF 5 and .cf6 goes to CFMX,
I don't know if you will be able to do this with CF4.5 and 5 because the
services are called the same thing, so there will be some issues, though you
could try installing them in 2 different places and maybe try creating your
own services for it, but that may not work.

Robert Everland III
Web Developer Extraordinaire
Dixon Ticonderoga Company
http://www.dixonusa.com 

-Original Message-
From: Bonnie E. Betts [mailto:[EMAIL PROTECTED]] 
Sent: Friday, October 11, 2002 1:09 PM
To: CF-Talk
Subject: Is it possible.?


*Sigh*  I've been asked if it is possible to run two different versions of
CF on a server.  I said no but I would ask.  Background is they ran into
troubles with 4.5 apps not working in 5.0 (not sure what past cfgrid probs,
but...)  They want to run 4.5 and 5.0 on the same server AND in a pool
(cluster) of servers.  Win2k, IIS5.CF4.5  5.0(?)

Is this possible?  Is it a sheer nightmare?  Should I bother to hit this
send button?

Bonnie E. Betts
www.bettsIT.com
703.508.9766



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: BigIP

2002-10-11 Thread Everett, Al

I agree, but it's still not my decision.

 -Original Message-
 From: Chris White [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 11, 2002 1:28 PM
 To: CF-Talk
 Subject: RE: BigIP
 
 
 To use or not to use Sticky Sessions should not be the decision of the
 networking group.  It should be the decision of the web applications
 developer / webmaster.  The choice of should you or should you not use
 sticky sessions is based on the way the application was 
 written and what
 the application is doing.
 
 
 
 -Original Message-
 From: Everett, Al [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, October 11, 2002 8:23 AM
 To: CF-Talk
 Subject: RE: BigIP
 
 
  I don't know what you are doing within your app where you 
 need sticky 
  sessions but I would suggest to change you app so that you 
 don't need 
  to use sticky sessions.
 
 Unfortunately not my decision to make.
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: Connecting to Oracle 7.3.4 database via Oracle server using CFMX

2002-10-11 Thread Cathy Taylor

If you're using CFMX on Unix (btw, which flavor because I'm guessing you're
at another gov't facility and if Solaris, you may run itno the same problems
I've been with 'nobody'?) you just specify the type of database and the
proxy port number to connect to. It does the rest. I haven't connected MX to
Oracle 7.3 yet, but I've connected 5.0 to it in the past without a problem.
Get it installed and peek at the Administrator datasource setup to see what
I mean. There's no 3rd party connector involved (or ODBC config).

Cathy

- Original Message -
From: Smith, Don , , WHS/PSD [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, October 11, 2002 12:53 PM
Subject: Connecting to Oracle 7.3.4 database via Oracle server using CFMX


 Or main unix guru is out of the office today while I'm moving an MX
 installation from Win2k to Unix.

 The backend db for this app is in Oracle 7.3.4 which is not supported in
 CFMX.  On Win2k I created an odbc connection to the database and then
create
 an odbc socket connection to that existing data source.  That was so easy
to
 do in Win2k that I pretty much forget how I did it.

 But I am not as familiar with creating an odbc connection in Unix.  I have
 the ear of a Unix admin that I can work with, so how would I go about
doing
 this?

 Thanks for any info!

 Don
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Making J2EE Simplier

2002-10-11 Thread Jeffry Houser

  No mention of ColdFusion, but:

http://computerworld.com/softwaretopics/software/appdev/story/0,10801,74923,00.html


--
Jeffry Houser | mailto:[EMAIL PROTECTED]
DotComIt, Putting you on the web
AIM: Reboog711  | Phone: 1-203-379-0773
--
My CFMX Book: 
http://www.amazon.com/exec/obidos/ASIN/0072225564/instantcoldfu-20
My Books: http://www.instantcoldfusion.com
My Band: http://www.farcryfly.com 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: Microsoft UrlScan and CF

2002-10-11 Thread cf-talk

Dave,

It was several months ago that I delt with this exact same situation.  It
was URLScan and CF5 and I also got the additional header info appearing in
the page itself.  The reason for this is due to an additional line feed
being placed in the header.  This causes your browser to prematurely think
the headers are finished.

I trouble ticket with Microsoft and Macromedia was opened but each company
blamed the other for the problem.  Microsoft said that it was Macromedia's
problem because they don't do headers correctly.  Their proof of this
was the fact that .ASP pages don't exhibit the same behavior.  You'll notice
that .ASP pages put their headers up higher and so they actually appear in
the header section, not after the double line feed.

Macromedia claimed that the problem was Microsoft's fault.  Their proof
was that everything worked fine if you uninstalled URLScan.

While both companies have a point, my personal judgment is that it's
Macromedia's fault.  My reasoning is simple... the problem does NOT exist in
ASP, PHP, or PERL.  This tells me that whatever/however ColdFusion is doing
their headers it doesn't seem to be right.  But my testing seems to
indicate that it's the URLScan utility that's adding the additional linefeed
and causing the problem.  So, both parties are right and wrong at the
same time.  If either one would change something it would work fine.

I also want to point out that this was with IIS5, URLScan, and CF5.  I do
not know if a new version of URLScan has come out and I have not tested this
with CFMX.

In the end, my solution was to simply uninstall URLScan.

-Novak

- Original Message -
From: David Hannum [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, October 11, 2002 5:09 AM
Subject: Microsoft UrlScan and CF


 Is anyone using Microsoft's UrlScan with CF successfully?  Whenever we've
 tried it, CF pages display additional header messages at the top, such as:

 Content-type: text/html Page-Completion-Status: Normal
 Page-Completion-Status: Normal

 If UrlScan and CF can cohabitate, what are we missing?

 Thanks,
 Dave

 ===
 David R. Hannum
 Web Analyst/Programmer
 Ohio University Computer Services
 Administrative Systems
 (740) 597-2524

 If your wife is having fun, and you're not . . .
 You're still having a lot more fun than if
 you're having fun, and she's not!  (Red Green)

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: Microsoft UrlScan and CF

2002-10-11 Thread Robert Everland

I use urlscan and it works fine. 

Robert Everland III
Web Developer Extraordinaire
Dixon Ticonderoga Company
http://www.dixonusa.com 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Friday, October 11, 2002 2:00 PM
To: CF-Talk
Subject: Re: Microsoft UrlScan and CF


Dave,

It was several months ago that I delt with this exact same situation.  It
was URLScan and CF5 and I also got the additional header info appearing in
the page itself.  The reason for this is due to an additional line feed
being placed in the header.  This causes your browser to prematurely think
the headers are finished.

I trouble ticket with Microsoft and Macromedia was opened but each company
blamed the other for the problem.  Microsoft said that it was Macromedia's
problem because they don't do headers correctly.  Their proof of this
was the fact that .ASP pages don't exhibit the same behavior.  You'll notice
that .ASP pages put their headers up higher and so they actually appear in
the header section, not after the double line feed.

Macromedia claimed that the problem was Microsoft's fault.  Their proof
was that everything worked fine if you uninstalled URLScan.

While both companies have a point, my personal judgment is that it's
Macromedia's fault.  My reasoning is simple... the problem does NOT exist in
ASP, PHP, or PERL.  This tells me that whatever/however ColdFusion is doing
their headers it doesn't seem to be right.  But my testing seems to
indicate that it's the URLScan utility that's adding the additional linefeed
and causing the problem.  So, both parties are right and wrong at the
same time.  If either one would change something it would work fine.

I also want to point out that this was with IIS5, URLScan, and CF5.  I do
not know if a new version of URLScan has come out and I have not tested this
with CFMX.

In the end, my solution was to simply uninstall URLScan.

-Novak

- Original Message -
From: David Hannum [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, October 11, 2002 5:09 AM
Subject: Microsoft UrlScan and CF


 Is anyone using Microsoft's UrlScan with CF successfully?  Whenever 
 we've tried it, CF pages display additional header messages at the 
 top, such as:

 Content-type: text/html Page-Completion-Status: Normal
 Page-Completion-Status: Normal

 If UrlScan and CF can cohabitate, what are we missing?

 Thanks,
 Dave

 ===
 David R. Hannum
 Web Analyst/Programmer
 Ohio University Computer Services
 Administrative Systems
 (740) 597-2524

 If your wife is having fun, and you're not . . .
 You're still having a lot more fun than if
 you're having fun, and she's not!  (Red Green)

 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: Microsoft UrlScan and CF

2002-10-11 Thread Matt Robertson

I use urlscan and have no problems.  I have CF 4.5.1 sp2 and Win2k sp3 with all 
subsequent patches.

---
Matt Robertson[EMAIL PROTECTED]
MSB Designs, Inc., www.mysecretbase.com
---

 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: File/IMG info

2002-10-11 Thread Scott Mulholland

Thanks Scott, works great. 

-Original Message-
From: Scott Weikert [mailto:[EMAIL PROTECTED]] 
Sent: Friday, October 11, 2002 11:43 AM
To: CF-Talk
Subject: Re: File/IMG info


CFX_ImgSize, can get it from the DevEx.

At 12:36 PM 10/11/2002 -0400, you wrote:
I need to get the size and dimensions of an image file from a directory

(not at the time of upload).

Thought I could do it through a cffile read but I don't see any 
variables available for that action.

Anyone have any ideas?


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: Microsoft UrlScan and CF

2002-10-11 Thread samcfug

I use URLScan and CF 5.0 and don't have the problem.  It is a very small tweak to the 
URLScan
configuration file

Check out:

http://samcfug.org
http://www.strictlyhodaka.com
http://www.justnextdoor.us

www.clickdoug.com/clients.htm


=
Douglas White
group Manager
mailto:[EMAIL PROTECTED]
http://www.samcfug.org
=
|
| - Original Message -
| From: David Hannum [EMAIL PROTECTED]
| To: CF-Talk [EMAIL PROTECTED]
| Sent: Friday, October 11, 2002 5:09 AM
| Subject: Microsoft UrlScan and CF
|
|
|  Is anyone using Microsoft's UrlScan with CF successfully?  Whenever we've
|  tried it, CF pages display additional header messages at the top, such as:
| 
|  Content-type: text/html Page-Completion-Status: Normal
|  Page-Completion-Status: Normal
| 
|  If UrlScan and CF can cohabitate, what are we missing?
| 
|  Thanks,
|  Dave
| 
|  ===
|  David R. Hannum
|  Web Analyst/Programmer
|  Ohio University Computer Services
|  Administrative Systems
|  (740) 597-2524
| 
|  If your wife is having fun, and you're not . . .
|  You're still having a lot more fun than if
|  you're having fun, and she's not!  (Red Green)
| 
| 
| 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: Microsoft UrlScan and CF

2002-10-11 Thread Chris White

I have used url scan also without any problems.  What version of the url
scan are you using that you had problems with?

Chris

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Friday, October 11, 2002 2:00 PM
To: CF-Talk
Subject: Re: Microsoft UrlScan and CF


Dave,

It was several months ago that I delt with this exact same situation.
It was URLScan and CF5 and I also got the additional header info
appearing in the page itself.  The reason for this is due to an
additional line feed being placed in the header.  This causes your
browser to prematurely think the headers are finished.

I trouble ticket with Microsoft and Macromedia was opened but each
company blamed the other for the problem.  Microsoft said that it was
Macromedia's problem because they don't do headers correctly.  Their
proof of this was the fact that .ASP pages don't exhibit the same
behavior.  You'll notice that .ASP pages put their headers up higher
and so they actually appear in the header section, not after the double
line feed.

Macromedia claimed that the problem was Microsoft's fault.  Their
proof was that everything worked fine if you uninstalled URLScan.

While both companies have a point, my personal judgment is that it's
Macromedia's fault.  My reasoning is simple... the problem does NOT
exist in ASP, PHP, or PERL.  This tells me that whatever/however
ColdFusion is doing their headers it doesn't seem to be right.  But my
testing seems to indicate that it's the URLScan utility that's adding
the additional linefeed and causing the problem.  So, both parties are
right and wrong at the same time.  If either one would change
something it would work fine.

I also want to point out that this was with IIS5, URLScan, and CF5.  I
do not know if a new version of URLScan has come out and I have not
tested this with CFMX.

In the end, my solution was to simply uninstall URLScan.

-Novak

- Original Message -
From: David Hannum [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, October 11, 2002 5:09 AM
Subject: Microsoft UrlScan and CF


 Is anyone using Microsoft's UrlScan with CF successfully?  Whenever 
 we've tried it, CF pages display additional header messages at the 
 top, such as:

 Content-type: text/html Page-Completion-Status: Normal
 Page-Completion-Status: Normal

 If UrlScan and CF can cohabitate, what are we missing?

 Thanks,
 Dave

 ===
 David R. Hannum
 Web Analyst/Programmer
 Ohio University Computer Services
 Administrative Systems
 (740) 597-2524

 If your wife is having fun, and you're not . . .
 You're still having a lot more fun than if
 you're having fun, and she's not!  (Red Green)

 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Multiple filters on cfdirectory

2002-10-11 Thread Scott Mulholland

Is there a way to achieve the following (multiple filters), it does not
seem to work this way:
 
cfdirectory action=LIST directory=#GetFullDir# name=ImgList
filter=*.gif, *.jpg sort=Name, Type
 
TIA,
Scott

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Q of Q question is leaving me clueless.

2002-10-11 Thread Che Vilnonis

This CFQUERY originally worked with ONE DSN:

---
cfquery name=getLineItems datasource=#Request.AppVars.DSN#
SELECT L.LineNum, L.Quantity, L.Price, L.Extended, L.OptPartNumber, L.WL_ID,
P.Product_ID, P.ProductTitle, P.PartNumber, O.OptTitle
FROM (LineItems L
LEFT JOIN Products P ON L.Product_ID = P.Product_ID)
LEFT JOIN Options O ON L.Opt_ID = O.Opt_ID
WHERE Order_ID=CFQUERYPARAM VALUE=#Val(Variables.Order_ID)#
CFSQLType=CF_SQL_INTEGER/CFQUERYPARAM
/cfquery
---

Now, I have TWO DSNs. One DSN that holds the LineItems table
and one DSN that holds the Products table and the Options table.
Don't ask why :(

Can I use QueryOfQuerys to solve my problem here?
I have absolutely no clue how to so this!

I would like the QofQ to have the SAME functionality of the
original query.

TIA...Ché

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: Attribute validation error for tag CFFILE SOLVED

2002-10-11 Thread Dale Coyner


To the several who responded to my CFFILE attribute problem:

Uh yep, that was it.  Changed CF to run as the same user that mapped the
drive and VOILA!
On to the next issue.  Thank you very much!

Regards,

d.


Becauseyou can not do it, as I found out the hard way the other
day, 
with the localsystem account. Run the cfservice under a user with
rights to 
the share and it should work.

At 06:03 PM 10/10/02 -0400, you wrote:
Is CF running as a user or the system account?

  -Original Message-
  From: Dale Coyner [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, October 10, 2002 4:13 PM
  To: CF-Talk
  Subject: Attribute validation error for tag CFFILE
 
 
 
  I'm trying to get CFFILE on Machine A to rename a file on Machine B.

  I have mapped a drive from Machine A to Machine B and I can
  add/edit/delete files.  However, I keep getting the same response
from




Re: Upgrading to MX

2002-10-11 Thread Jochem van Dieten

Andrew Peterson wrote:
 
Yes, but on one website as defined in IIS you have to choose between
either CFMX or CF 5.
 
 
 This is interesting. I'm looking at my IIS settings now - I have one
 website set up - the Default Web Site. Under Application Configuration,
 my .cfm files are being run by d:\CFUSION\bin\iscf.dll. Are you saying
 that I can create another website in IIS and follow the configuration
 instructions in the Installing CF MX document to have that particular
 website, which could actually point to a folder underneath the Default
 Web Site, to run my CF MX dll, i.e.
 cf_root\runtime\lib\wsconfig\1\jrun.dll? Wow, I'm starting to feel
 empowered :-)

Not just that, if you create another website you don't have to point it 
to some directory underneath the deafault website, you could point it to 
the default website just as easily. And if you run that website on 
another port you can take your time to check for migration issues and 
only transfer when you are sure you have worked out the CF MX kinks, 
while maintaining the option to switch back the ports in case you get 
into trouble.

Jochem

-- 
ColdFusion is like superglue; fast, easy and powerfull, but it should be 
applied only in thin layers.

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: Microsoft UrlScan and CF

2002-10-11 Thread Alex Hubner

Me too for CF5 and URLScan 2.5.

 -Original Message-
 From: samcfug [mailto:[EMAIL PROTECTED]] 
 Sent: sexta-feira, 11 de outubro de 2002 15:16
 To: CF-Talk
 Subject: Re: Microsoft UrlScan and CF
 
 
 I use URLScan and CF 5.0 and don't have the problem.  It is a 
 very small tweak to the URLScan configuration file
 
 Check out:
 
 http://samcfug.org
 http://www.strictlyhodaka.com
 http://www.justnextdoor.us
 
www.clickdoug.com/clients.htm


=
Douglas White
group Manager
mailto:[EMAIL PROTECTED]
http://www.samcfug.org
=
|
| - Original Message -
| From: David Hannum [EMAIL PROTECTED]
| To: CF-Talk [EMAIL PROTECTED]
| Sent: Friday, October 11, 2002 5:09 AM
| Subject: Microsoft UrlScan and CF
|
|
|  Is anyone using Microsoft's UrlScan with CF successfully?  Whenever 
|  we've tried it, CF pages display additional header messages at the 
|  top, such as:
| 
|  Content-type: text/html Page-Completion-Status: Normal
|  Page-Completion-Status: Normal
| 
|  If UrlScan and CF can cohabitate, what are we missing?
| 
|  Thanks,
|  Dave
| 
|  ===
|  David R. Hannum
|  Web Analyst/Programmer
|  Ohio University Computer Services
|  Administrative Systems
|  (740) 597-2524
| 
|  If your wife is having fun, and you're not . . .
|  You're still having a lot more fun than if
|  you're having fun, and she's not!  (Red Green)
| 
| 
| 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



DateDiff bug?!

2002-10-11 Thread Chris Edwards

-
cfscript
output = ;
for( i=7; i LTE 20; i=i+1 )
  {
  output = output  i  :   DateDiff( D, Now(), CreateDate( 2002, 10,
i ) )  br;
  }

/cfscript

cfoutput#output#/cfoutput
---

7: -4
8: -3
9: -2
10: -1
11: 0
12: 0   -  whats is going on here?
13: 1
14: 2
15: 3
16: 4
17: 5
18: 6
19: 7
20: 8

Whats up with that?


--
Chris Edwards
Web Application Developer
Outer Banks Internet, Inc.
252-441-6698
[EMAIL PROTECTED]
http://www.OuterBanksInternet.com


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: Visual Source Safe and CF Studio

2002-10-11 Thread Stephenie Hamilton

Any way to get Homesite with VSS to auto check a file back in when you
save/close it? Or do you always have to manually check it in?

~~
Stephenie Hamilton
Macromedia Certified ColdFusion Professional
CFXHosting





---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.399 / Virus Database: 226 - Release Date: 10/9/2002
 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Re: DateDiff bug?!

2002-10-11 Thread Michael Dinowitz

There is a datedif() bug in CFMX. Use the updater to fix it.



 -
 cfscript
 output = ;
 for( i=7; i LTE 20; i=i+1 )
   {
   output = output  i  :   DateDiff( D, Now(), CreateDate( 2002, 10,
 i ) )  br;
   }

 /cfscript

 cfoutput#output#/cfoutput
 ---

 7: -4
 8: -3
 9: -2
 10: -1
 11: 0
 12: 0   -  whats is going on here?
 13: 1
 14: 2
 15: 3
 16: 4
 17: 5
 18: 6
 19: 7
 20: 8

 Whats up with that?


 --
 Chris Edwards
 Web Application Developer
 Outer Banks Internet, Inc.
 252-441-6698
 [EMAIL PROTECTED]
 http://www.OuterBanksInternet.com


 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: DateDiff bug?!

2002-10-11 Thread Ben Doom

IIRC, it's saying that midnight tomorrow is less than 24 hours from now,
just as midnight this morning was less than 24 hrs from now.



  --Ben Doom
Programmer  General Lackey
Moonbow Software

: -Original Message-
: From: Chris Edwards [mailto:[EMAIL PROTECTED]]
: Sent: Friday, October 11, 2002 3:04 PM
: To: CF-Talk
: Subject: DateDiff bug?!
:
:
: -
: cfscript
: output = ;
: for( i=7; i LTE 20; i=i+1 )
:   {
:   output = output  i  :   DateDiff( D, Now(), CreateDate( 2002, 10,
: i ) )  br;
:   }
:
: /cfscript
:
: cfoutput#output#/cfoutput
: ---
:
: 7: -4
: 8: -3
: 9: -2
: 10: -1
: 11: 0
: 12: 0   -  whats is going on here?
: 13: 1
: 14: 2
: 15: 3
: 16: 4
: 17: 5
: 18: 6
: 19: 7
: 20: 8
:
: Whats up with that?
:
:
: --
: Chris Edwards
: Web Application Developer
: Outer Banks Internet, Inc.
: 252-441-6698
: [EMAIL PROTECTED]
: http://www.OuterBanksInternet.com
:
:
: 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



How is CFMX J2EE implemented?

2002-10-11 Thread Greg McDaniel

Can anyone answer or point me to a resource about the questions below?

How does the CFMX for J2EE run on a J2EE platform?
Is there a CF stub that has to be installed in a
J2EE Server that allows it to interpret CFMX or
does CFMX produce compiled byte code that
can run on the targeted hosting environment?

If CFMX J2EE is a plugin of some kind on a J2EE server, How do they slice up
the licensing:  Is it per CPU? Per server?  What about clustering?

Developer Licenses I guess are tied to the CFMX Studio, but what if you want
to develop off of a central server and you've purchased Production
licenses, do they allow you to develop off of the same license on a
different machine?

I haven't found any white papers detailing how the CFMX J2EE product is
implemented on the host.  My customer is in the middle of Architecting their
new environment and the purists don't want to put CF products in their J2EE
environment.

My client is trying to lower their total cost of ownership by dumping CF and
going to a pure J2EE environment.



Greg McDaniel

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



Re: Microsoft UrlScan and CF

2002-10-11 Thread cf-talk

What version of IIS, CF, and URLScan?

Also, something I believe I forgot to mention earlier... there's an option
to hide what type of webserver you're running.  Do you have that turned on
or off?  I don't recall for sure but I seem to remember that if you turned
the hide feature on you got problems.

Another problem with URLScan what that it really slows down pages that have
a lot of images.  For example, a product catalog application that had 20-30
thumbnails per page ran extremely slow.  We determined the cause to be due
to the fact that URLScan scans (obviously) every request to the server.  A
page request with 20 image thumbnails on it results in URLScan scanning 21
URLs.  The original URL, and the URLs for the 20 images.  Removing URLScan
sped up performance considerably.

Obviously this slowdown would only affect you if you were serving up pages
with a lot of IMG tags such as a product catalog.

-Novak

- Original Message -
From: Robert Everland [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, October 11, 2002 11:01 AM
Subject: RE: Microsoft UrlScan and CF


 I use urlscan and it works fine.

 Robert Everland III
 Web Developer Extraordinaire
 Dixon Ticonderoga Company
 http://www.dixonusa.com

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 11, 2002 2:00 PM
 To: CF-Talk
 Subject: Re: Microsoft UrlScan and CF


 Dave,

 It was several months ago that I delt with this exact same situation.  It
 was URLScan and CF5 and I also got the additional header info appearing in
 the page itself.  The reason for this is due to an additional line feed
 being placed in the header.  This causes your browser to prematurely think
 the headers are finished.

 I trouble ticket with Microsoft and Macromedia was opened but each company
 blamed the other for the problem.  Microsoft said that it was Macromedia's
 problem because they don't do headers correctly.  Their proof of this
 was the fact that .ASP pages don't exhibit the same behavior.  You'll
notice
 that .ASP pages put their headers up higher and so they actually appear
in
 the header section, not after the double line feed.

 Macromedia claimed that the problem was Microsoft's fault.  Their proof
 was that everything worked fine if you uninstalled URLScan.

 While both companies have a point, my personal judgment is that it's
 Macromedia's fault.  My reasoning is simple... the problem does NOT exist
in
 ASP, PHP, or PERL.  This tells me that whatever/however ColdFusion is
doing
 their headers it doesn't seem to be right.  But my testing seems to
 indicate that it's the URLScan utility that's adding the additional
linefeed
 and causing the problem.  So, both parties are right and wrong at the
 same time.  If either one would change something it would work fine.

 I also want to point out that this was with IIS5, URLScan, and CF5.  I do
 not know if a new version of URLScan has come out and I have not tested
this
 with CFMX.

 In the end, my solution was to simply uninstall URLScan.

 -Novak

 - Original Message -
 From: David Hannum [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Friday, October 11, 2002 5:09 AM
 Subject: Microsoft UrlScan and CF


  Is anyone using Microsoft's UrlScan with CF successfully?  Whenever
  we've tried it, CF pages display additional header messages at the
  top, such as:
 
  Content-type: text/html Page-Completion-Status: Normal
  Page-Completion-Status: Normal
 
  If UrlScan and CF can cohabitate, what are we missing?
 
  Thanks,
  Dave
 
  ===
  David R. Hannum
  Web Analyst/Programmer
  Ohio University Computer Services
  Administrative Systems
  (740) 597-2524
 
  If your wife is having fun, and you're not . . .
  You're still having a lot more fun than if
  you're having fun, and she's not!  (Red Green)
 
 

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: DateDiff bug?!

2002-10-11 Thread Robert Everland

I am getting the same results in CF5. IS is supposed to be like that? 

Robert Everland III
Web Developer Extraordinaire
Dixon Ticonderoga Company
http://www.dixonusa.com 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Friday, October 11, 2002 3:03 PM
To: CF-Talk
Subject: Re: DateDiff bug?!


There is a datedif() bug in CFMX. Use the updater to fix it.



 -
 cfscript
 output = ;
 for( i=7; i LTE 20; i=i+1 )
   {
   output = output  i  :   DateDiff( D, Now(), CreateDate( 2002, 
 10, i ) )  br;
   }

 /cfscript

 cfoutput#output#/cfoutput
 ---

 7: -4
 8: -3
 9: -2
 10: -1
 11: 0
 12: 0   -  whats is going on here?
 13: 1
 14: 2
 15: 3
 16: 4
 17: 5
 18: 6
 19: 7
 20: 8

 Whats up with that?


 --
 Chris Edwards
 Web Application Developer
 Outer Banks Internet, Inc.
 252-441-6698
 [EMAIL PROTECTED]
 http://www.OuterBanksInternet.com


 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: How is CFMX J2EE implemented?

2002-10-11 Thread Dave Watts

 How does the CFMX for J2EE run on a J2EE platform?
 Is there a CF stub that has to be installed in a
 J2EE Server that allows it to interpret CFMX or
 does CFMX produce compiled byte code that
 can run on the targeted hosting environment?

There's a CF stub that has to be installed on a J2EE server. Once this is
installed, cfm files can be compiled into classes, but those classes can't
be redeployed directly on another server that doesn't have CF.

 If CFMX J2EE is a plugin of some kind on a J2EE server, 
 How do they slice up the licensing: Is it per CPU? Per 
 server? What about clustering?

It's per-CPU:
http://www.macromedia.com/software/coldfusion/productinfo/features_by_editio
n/

 Developer Licenses I guess are tied to the CFMX Studio, 
 but what if you want to develop off of a central server 
 and you've purchased Production licenses, do they allow 
 you to develop off of the same license on a different 
 machine?

There's no developer license, really. If you buy CF Enterprise or
Professional Edition, you can have as many people as you want writing code
on that server. Dreamweaver MX is considered by Macromedia to be the optimal
development IDE for CF, and if you wanted to use that, each developer would
need a license for that, but if all your developers use vi or Notepad, you
wouldn't have to purchase any additional licenses for anything beyond your
server license.

 My client is trying to lower their total cost of ownership 
 by dumping CF and going to a pure J2EE environment.

I think there's a good argument that using CF may lower TCO, rather than
raise it. CFML code is easier to develop and debug than JSP code, in my
opinion, and that's where the real costs are. You can use CFML as the
presentation logic tier for a J2EE application, with CF MX.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Java 1.4 and CF 5

2002-10-11 Thread Michael Dinowitz

Could someone with a lot of experience with CF and java (specifically 1.4)
please contact me off list? I've got an idea that I'm trying to test out and
may need some specialty information.
Thanks

Michael Dinowitz
Master of the House of Fusion
http://www.houseoffusion.com

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: How is CFMX J2EE implemented?

2002-10-11 Thread Matt Liotta

 Can anyone answer or point me to a resource about the questions below?
 
Sure

 How does the CFMX for J2EE run on a J2EE platform?

CFMX is simply a J2EE application that is run by a J2EE application
server.

 Is there a CF stub that has to be installed in a
 J2EE Server that allows it to interpret CFMX or
 does CFMX produce compiled byte code that
 can run on the targeted hosting environment?
 
The CFMX application is a specialized servlet complier along with some
associated application infrastructure. CF templates are simply extended
versions of JSPs that are compiled into servlets just like JSPs. This
compiler is implemented as part of the CFMX application.

 If CFMX J2EE is a plugin of some kind on a J2EE server, How do they
slice
 up
 the licensing:  Is it per CPU? Per server?  What about clustering?
 
Take a look at http://store.macromedia.com for answers to these
questions.

 Developer Licenses I guess are tied to the CFMX Studio, but what if
you
 want
 to develop off of a central server and you've purchased Production
 licenses, do they allow you to develop off of the same license on a
 different machine?
 
There is no product named CFMX Studio. You can however obtain a
developer license to CFMX as a free download, see
http://www.macromedia.com.

 My client is trying to lower their total cost of ownership by dumping
CF
 and
 going to a pure J2EE environment.
 
Well your client may be out of luck then. Generally speaking, the TOC of
J2EE is significantly higher than CF.

-Matt

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Re: Microsoft UrlScan and CF

2002-10-11 Thread cf-talk

Not sure about 4.5.1... the problems I experienced were on CF5, W2K, all
patches.

One thing I forgot to mention before was that I believe the problem occurred
when we used the hide server feature.  That's the feature in URLScan which
hides the fact that the web server is IIS.

-Novak

- Original Message -
From: Matt Robertson [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, October 11, 2002 11:09 AM
Subject: RE: Microsoft UrlScan and CF


 I use urlscan and have no problems.  I have CF 4.5.1 sp2 and Win2k sp3
with all subsequent patches.

 ---
 Matt Robertson[EMAIL PROTECTED]
 MSB Designs, Inc., www.mysecretbase.com
 ---



 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



cfheader and statuscode=500

2002-10-11 Thread Dan Haley

Can I do this?  I've successfully used cfheader statuscode=302 and
caused a redirect, but I can't get CF to return a statuscode=500 or
statuscode=404.  We are putting in a new switch to handle traffic to our
servers and we wan't it to redirect traffic if it gets anything other than
an HTTP status of 200.  The page it is checking has CF code in it to verify
that the database is available, and if there are any errors I want to return
a 500 status so the switch redirects to the other server.  Using CF4.5 on
Win2K with IIS.

TIA,
Dan
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: CFINCLUDE in CFMX so sloooow !

2002-10-11 Thread Michael Corbridge

I just wanted to add some data to this...

initial run:

included page
first Method = 21453 
second Method = 1860 
total = 23313 
/included page

base page
runtime = 25297
/base page

-

second run:

included page
first Method = 22203 
second Method = 1625 
total = 23828 
/included page

base page
runtime = 23828
/base page


The included page contains two calls to a webservice (first method, second method).

Note that the first run takes an additional 2 seconds. On subsequent runs no overhead 
is realized by utilizing the cfinclude.

michael d corbridge
macromedia
617.219.2307
[EMAIL PROTECTED]




-Original Message-
From: [mRg] [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 11, 2002 1:23 PM
To: CF-Talk
Subject: Re: CFINCLUDE in CFMX so slw !


Thanks ! Yeah it does get quicker afterwards  .. i was worried whether it
was gonna be that slow the first time they visit that page .. looks like it
will

Ill give it a try with the debugger off too see if it speeds up !

- Original Message -
From: Mark A. Kruger - CFG [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, October 11, 2002 6:10 PM
Subject: RE: CFINCLUDE in CFMX so slw !


 Stephen - it should ONLY be slow on the first time it is loaded.  After
that
 it should be quite fast.  The reason is that CFMX compiles the page into
 Java classes.  That initial slowness is due to the compiler.

 -mk

 -Original Message-
 From: [mRg] [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 11, 2002 12:05 PM
 To: CF-Talk
 Subject: CFINCLUDE in CFMX so slw !


 Lo all !

 Just curious as to why in CFMX, when i use CFINCLUDE to bring in other
code,
 the process time of the page shoots up dramatically! I dont remeber this
 being a problem before in versions 4.5 / 5 !

 I have heard that in CFMX it interpretes the page before including and not
 after including so it can be used in CFSCRIPT . is this true ?

 Does anyone know a work around ? ... cause that kinda sucks as my page
 process times have gone from 30ms - 300ms.
 I like to use CFINCLUDE so i can have nice tidy pages (well sort of tidy!)
 . i hope i dont have to have all my code on one lng page !

 I hope someone can shed some light on this matter !

 Thanks guys n gals

 Stephen Pope / ColdFusion Developer


 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: DateDiff bug?!

2002-10-11 Thread Chris Edwards

I had to do this...

CreateDate( Year(Now()), Month(Now()), Day(Now()) )

instead of...

 Now()

strange

--
Chris Edwards
Web Application Developer
Outer Banks Internet, Inc.
252-441-6698
[EMAIL PROTECTED]
http://www.OuterBanksInternet.com

- Original Message -
From: Robert Everland [EMAIL PROTECTED];
[EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, October 11, 2002 3:13 PM
Subject: RE: DateDiff bug?!


 I am getting the same results in CF5. IS is supposed to be like that?

 Robert Everland III
 Web Developer Extraordinaire
 Dixon Ticonderoga Company
 http://www.dixonusa.com

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 11, 2002 3:03 PM
 To: CF-Talk
 Subject: Re: DateDiff bug?!


 There is a datedif() bug in CFMX. Use the updater to fix it.



  -
  cfscript
  output = ;
  for( i=7; i LTE 20; i=i+1 )
{
output = output  i  :   DateDiff( D, Now(), CreateDate( 2002,
  10, i ) )  br;
}
 
  /cfscript
 
  cfoutput#output#/cfoutput
  ---
 
  7: -4
  8: -3
  9: -2
  10: -1
  11: 0
  12: 0   -  whats is going on here?
  13: 1
  14: 2
  15: 3
  16: 4
  17: 5
  18: 6
  19: 7
  20: 8
 
  Whats up with that?
 
 
  --
  Chris Edwards
  Web Application Developer
  Outer Banks Internet, Inc.
  252-441-6698
  [EMAIL PROTECTED]
  http://www.OuterBanksInternet.com
 
 
 

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Re: Multiple filters on cfdirectory

2002-10-11 Thread Randell B Adkins

Only one filter can be applied.

You can do a check on the extension of the file and if it does not
match your criteria, do nothing, else display the file name and such.



 [EMAIL PROTECTED] 10/11/02 02:38PM 
Is there a way to achieve the following (multiple filters), it does
not
seem to work this way:
 
cfdirectory action=LIST directory=#GetFullDir# name=ImgList
filter=*.gif, *.jpg sort=Name, Type
 
TIA,
Scott


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Re: Microsoft UrlScan and CF

2002-10-11 Thread Matt Robertson

Ah.  As I (sort of vaguely) recall it resulted in headers being shown... which of 
course was your problem.

Interesting that you tracked this down as well as you did.  I wasn't willing to do 
without the tool and as such let the world know I'm another dummy using IIS :D

---
Matt Robertson[EMAIL PROTECTED]
MSB Designs, Inc., www.mysecretbase.com
---


-- Original Message --
from: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
date: Fri, 11 Oct 2002 12:19:49 -0700

Not sure about 4.5.1... the problems I experienced were on CF5, W2K, all
patches.

One thing I forgot to mention before was that I believe the problem occurred
when we used the hide server feature.  That's the feature in URLScan which
hides the fact that the web server is IIS.

-Novak

- Original Message -
From: Matt Robertson [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, October 11, 2002 11:09 AM
Subject: RE: Microsoft UrlScan and CF


 I use urlscan and have no problems.  I have CF 4.5.1 sp2 and Win2k sp3
with all subsequent patches.

 ---
 Matt Robertson[EMAIL PROTECTED]
 MSB Designs, Inc., www.mysecretbase.com
 ---



 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: DateDiff bug?!

2002-10-11 Thread Robert Everland

Weird I had filled in 10/11/2002 in there and it still had the bug. That's
kind of weird that it would work this way.

Robert Everland III
Web Developer Extraordinaire
Dixon Ticonderoga Company
http://www.dixonusa.com 

-Original Message-
From: Chris Edwards [mailto:[EMAIL PROTECTED]] 
Sent: Friday, October 11, 2002 3:48 PM
To: CF-Talk
Subject: Re: DateDiff bug?!


I had to do this...

CreateDate( Year(Now()), Month(Now()), Day(Now()) )

instead of...

 Now()

strange

--
Chris Edwards
Web Application Developer
Outer Banks Internet, Inc.
252-441-6698
[EMAIL PROTECTED]
http://www.OuterBanksInternet.com

- Original Message -
From: Robert Everland [EMAIL PROTECTED];
[EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, October 11, 2002 3:13 PM
Subject: RE: DateDiff bug?!


 I am getting the same results in CF5. IS is supposed to be like that?

 Robert Everland III
 Web Developer Extraordinaire
 Dixon Ticonderoga Company
 http://www.dixonusa.com

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 11, 2002 3:03 PM
 To: CF-Talk
 Subject: Re: DateDiff bug?!


 There is a datedif() bug in CFMX. Use the updater to fix it.



  -
  cfscript
  output = ;
  for( i=7; i LTE 20; i=i+1 )
{
output = output  i  :   DateDiff( D, Now(), CreateDate( 
  2002, 10, i ) )  br;
}
 
  /cfscript
 
  cfoutput#output#/cfoutput
  ---
 
  7: -4
  8: -3
  9: -2
  10: -1
  11: 0
  12: 0   -  whats is going on here?
  13: 1
  14: 2
  15: 3
  16: 4
  17: 5
  18: 6
  19: 7
  20: 8
 
  Whats up with that?
 
 
  --
  Chris Edwards
  Web Application Developer
  Outer Banks Internet, Inc.
  252-441-6698
  [EMAIL PROTECTED]
  http://www.OuterBanksInternet.com
 
 
 

 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: How is CFMX J2EE implemented?

2002-10-11 Thread Vince Bonfanti

Greg,

This isn't a direct answer to your questions, but you should be aware of
BlueDragon/J2EE, which offers the following advantages over CFMX/J2EE:

  - BlueDragon allows you to deploy CFML pages onto any standard J2EE
application server; CFMX supports only a limited number of J2EE servers.
Most significantly, BlueDragon supports BEA WebLogic and CFMX does not
(New Atlanta, the creator of BlueDragon, is a BEA Star Partner). Support
for CFMX on WebLogic is planned for a future release.

  - BlueDragon allows you to deploy CFML pages within a standard J2EE
Web Archive (WAR) file; CFMX does not.

  - BlueDragon allows you to deploy CFML pages within multiple
independent web applications; CFMX requires that you deploy all of your
CFML pages within a single web application.

You can find out more about BlueDragon/J2EE on New Atlanta's web site:

   http://www.newatlanta.com/products/bluedragon/index.cfm

Regards,

Vince Bonfanti
New Atlanta Communications, LLC
http://www.newatlanta.com

 -Original Message-
 From: Greg McDaniel [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, October 11, 2002 3:08 PM
 To: CF-Talk
 Subject: How is CFMX J2EE implemented?
 
 
 Can anyone answer or point me to a resource about the questions below?
 
 How does the CFMX for J2EE run on a J2EE platform?
 Is there a CF stub that has to be installed in a
 J2EE Server that allows it to interpret CFMX or
 does CFMX produce compiled byte code that
 can run on the targeted hosting environment?
 
 If CFMX J2EE is a plugin of some kind on a J2EE server, How 
 do they slice up the licensing:  Is it per CPU? Per server?  
 What about clustering?
 
 Developer Licenses I guess are tied to the CFMX Studio, but 
 what if you want to develop off of a central server and 
 you've purchased Production licenses, do they allow you to 
 develop off of the same license on a different machine?
 
 I haven't found any white papers detailing how the CFMX J2EE 
 product is implemented on the host.  My customer is in the 
 middle of Architecting their new environment and the purists 
 don't want to put CF products in their J2EE environment.
 
 My client is trying to lower their total cost of ownership by 
 dumping CF and going to a pure J2EE environment.
 
 
 
 Greg McDaniel
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: To CFMX, or to PHP or JSP?

2002-10-11 Thread Vince Bonfanti

The decision of whether or not to continue doing business with
Macromedia isn't directly related to the decision of whether or not to
keep using CFML. There is another CFML vendor in the market:

  http://www.newatlanta.com/products/bluedragon/index.cfm

Vince Bonfanti
New Atlanta Communications, LLC
http://www.newatlanta.com

 -Original Message-
 From: Greg Bullough [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, October 11, 2002 10:35 AM
 To: CF-Talk
 Subject: RE: To CFMX, or to PHP or JSP?
 
 
 At 09:38 AM 10/11/02 -0400, Matt Liotta wrote:
 Without directly addressing the spirit of your question, let 
 me make an 
 observation. You don't have to choose Java/JSP over CF.
 
 Oh, agreed. However, the question is not so much of which 
 language, Java/JSP or CFML appeals most to my soul but rather 
 of whether, in the current business climate, I find it to be 
 worth-while to continue doing business with Macromedia.
 
 Greg


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Re: Multiple filters on cfdirectory

2002-10-11 Thread S . Isaac Dealey

 Only one filter can be applied.

 You can do a check on the extension of the file and if it does not
 match your criteria, do nothing, else display the file name and such.



 [EMAIL PROTECTED] 10/11/02 02:38PM 
 Is there a way to achieve the following (multiple filters), it does
 not
 seem to work this way:

 cfdirectory action=LIST directory=#GetFullDir# name=ImgList
 filter=*.gif, *.jpg sort=Name, Type

 TIA,
 Scott

There's a way to simulate it if you're using CF 5 or MX ... Try putting this
in a custom tag and using the ct to call your cfdirectory ...

cfdirectory action=list directory=#getfulldir#
name=giflist filter=*.gif sort=name
cfset upper = listtoarray(ucase(valuelist(giflist.name)))
cfset temp = QueryAddColumn(giflist,upper,upper)

cfdirectory action=list directory=#getfulldir#
name=jpglist filter=*.jpg sort=name
cfset upper = listtoarray(ucase(valuelist(jpglist.name)))
cfset temp = QueryAddColumn(jpglist,upper,upper)

cfquery name=imglist dbtype=query
select * from giflist union
select * from jpglist
order by upper
/cfquery

The queryaddcolumn() is to allow for CF 5 case-sensitive sorting to sort the
QofQ in a case-insensitive maner. Of course -- this code is long enough that
you'd probably get more mileage out of a custom tag which would take in the
directory name and your desired multi-extension filter list. The filter list
would then be used to create an array of cfdirectory queries to union
within the query of query, and that way you could specify as many and
whatever type of filters you wanted, plus it's portable code, so you can
drag it around wherever you want it.

hth

S. Isaac Dealey
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Re: How is CFMX J2EE implemented?

2002-10-11 Thread Fregas

Boy Vince, you sure are pushing Blue Dragon.  Oh wait, that's right, you
work for them!  By the way, how do you keep from being sued by Macromedia?
Isn't CFML copyrighted or something?  Just curious...

Craig


- Original Message -
From: Vince Bonfanti [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, October 11, 2002 2:55 PM
Subject: RE: How is CFMX J2EE implemented?


 Greg,

 This isn't a direct answer to your questions, but you should be aware of
 BlueDragon/J2EE, which offers the following advantages over CFMX/J2EE:

   - BlueDragon allows you to deploy CFML pages onto any standard J2EE
 application server; CFMX supports only a limited number of J2EE servers.
 Most significantly, BlueDragon supports BEA WebLogic and CFMX does not
 (New Atlanta, the creator of BlueDragon, is a BEA Star Partner). Support
 for CFMX on WebLogic is planned for a future release.

   - BlueDragon allows you to deploy CFML pages within a standard J2EE
 Web Archive (WAR) file; CFMX does not.

   - BlueDragon allows you to deploy CFML pages within multiple
 independent web applications; CFMX requires that you deploy all of your
 CFML pages within a single web application.

 You can find out more about BlueDragon/J2EE on New Atlanta's web site:

http://www.newatlanta.com/products/bluedragon/index.cfm

 Regards,

 Vince Bonfanti
 New Atlanta Communications, LLC
 http://www.newatlanta.com

  -Original Message-
  From: Greg McDaniel [mailto:[EMAIL PROTECTED]]
  Sent: Friday, October 11, 2002 3:08 PM
  To: CF-Talk
  Subject: How is CFMX J2EE implemented?
 
 
  Can anyone answer or point me to a resource about the questions below?
 
  How does the CFMX for J2EE run on a J2EE platform?
  Is there a CF stub that has to be installed in a
  J2EE Server that allows it to interpret CFMX or
  does CFMX produce compiled byte code that
  can run on the targeted hosting environment?
 
  If CFMX J2EE is a plugin of some kind on a J2EE server, How
  do they slice up the licensing:  Is it per CPU? Per server?
  What about clustering?
 
  Developer Licenses I guess are tied to the CFMX Studio, but
  what if you want to develop off of a central server and
  you've purchased Production licenses, do they allow you to
  develop off of the same license on a different machine?
 
  I haven't found any white papers detailing how the CFMX J2EE
  product is implemented on the host.  My customer is in the
  middle of Architecting their new environment and the purists
  don't want to put CF products in their J2EE environment.
 
  My client is trying to lower their total cost of ownership by
  dumping CF and going to a pure J2EE environment.
 
 
 
  Greg McDaniel
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: Multiple filters on cfdirectory

2002-10-11 Thread Gene Kraybill

If you really needed the results in a single query, you could retrieve ALL
the files and then do a query of a query using a condition like this:

WHERE Name LIKE '%.gif'
AND Name LIKE '%.jpg' 

or possibly run cfdirectory twice - once for each extension - and use the
query functions to merge the two result sets...

Gene Kraybill

-Original Message-
From: Randell B Adkins [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 11, 2002 3:46 PM
To: CF-Talk
Subject: Re: Multiple filters on cfdirectory


Only one filter can be applied.

You can do a check on the extension of the file and if it does not
match your criteria, do nothing, else display the file name and such.



 [EMAIL PROTECTED] 10/11/02 02:38PM 
Is there a way to achieve the following (multiple filters), it does
not
seem to work this way:
 
cfdirectory action=LIST directory=#GetFullDir# name=ImgList
filter=*.gif, *.jpg sort=Name, Type
 
TIA,
Scott



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: How is CFMX J2EE implemented?

2002-10-11 Thread Matt Liotta

I don't believe the syntax of a programming or scripting language is
proprietary; only the implementation is.

Matt Liotta
President  CEO
Montara Software, Inc.
http://www.montarasoftware.com/
888-408-0900 x901

 -Original Message-
 From: Fregas [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 11, 2002 4:08 PM
 To: CF-Talk
 Subject: Re: How is CFMX J2EE implemented?
 
 Boy Vince, you sure are pushing Blue Dragon.  Oh wait, that's right,
you
 work for them!  By the way, how do you keep from being sued by
Macromedia?
 Isn't CFML copyrighted or something?  Just curious...
 
 Craig
 
 
 - Original Message -
 From: Vince Bonfanti [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Friday, October 11, 2002 2:55 PM
 Subject: RE: How is CFMX J2EE implemented?
 
 
  Greg,
 
  This isn't a direct answer to your questions, but you should be
aware of
  BlueDragon/J2EE, which offers the following advantages over
CFMX/J2EE:
 
- BlueDragon allows you to deploy CFML pages onto any standard
J2EE
  application server; CFMX supports only a limited number of J2EE
servers.
  Most significantly, BlueDragon supports BEA WebLogic and CFMX does
not
  (New Atlanta, the creator of BlueDragon, is a BEA Star Partner).
Support
  for CFMX on WebLogic is planned for a future release.
 
- BlueDragon allows you to deploy CFML pages within a standard
J2EE
  Web Archive (WAR) file; CFMX does not.
 
- BlueDragon allows you to deploy CFML pages within multiple
  independent web applications; CFMX requires that you deploy all of
your
  CFML pages within a single web application.
 
  You can find out more about BlueDragon/J2EE on New Atlanta's web
site:
 
 http://www.newatlanta.com/products/bluedragon/index.cfm
 
  Regards,
 
  Vince Bonfanti
  New Atlanta Communications, LLC
  http://www.newatlanta.com
 
   -Original Message-
   From: Greg McDaniel [mailto:[EMAIL PROTECTED]]
   Sent: Friday, October 11, 2002 3:08 PM
   To: CF-Talk
   Subject: How is CFMX J2EE implemented?
  
  
   Can anyone answer or point me to a resource about the questions
below?
  
   How does the CFMX for J2EE run on a J2EE platform?
   Is there a CF stub that has to be installed in a
   J2EE Server that allows it to interpret CFMX or
   does CFMX produce compiled byte code that
   can run on the targeted hosting environment?
  
   If CFMX J2EE is a plugin of some kind on a J2EE server, How
   do they slice up the licensing:  Is it per CPU? Per server?
   What about clustering?
  
   Developer Licenses I guess are tied to the CFMX Studio, but
   what if you want to develop off of a central server and
   you've purchased Production licenses, do they allow you to
   develop off of the same license on a different machine?
  
   I haven't found any white papers detailing how the CFMX J2EE
   product is implemented on the host.  My customer is in the
   middle of Architecting their new environment and the purists
   don't want to put CF products in their J2EE environment.
  
   My client is trying to lower their total cost of ownership by
   dumping CF and going to a pure J2EE environment.
  
  
  
   Greg McDaniel
  
  
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: Multiple filters on cfdirectory

2002-10-11 Thread Scott Mulholland

Thanks,
That is what I'm currently doing, was hoping to break out the directory
calls by file type (images/non-images) and then just refer to the
recordset I needed.

Guess I'll have to leave it this way.

Scott

-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] 
Sent: Friday, October 11, 2002 3:02 PM
To: CF-Talk
Subject: Re: Multiple filters on cfdirectory


 Only one filter can be applied.

 You can do a check on the extension of the file and if it does not 
 match your criteria, do nothing, else display the file name and such.



 [EMAIL PROTECTED] 10/11/02 02:38PM 
 Is there a way to achieve the following (multiple filters), it does 
 not seem to work this way:

 cfdirectory action=LIST directory=#GetFullDir# name=ImgList 
 filter=*.gif, *.jpg sort=Name, Type

 TIA,
 Scott

There's a way to simulate it if you're using CF 5 or MX ... Try putting
this in a custom tag and using the ct to call your cfdirectory ...

cfdirectory action=list directory=#getfulldir# name=giflist
filter=*.gif sort=name cfset upper =
listtoarray(ucase(valuelist(giflist.name)))
cfset temp = QueryAddColumn(giflist,upper,upper)

cfdirectory action=list directory=#getfulldir# name=jpglist
filter=*.jpg sort=name cfset upper =
listtoarray(ucase(valuelist(jpglist.name)))
cfset temp = QueryAddColumn(jpglist,upper,upper)

cfquery name=imglist dbtype=query
select * from giflist union
select * from jpglist
order by upper
/cfquery

The queryaddcolumn() is to allow for CF 5 case-sensitive sorting to sort
the QofQ in a case-insensitive maner. Of course -- this code is long
enough that you'd probably get more mileage out of a custom tag which
would take in the directory name and your desired multi-extension filter
list. The filter list would then be used to create an array of
cfdirectory queries to union within the query of query, and that way
you could specify as many and whatever type of filters you wanted, plus
it's portable code, so you can drag it around wherever you want it.

hth

S. Isaac Dealey
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: How is CFMX J2EE implemented?

2002-10-11 Thread Mike Brunt

I think this post is VERY disrespectful on the CF Talk list.  Most of us are
aware of Blue Dragon and should we wish to use will do so.

Kind Regards - Mike Brunt, CTO
Webapper
http://www.webapper.com
Downey CA Office
562.243.6255
AIM - webappermb

Webapper - Making the NET work


-Original Message-
From: Vince Bonfanti [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 11, 2002 12:56 PM
To: CF-Talk
Subject: RE: How is CFMX J2EE implemented?


Greg,

This isn't a direct answer to your questions, but you should be aware of
BlueDragon/J2EE, which offers the following advantages over CFMX/J2EE:

  - BlueDragon allows you to deploy CFML pages onto any standard J2EE
application server; CFMX supports only a limited number of J2EE servers.
Most significantly, BlueDragon supports BEA WebLogic and CFMX does not
(New Atlanta, the creator of BlueDragon, is a BEA Star Partner). Support
for CFMX on WebLogic is planned for a future release.

  - BlueDragon allows you to deploy CFML pages within a standard J2EE
Web Archive (WAR) file; CFMX does not.

  - BlueDragon allows you to deploy CFML pages within multiple
independent web applications; CFMX requires that you deploy all of your
CFML pages within a single web application.

You can find out more about BlueDragon/J2EE on New Atlanta's web site:

   http://www.newatlanta.com/products/bluedragon/index.cfm

Regards,

Vince Bonfanti
New Atlanta Communications, LLC
http://www.newatlanta.com

 -Original Message-
 From: Greg McDaniel [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 11, 2002 3:08 PM
 To: CF-Talk
 Subject: How is CFMX J2EE implemented?


 Can anyone answer or point me to a resource about the questions below?

 How does the CFMX for J2EE run on a J2EE platform?
 Is there a CF stub that has to be installed in a
 J2EE Server that allows it to interpret CFMX or
 does CFMX produce compiled byte code that
 can run on the targeted hosting environment?

 If CFMX J2EE is a plugin of some kind on a J2EE server, How
 do they slice up the licensing:  Is it per CPU? Per server?
 What about clustering?

 Developer Licenses I guess are tied to the CFMX Studio, but
 what if you want to develop off of a central server and
 you've purchased Production licenses, do they allow you to
 develop off of the same license on a different machine?

 I haven't found any white papers detailing how the CFMX J2EE
 product is implemented on the host.  My customer is in the
 middle of Architecting their new environment and the purists
 don't want to put CF products in their J2EE environment.

 My client is trying to lower their total cost of ownership by
 dumping CF and going to a pure J2EE environment.



 Greg McDaniel



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: Another MX boo boo

2002-10-11 Thread Sean A Corfield

On Friday, Oct 11, 2002, at 09:30 US/Pacific, Rob Rohan wrote:
 It's the Default Locale, and JRE 1.4.1

Hmm, a lot of people are running JRE 1.3.1 so this might be the 
culprit? Can anyone else running 1.4.1 confirm (or deny) this 
dateFormat problem? Can anyone who *is* seeing the bug please post 
their JRE version?

We'll get this nailed down!

Thanx,
Sean

I have always wished that my computer would be as easy to use as my 
telephone.
  My wish has come true - I no longer know how to use my telephone.
-- Bjarne Stroustrup

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Re: How is CFMX J2EE implemented?

2002-10-11 Thread Jochem van Dieten

Mike Brunt wrote:
 I think this post is VERY disrespectful on the CF Talk list.

Why?

Jochem

-- 
ColdFusion is like superglue; fast, easy and powerfull, but some people 
show an allergic raction.

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: Multiple filters on cfdirectory

2002-10-11 Thread S . Isaac Dealey

I've not had luck using LIKE in CF 5 QofQ...

 If you really needed the results in a single query, you
 could retrieve ALL
 the files and then do a query of a query using a
 condition like this:

 WHERE Name LIKE '%.gif'
 AND Name LIKE '%.jpg'

 or possibly run cfdirectory twice - once for each
 extension - and use the
 query functions to merge the two result sets...

 Gene Kraybill

 -Original Message-
 From: Randell B Adkins [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 11, 2002 3:46 PM
 To: CF-Talk
 Subject: Re: Multiple filters on cfdirectory


 Only one filter can be applied.

 You can do a check on the extension of the file and if it
 does not
 match your criteria, do nothing, else display the file
 name and such.



 [EMAIL PROTECTED] 10/11/02 02:38PM 
 Is there a way to achieve the following (multiple
 filters), it does
 not
 seem to work this way:

 cfdirectory action=LIST directory=#GetFullDir#
 name=ImgList
 filter=*.gif, *.jpg sort=Name, Type

 TIA,
 Scott



 ~~
 ~~~|
 Archives:
 http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
 Subscription: http://www.houseoffusion.com/index.cfm?sideb
 ar=listsbody=lists/cf_talk
 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
 Signup for the Fusion Authority news alert and keep up
 with the latest news in ColdFusion and related topics.
 http://www.fusionauthority.com/signup.cfm


Isaac
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: How is CFMX J2EE implemented?

2002-10-11 Thread Matt Liotta

Would you mind expanding on why it is disrespectful? This is a mailing
list for the discussion of technical issues relating to CFML. I don't
see why alternative implementations of CFML should have any less right
to be discussed here. I personally think it is great that we now have
another vendor in the CFML space. Competition is supposed to be good
right?

Matt Liotta
President  CEO
Montara Software, Inc.
http://www.montarasoftware.com/
888-408-0900 x901

 -Original Message-
 From: Mike Brunt [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 11, 2002 4:23 PM
 To: CF-Talk
 Subject: RE: How is CFMX J2EE implemented?
 
 I think this post is VERY disrespectful on the CF Talk list.  Most of
us
 are
 aware of Blue Dragon and should we wish to use will do so.
 
 Kind Regards - Mike Brunt, CTO
 Webapper
 http://www.webapper.com
 Downey CA Office
 562.243.6255
 AIM - webappermb
 
 Webapper - Making the NET work
 
 
 -Original Message-
 From: Vince Bonfanti [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 11, 2002 12:56 PM
 To: CF-Talk
 Subject: RE: How is CFMX J2EE implemented?
 
 
 Greg,
 
 This isn't a direct answer to your questions, but you should be aware
of
 BlueDragon/J2EE, which offers the following advantages over CFMX/J2EE:
 
   - BlueDragon allows you to deploy CFML pages onto any standard J2EE
 application server; CFMX supports only a limited number of J2EE
servers.
 Most significantly, BlueDragon supports BEA WebLogic and CFMX does not
 (New Atlanta, the creator of BlueDragon, is a BEA Star Partner).
Support
 for CFMX on WebLogic is planned for a future release.
 
   - BlueDragon allows you to deploy CFML pages within a standard J2EE
 Web Archive (WAR) file; CFMX does not.
 
   - BlueDragon allows you to deploy CFML pages within multiple
 independent web applications; CFMX requires that you deploy all of
your
 CFML pages within a single web application.
 
 You can find out more about BlueDragon/J2EE on New Atlanta's web site:
 
http://www.newatlanta.com/products/bluedragon/index.cfm
 
 Regards,
 
 Vince Bonfanti
 New Atlanta Communications, LLC
 http://www.newatlanta.com
 
  -Original Message-
  From: Greg McDaniel [mailto:[EMAIL PROTECTED]]
  Sent: Friday, October 11, 2002 3:08 PM
  To: CF-Talk
  Subject: How is CFMX J2EE implemented?
 
 
  Can anyone answer or point me to a resource about the questions
below?
 
  How does the CFMX for J2EE run on a J2EE platform?
  Is there a CF stub that has to be installed in a
  J2EE Server that allows it to interpret CFMX or
  does CFMX produce compiled byte code that
  can run on the targeted hosting environment?
 
  If CFMX J2EE is a plugin of some kind on a J2EE server, How
  do they slice up the licensing:  Is it per CPU? Per server?
  What about clustering?
 
  Developer Licenses I guess are tied to the CFMX Studio, but
  what if you want to develop off of a central server and
  you've purchased Production licenses, do they allow you to
  develop off of the same license on a different machine?
 
  I haven't found any white papers detailing how the CFMX J2EE
  product is implemented on the host.  My customer is in the
  middle of Architecting their new environment and the purists
  don't want to put CF products in their J2EE environment.
 
  My client is trying to lower their total cost of ownership by
  dumping CF and going to a pure J2EE environment.
 
 
 
  Greg McDaniel
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: Multiple filters on cfdirectory

2002-10-11 Thread jon hall

cffile returns a query recordset. Use query of queries to do your
filtering.

-- 
 jon
 mailto:[EMAIL PROTECTED]

Friday, October 11, 2002, 2:38:46 PM, you wrote:
SM Is there a way to achieve the following (multiple filters), it does not
SM seem to work this way:
 
SM cfdirectory action=LIST directory=#GetFullDir# name=ImgList
SM filter=*.gif, *.jpg sort=Name, Type
 
SM TIA,
SM Scott

SM 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



  1   2   >