write component/object with cfscript

2005-07-01 Thread BOUDOT Christian
Hi Folks, I am writing an object definition with cfcomponent and I would like to use cfscript inside. I couldn't find any reference if there was a way to specify the access type and the return type of a function (method) with cfscript like you would do it in Java. public boolean

Re: write component/object with cfscript

2005-07-01 Thread John Beynon
CFCs have to be written as tags, cfcomponent, cffunction, cfscript can be used inside the cffunction though. john. On 7/1/05, BOUDOT Christian [EMAIL PROTECTED] wrote: Hi Folks, I am writing an object definition with cfcomponent and I would like to use cfscript inside. I couldn't find

Re: Best practices for CFMX 6.1 to CFMX 7 Standard Upgrade

2005-07-01 Thread Robert Munn
Well, you can't use archive and deploy, as far as I know. I've been thinking for some time of writing a version of archive and deploy for myself to use on Standard installs, but honestly since my company has Ent. I've never been sufficiently motivated to do it. Do you have the motivation to

RE: weird coldfuson errors

2005-07-01 Thread Robertson-Ravo, Neil (RX)
Well, it is still good practice to lock - you may still get a race condition... -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: 30 June 2005 19:29 To: CF-Talk Subject: weird coldfuson errors We've been getting weird errors in our sites. I just can't explain it.. If this

Sending multipart/mixed e-mails with CFMX 7

2005-07-01 Thread Neculai Macarie
Hi! I'm not able to send multipart/mixed e-mails with CFMX 7 (the code on CF5 was constructing the message just fine, but now CFMX 7 is forcing me to use cfmailpart). Even the simplest message is received as multipart/alternative: cfmail from=email to=email type=multipart/mixed subject=test

Re: Sending multipart/mixed e-mails with CFMX 7

2005-07-01 Thread Jochem van Dieten
Neculai Macarie wrote: I'm not able to send multipart/mixed e-mails with CFMX 7 (the code on CF5 was constructing the message just fine, but now CFMX 7 is forcing me to use cfmailpart). Even the simplest message is received as multipart/alternative: cfmail from=email to=email

RE: jar launcher crashes randomly

2005-07-01 Thread Kerry
Hey did anyone get any further with this? I am now getting this on our W2K3 server as well. -Original Message- From: Nathan Strutz [mailto:[EMAIL PROTECTED] Sent: 13 June 2005 05:58 To: CF-Talk Subject: Re: jar launcher crashes randomly stylo stylo wrote: Anyone else? Ya, we get this

Re: Sending multipart/mixed e-mails with CFMX 7

2005-07-01 Thread Neculai Macarie
I'm not able to send multipart/mixed e-mails with CFMX 7 (the code on CF5 was constructing the message just fine, but now CFMX 7 is forcing me to use cfmailpart). Even the simplest message is received as multipart/alternative: cfmail from=email to=email type=multipart/mixed subject=test

Error: Timed out trying to establish connection

2005-07-01 Thread Andy Goodright
Hello, I've trying to add a new Data source in ColdFusion MX Administrator and I am getting this message: in under 5 seconds Connection verification failed for data source: test_p6spy []java.sql.SQLException: Timed out trying to establish connection The root cause was that:

Re: Delete spaces inside form fields vars

2005-07-01 Thread Michel Deloux
Thank you Matthew. Great great job. Works fine now... More clear and concise! 2005/6/30, Matthew Walker [EMAIL PROTECTED]: You seem to be asking for all spaces in submitted values to be removed, yet your code seems to be changing all double-spaces to single spaces. What exactly do you want?

RE: write component/object with cfscript

2005-07-01 Thread BOUDOT Christian
Thanks for your reply I just touhgt there might be a way to use the cfscript way with some additional stuff in front of the function keyword. Cheers Chris -Original Message- From: John Beynon [mailto:[EMAIL PROTECTED] Sent: 01 July 2005 09:14 To: CF-Talk Subject: Re: write

RE: Error: Timed out trying to establish connection

2005-07-01 Thread Robertson-Ravo, Neil (RX)
Do you have access to the SQL Server? -Original Message- From: Andy Goodright [mailto:[EMAIL PROTECTED] Sent: 01 July 2005 12:42 To: CF-Talk Subject: Error: Timed out trying to establish connection Hello, I've trying to add a new Data source in ColdFusion MX Administrator and I am

Re: Delete spaces inside form fields vars

2005-07-01 Thread S . Isaac Dealey
However your code probably wouldn't catch triple spaces, in which case I'd write: cfloop collection=#form# item=field cfset form[field] = reReplace(form[field], [[:space:]]{2,}, , all) /cfloop I tend to use reReplace(form[field],[[:space:]]+, ,ALL) for this, rather than

RE: Error: Timed out trying to establish connection

2005-07-01 Thread andrew -n-
Database is Ingres on a another server; and yes I have access to that. Do you have access to the SQL Server? -Original Message- From: Andy Goodright [mailto:[EMAIL PROTECTED] Sent: 01 July 2005 12:42 To: CF-Talk Subject: Error: Timed out trying to establish connection Hello, I've

RE: Error: Timed out trying to establish connection

2005-07-01 Thread Robertson-Ravo, Neil (RX)
I would say first thing to check is that the server is listening on the necessary port. -Original Message- From: andrew -n- [mailto:[EMAIL PROTECTED] Sent: 01 July 2005 14:25 To: CF-Talk Subject: RE: Error: Timed out trying to establish connection Database is Ingres on a another

RE: weird coldfuson errors

2005-07-01 Thread S . Isaac Dealey
Nothing is being passed in random... The query should always return a record... I am using the same exact url on reload. I'm thinking maybe it's a memory issue. I'm going to have crystaltech replace the memory and see if it helps. Could be... On the other hand if anyone else knows of a url

OT - MySQL to MSSQL

2005-07-01 Thread Mickael
Hi All, I was wondering if someone can point me to the best way to import a = MySQL Database to a new MS SQL Database. There is an export utility in = MySQL that exports that tables to a text file with the create table = statements and all the content. But I think this only works from One =

Query sum, count

2005-07-01 Thread Eric J. Hoffman
Maybe my brain is not on this morning, but this query pulls all records when it sums, not just from the records of the date range. Did I miss something fundamental here before my coffee? Thanks! Select COUNT (customer_orders_prod.product_id) as totsales, SUM

RE: weird coldfuson errors

2005-07-01 Thread Dan G. Switzer, II
Russ, Nothing is being passed in random... The query should always return a record... I am using the same exact url on reload. I'm thinking maybe it's a memory issue. I'm going to have crystaltech replace the memory and see if it helps. Are you correctly declaring the query name? If you're not

Fusebox + Sajax?

2005-07-01 Thread Damien McKenna
Has anyone tried using Sajax in a Fusebox application? I was concerned over how the two might clash as Sajax passes the data to/from pagename.cfm?rs=functionname which in theory would cause problems with a Fusebox application's fuseactions. Any thoughts? BTW, the reason I was looking to use

Best Subversion book for Dummies

2005-07-01 Thread Stan Winchester
I've never gotten a Dummies book except as a gag, but we tried CVS a while back and we got too many errors during the learning process; I'm sure they were all user errors and we eventually gave up. Subversion sounds great, but before we make the jump I would like to find the best Subversion

RE: Error: Timed out trying to establish connection

2005-07-01 Thread andrew -n-
It is, as I say the same JDBC connection details used with Aqua Studio works fine. I would say first thing to check is that the server is listening on the necessary port. -Original Message- From: andrew -n- [mailto:[EMAIL PROTECTED] Sent: 01 July 2005 14:25 To: CF-Talk Subject: RE:

Calling .net service with CF

2005-07-01 Thread Lee
Is it easy to call a .Net Web Service using Coldfusion? Any articles or examples out there? Lee Surma ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours

RE: weird coldfuson errors

2005-07-01 Thread Russ
Thanks Dan, This makes sense. So it's basically a race condition. Since we're using the same variable name for the query throughout the cfc, which is cached, if more then 1 request runs a method in the cfc at the same time, then the last one that completes will overwrite the variable. And

Re: Server names

2005-07-01 Thread Paul Stewart
LOL. thats the funniest thing i've read on this list. Class Paul Stewart Site Developer [EMAIL PROTECTED] www.whichfranchise.com - Original Message - From: Mike Kear [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, June 29, 2005 6:42 AM Subject: Re: Server names

Re: Fusebox + Sajax?

2005-07-01 Thread Mickael
I thought Fusebox works in PHP as well? - Original Message - From: Damien McKenna [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Friday, July 01, 2005 9:59 AM Subject: Fusebox + Sajax? Has anyone tried using Sajax in a Fusebox application? I was concerned over how the

CF code documentation . . . JavaDoc?

2005-07-01 Thread chris.alvarado
Hello all, I was wondering if anyone could recommend a documentation package that is similar to JavaDoc (uses JavaDoc tag standard)? Thanks! -- -chris.alvarado [application developer] ~| Logware (www.logware.us): a new and

FarCry CMS install error...

2005-07-01 Thread Buntin, Seth - KATE
I am getting this error on install: Data truncation: Data truncated; out of range for column 'userId' at row 1 Has anyone had this issue? Thanks, Seth Buntin ~| Discover CFTicket - The leading ColdFusion Help

Re: Best Subversion book for Dummies

2005-07-01 Thread Keith Gaughan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stan Winchester wrote: I've never gotten a Dummies book except as a gag, but we tried CVS a while back and we got too many errors during the learning process; I'm sure they were all user errors and we eventually gave up. Subversion sounds great,

Re: OT - MySQL to MSSQL

2005-07-01 Thread George Abraham
I did this a long time ago, but if I remember correctly, all you need are the mySQL ODBC driver and MS SQL Server's Enterprise Manager. Install the ODBC driver, then use DTS in Enterprise Manager to transfer the tables and the data. HTH, George On 7/1/05, Mickael [EMAIL PROTECTED] wrote: Hi

RE: Fusebox + Sajax?

2005-07-01 Thread Damien McKenna
-Original Message- From: Mickael [mailto:[EMAIL PROTECTED] I thought Fusebox works in PHP as well? Yes, it does, however Fusebox doesn't have a simple API for doing AJAX which is what Sajax is. I'm going to forward my question to the ajax list, see if anyone there knows. --

RE: weird coldfuson errors

2005-07-01 Thread S . Isaac Dealey
cfset var thisQry= cfquery name=thisQry datasourcesomedsn Select somestuff from somewhere /cfquery cfreturn thisQry Is there a way to avoid the cfset and put it directly in the cfquery? Such as something like this: cfquery name=var thisQry Not currently. s. isaac dealey

RE: FarCry CMS install error...

2005-07-01 Thread SStewart
Your passing a variable that's too big for the field size. You could find column 'userID' and change the size to something larger. sas Scott A. Stewart, Web Application Developer Engineering Consulting Services, Ltd. (ECS) 14026 Thunderbolt Place, Suite 300 Chantilly, VA 20151 Phone: (703)

Re: Fusebox + Sajax?

2005-07-01 Thread S . Isaac Dealey
There is a version of Fusebox for PHP yes... that's the reason why he was saying he was wanting to use Sajax instead of say Neuromancer, which I'm guessing has a fair amount of CF code involved in it... Sajax as I understand it is a purely JS library and so is portable to the PHP version of

Re: Best Subversion book for Dummies

2005-07-01 Thread Massimo, Tiziana e Federica
Keith gave you great info. As a plus, if you are looking for a book, this could be easier than the ='Reilly guide: http://www.pragmaticprogrammer.com/titles/svn/index.html Massimo Foti Tools for ColdFusion and Dreamweaver developers: http://www.massimocorner.com

OT: Should I add raw images to SVN?

2005-07-01 Thread Damien McKenna
I'm debating whether I should add the source images used on our websites to SVN. The images I've not added tend to be several megabytes each, often 100+ per project, and generally are taken with digital cameras. Right now I've got the final cropped manicured images in SVN, just not the source

Calling .net service with CF

2005-07-01 Thread Lee Surma
Is it easy to call a .Net Web Service using Coldfusion? Any articles or examples out there? Lee Surma OK So this is rediculously simple or imposible or requires vast knowledge of Web Services? I just need to send back three pieces of data to an existing .net Web Service. This is the code I

RE: weird coldfuson errors

2005-07-01 Thread Dan G. Switzer, II
Russ, So to fix this do I have to do something like this: cfset var thisQry= cfquery name=thisQry datasourcesomedsn Select somestuff from somewhere /cfquery cfreturn thisQry Is there a way to avoid the cfset and put it directly in the cfquery? Such as something like this: cfquery name=var

RE: OT - MySQL to MSSQL

2005-07-01 Thread Mark A Kruger
MIke, Use DTS and your ODBC DSN to pull over the data. You will probably have to set up the a few things after the import. -mark -Original Message- From: Mickael [mailto:[EMAIL PROTECTED] Sent: Friday, July 01, 2005 8:52 AM To: CF-Talk Subject: OT - MySQL to MSSQL Hi All, I was

RE: Should I add raw images to SVN?

2005-07-01 Thread Dan G. Switzer, II
Damien, I'm debating whether I should add the source images used on our websites to SVN. The images I've not added tend to be several megabytes each, often 100+ per project, and generally are taken with digital cameras. Right now I've got the final cropped manicured images in SVN, just not the

RE: Calling .net service with CF

2005-07-01 Thread Dave Watts
OK So this is rediculously simple or imposible or requires vast knowledge of Web Services? I just need to send back three pieces of data to an existing .net Web Service. This is the code I can gleen out of the service that is relevant. s:element name=VendorOrderConfirmation -

Re: OT - MySQL to MSSQL

2005-07-01 Thread Mickael
Hi George, I have never used DTS. Will it with DTS create the Tables and structure for me automatically? Or do I need create all the tables first? - Original Message - From: George Abraham [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Friday, July 01, 2005 10:56 AM

Re: CF code documentation . . . JavaDoc?

2005-07-01 Thread Rob
If you write a lot of CFCs Spikes cfcdoc tool is very cool http://spike.org.uk/projects/cfcdoc/ For static cfm stuff you can try NaturalDoc http://naturaldocs.org/ works well for most other languages and coldfusion is listed as supported (I've used naturaldoc with vb.net and javascript with much

Very Large XML Files and XmlParse

2005-07-01 Thread Chase Seibert
Hey guys, I'm trying to deal with large XML packets I'm receiving from IntelliSync. The packets in question represent emails with possible attachments, so they can get quite large. I'm getting serious overhead using XmlParse(). Here is my test code: CFFILE action=read file=c:\temp\test.xml

Re: Should I add raw images to SVN?

2005-07-01 Thread Rob
I'm debating whether I should add the source images used on our websites to SVN. The images I've not added tend to be several megabytes each, often 100+ per project, and generally are taken with digital cameras. Right now I've got the final cropped manicured images in SVN, just not the

Re: Calling .net service with CF

2005-07-01 Thread Aaron Rouse
When connecting with DWMX to a web service(Java one to be exact), what does it mean when it lists String[][] blah I was just looking at one and have 4 different ones that are String uniquename but then that one that has the double brackets. On 7/1/05, Dave Watts [EMAIL PROTECTED] wrote: If

RE: Very Large XML Files and XmlParse

2005-07-01 Thread Dave Watts
Has anyone tried alternate XML parsers? Is there a way to use them without over-writing the default parser? Honestly, I'm thinking about doing this is .Net, where the native parser nails this 14MB file in about .7 seconds. Another other suggestions? You can install as many XML parsers as

RE: Calling .net service with CF

2005-07-01 Thread Dave Watts
When connecting with DWMX to a web service(Java one to be exact), what does it mean when it lists String[][] blah I was just looking at one and have 4 different ones that are String uniquename but then that one that has the double brackets. I think that's a two-dimensional array of

Re: Calling .net service with CF

2005-07-01 Thread Aaron Rouse
Yeah, I just fed in a simple array and it worked, just slowly learning how to use these fansy smanshie tools in DWMX On 7/1/05, Dave Watts [EMAIL PROTECTED] wrote: When connecting with DWMX to a web service(Java one to be exact), what does it mean when it lists String[][] blah I was

Re: Best Subversion book for Dummies

2005-07-01 Thread Stan Winchester
Keith Massimo, thank you for the information!!! Stan Winchester Keith gave you great info. As a plus, if you are looking for a book, this could be easier than the ='Reilly guide: http://www.pragmaticprogrammer.com/titles/svn/index.html Massimo Foti Tools for

RE: Fusebox + Sajax?

2005-07-01 Thread Damien McKenna
Some help on it. http://www.modernmethod.com/sajax/forum/viewtopic.php?p=550#550 -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h ~|

Re: OT - MySQL to MSSQL

2005-07-01 Thread Greg Morphis
If that doesnt work, Try the mysqldump command line utility. I believe the format is mysqldump -hHOST -pPORT -uUSER -pPASSWORD c:\mysql.sql You may have to tweak the syntax, I'm not sure how close the 2 are. I used it to export and convert a DB to PostgreSQL, those 2 were rather similiar but

Re: OT - MySQL to MSSQL

2005-07-01 Thread George Abraham
Mickael, DTS comes with MS SQL's Enterprise Manager. And yes, DTS will create the tables, etc. for you. It does a bad job of some things during the export. For example, I would check the properties of fields that were designated as primary keys or are ID fields and make sure that they are so after

FTP and file permissions

2005-07-01 Thread Scott Brady
This is a follow-up to my posts from yesterday. One of our clients pushes a daily data feed to their FTP server, which we log in to using a scheduled task in CF and download the file and process the data feed. Since we upgraded to CF7, it appears that CF's FTP connection can't see that file

OT: IIS 5.0 not answering to all requests.

2005-07-01 Thread David Brown
This may be a network issue, but I wanted to ask to make sure I was not missing something. Our production web server is not responding to all requests and this just started today. The web server has been updated in about a 2 weeks. Here is what we know so far. The web servers answers up

RE: CF7 - 16 character limit on SQL passwords

2005-07-01 Thread Chase Seibert
Just following up on this issue, in case anyone cares. I ended up calling Macromedia support. They said that the only work-around they could find was specifying the password in the CFQUERY tag directly. I tested this out, and it does in fact get around the 16 character limit. Apparently the

OT: Like omygorshk?

2005-07-01 Thread Damien McKenna
Is it legal in SQL to do: . WHERE product_name LIKE IN ('%car%', '%horse%') or would I have to do separate WHERE lines for each element? -- Damien McKenna - Web Developer - [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/

RE: Like omygorshk?

2005-07-01 Thread Dave Watts
Is it legal in SQL to do: . WHERE product_name LIKE IN ('%car%', '%horse%') No, that is not valid SQL. or would I have to do separate WHERE lines for each element? I would recommend that you consider using full-text indexing instead of this kind of a search. Dave Watts, CTO, Fig

Re: OT: IIS 5.0 not answering to all requests.

2005-07-01 Thread Charles Polisher
David Brown wrote: But if I connect to my home server via terminal server and try to connect to our web server from there I get a server/dns error in my browser after it times out. I have tried three other people they fail too with the same error. But from my home server via terminal

RE: Server names

2005-07-01 Thread Emmet McGovern
We used to have Godzilla, Mothra, Rodan, Gamera, Gidan, Gidrah and so on. We now have a rather mundane naming convention. Ironically the row across from us in the data center was all kids cereal names. I never did find out what company they belonged too. 2 rows back were all the characters from

Re: OT: IIS 5.0 not answering to all requests.

2005-07-01 Thread David Brown
Thank you very much for the help. Any idea what would cause that? David - Original Message - From: Charles Polisher [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Friday, July 01, 2005 7:36 PM Subject: Re: OT: IIS 5.0 not answering to all requests. David Brown wrote:

Re: OT: IIS 5.0 not answering to all requests.

2005-07-01 Thread David Brown
I also found out that if I use https://www.palmettohealth.org it works fine, but if I use just http it does not. Not sure that if anything this says. - Original Message - From: David Brown [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Friday, July 01, 2005 11:49 PM

Contracts for work

2005-07-01 Thread Mark Holm
I've been offered a position as a contractor. I've always worked on W-2 in all previous positions. So I have no benifits, etc.. however what is disturbing to me is it looks like by the wording of the contract they have many escape clasues not to not pay me for various reasons. Is this normal?