Re: Switching to CFMX
I've been trying to resist responding to this thread but... On Monday, Sep 30, 2002, at 14:44 US/Pacific, Rob Rohan wrote: cfswitch switch=attributes.fuseaction cfcase value=listall,showone,dosomething,doanotherthing delimiters=, cfinclude template=index0.cfm /cfcase cfcase value=update,delete,dothis,dothat delimiters=, cfinclude template=index1.cfm /cfcase ... /cfswitch Let me say, first of all, that I'm glad you've found a workaround. Secondly, this is exactly the sort of issue that makes me very nervous of Fusebox. It tries hard to hide complexity from programmers but this shows just how much code it's really hiding and just how much machinery lurks behind the framework. Of course, this isn't really FB's fault: old-style CF just doesn't provide the expressive machinery to support the sort of near-OO encapsulation that FB attempts. I think that FB4 has the potential to be much cleaner and idiomatic, based on the OO features that MX introduced to CF. I'm looking forward to seeing it. It adds a whole layer of abstraction, but seems to work. Again this only happen when doing really large files and the (evil) errors MX gives are the following This is good to know for other Fuseboxers. Thanx for following up with a workaround without 'bashing' CF! An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: MX Eating my CFINCLUDES?
I checked with the DW team and they referred me to this Tech Note: http://www.macromedia.com/support/dreamweaver/ts/documents/ translator_code.htm Hope that helps? On Monday, Sep 30, 2002, at 15:06 US/Pacific, Ian Lurie wrote: Sorry if this is a repeat post, but right now in Dreamweaver MX, if I open a cfm file with CFINCLUDES in it, it replaces them with the actual code and MM:BeginLock translatorClass=MM_SSI type=ssi orig=%3Ccfinclude template=%22../app_globals.cfm%22%3E fileRef=../app_globals.cfm depFiles=file:///WWWROOT/WKG/site/Website/app_globals.cfm And YES, I have rewrite code turned off for all .cfm files. HELP! __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Fusebox and CFMX was RE: Switching to CFMX
Sean, thanks for all your informative and very helpful posts. I started using CF in 1996 and Fusebox opened up all sorts of great things to pre CFMX ColdFusion. I know there are many luminaries who dislike Fusebox no doubt for good reason within their own well-structured company's/worlds, people for whom I have the utmost respect. For our operation Fusebox made ColdFusion very understandable fairly quickly for those whom had not used CF previously. It also added a level of legitimacy to ColdFusion in many hallowed halls (not that CF needed legitimacy but perception is powerful). Like you I look forward to Fuseboxes next iteration with great anticipation, I know the great minds behind Fusebox are carving out even greater things thanks to CFMX. Things just keep getting more exciting and bountiful. Mike Brunt - CTO Webapper Services LLC http://www.webapper.com Downey CA Office 562.243.6255 Making the NET Work -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 4:07 PM To: CF-Talk Subject: Re: Switching to CFMX I've been trying to resist responding to this thread but... On Monday, Sep 30, 2002, at 14:44 US/Pacific, Rob Rohan wrote: cfswitch switch=attributes.fuseaction cfcase value=listall,showone,dosomething,doanotherthing delimiters=, cfinclude template=index0.cfm /cfcase cfcase value=update,delete,dothis,dothat delimiters=, cfinclude template=index1.cfm /cfcase ... /cfswitch Let me say, first of all, that I'm glad you've found a workaround. Secondly, this is exactly the sort of issue that makes me very nervous of Fusebox. It tries hard to hide complexity from programmers but this shows just how much code it's really hiding and just how much machinery lurks behind the framework. Of course, this isn't really FB's fault: old-style CF just doesn't provide the expressive machinery to support the sort of near-OO encapsulation that FB attempts. I think that FB4 has the potential to be much cleaner and idiomatic, based on the OO features that MX introduced to CF. I'm looking forward to seeing it. It adds a whole layer of abstraction, but seems to work. Again this only happen when doing really large files and the (evil) errors MX gives are the following This is good to know for other Fuseboxers. Thanx for following up with a workaround without 'bashing' CF! An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Fusebox and CFMX was RE: Switching to CFMX
I hope I did not give the impression that I dislike fusebox - because I like fusebox. I am by default a Java programmer, and fusebox added a tasty OO flavor to CF. It does appear the MX will now natively do most of what fusebox set out to do - which is the main reason for our switch. In conclusion, Fusebox = good Java 64k method limit = bad (JSP and Cocoon suffer from this as well) :) Rob -Original Message- From: Mike Brunt [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 4:53 PM To: CF-Talk Subject: Fusebox and CFMX was RE: Switching to CFMX Sean, thanks for all your informative and very helpful posts. I started using CF in 1996 and Fusebox opened up all sorts of great things to pre CFMX ColdFusion. I know there are many luminaries who dislike Fusebox no doubt for good reason within their own well-structured company's/worlds, people for whom I have the utmost respect. For our operation Fusebox made ColdFusion very understandable fairly quickly for those whom had not used CF previously. It also added a level of legitimacy to ColdFusion in many hallowed halls (not that CF needed legitimacy but perception is powerful). Like you I look forward to Fuseboxes next iteration with great anticipation, I know the great minds behind Fusebox are carving out even greater things thanks to CFMX. Things just keep getting more exciting and bountiful. Mike Brunt - CTO Webapper Services LLC http://www.webapper.com Downey CA Office 562.243.6255 Making the NET Work -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 4:07 PM To: CF-Talk Subject: Re: Switching to CFMX I've been trying to resist responding to this thread but... On Monday, Sep 30, 2002, at 14:44 US/Pacific, Rob Rohan wrote: cfswitch switch=attributes.fuseaction cfcase value=listall,showone,dosomething,doanotherthing delimiters=, cfinclude template=index0.cfm /cfcase cfcase value=update,delete,dothis,dothat delimiters=, cfinclude template=index1.cfm /cfcase ... /cfswitch Let me say, first of all, that I'm glad you've found a workaround. Secondly, this is exactly the sort of issue that makes me very nervous of Fusebox. It tries hard to hide complexity from programmers but this shows just how much code it's really hiding and just how much machinery lurks behind the framework. Of course, this isn't really FB's fault: old-style CF just doesn't provide the expressive machinery to support the sort of near-OO encapsulation that FB attempts. I think that FB4 has the potential to be much cleaner and idiomatic, based on the OO features that MX introduced to CF. I'm looking forward to seeing it. It adds a whole layer of abstraction, but seems to work. Again this only happen when doing really large files and the (evil) errors MX gives are the following This is good to know for other Fuseboxers. Thanx for following up with a workaround without 'bashing' CF! An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
CFMX / MSSQL
I have CF MX installed and SQL 7. I created the database along with in the Control Panel, I created the ODBC connection to the DB with a DSN name of: myDB Now in CF it will not connect. I have SQL 7 set to TCP/IP in the Client Network Utility. I have no PWD associated since this is used as my DEV box. Any ideas? __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Reverse PDF tools
Mark, Try http://www.pdftoall.com/ pdf to text, html,csv, bmp, jpg, png, converter I have not used this s/w but they do have a COM component that may allow automation. cheers David -Original Message- From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 1 October 2002 12:14 AM To: CF-Talk Subject: Reverse PDF tools Ok... I know I can take HTML or other doc formats and automate the process of converting them into PDF format. Does anyone know of a tool that can do the reverse? I need to unpack a PDF page into source images and text. Anyone? -mk __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFMX / MSSQL
What type of drivers are you using? The ODBC Socket Connection should work. If you want to use the Sql Server Driver, you need to have mixed mode authentication on your SQL Server. You need to setup a sql server login, with a username an password. Then use this username and password to connect to the datasource via CFMX. In earlier version you could use window authentication with the sql server driver, but not in MX. And you should try to avoid the ODBC Socket Connection. I have both those services stopped.. Brook At 08:24 PM 30/09/02 -0400, you wrote: I have CF MX installed and SQL 7. I created the database along with in the Control Panel, I created the ODBC connection to the DB with a DSN name of: myDB Now in CF it will not connect. I have SQL 7 set to TCP/IP in the Client Network Utility. I have no PWD associated since this is used as my DEV box. Any ideas? __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFMX / MSSQL
I am using the local dbo account of sa no password. It will not authenicate in CF MX Admin. The drivers are those in CF MX. -Original Message- From: Brook [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 8:54 PM To: CF-Talk Subject: Re: CFMX / MSSQL What type of drivers are you using? The ODBC Socket Connection should work. If you want to use the Sql Server Driver, you need to have mixed mode authentication on your SQL Server. You need to setup a sql server login, with a username an password. Then use this username and password to connect to the datasource via CFMX. In earlier version you could use window authentication with the sql server driver, but not in MX. And you should try to avoid the ODBC Socket Connection. I have both those services stopped.. Brook At 08:24 PM 30/09/02 -0400, you wrote: I have CF MX installed and SQL 7. I created the database along with in the Control Panel, I created the ODBC connection to the DB with a DSN name of: myDB Now in CF it will not connect. I have SQL 7 set to TCP/IP in the Client Network Utility. I have no PWD associated since this is used as my DEV box. Any ideas? __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFMX / MSSQL
On Monday, September 30, 2002, at 05:24 PM, CF-DEV wrote: I have CF MX installed and SQL 7. I created the database along with in the Control Panel, I created the ODBC connection to the DB with a DSN name of: myDB Now in CF it will not connect. I have SQL 7 set to TCP/IP in the Client Network Utility. I have no PWD associated since this is used as my DEV box. Any ideas? Why use ODBC - CFMX has a built-in JDBC driver that works just fine. Below are 3 different ways that work on CFMX OS X (Linux). HTH Dick __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFMX / MSSQL
This is the error: Connection verification failed for data source: Mindkeeper_SQL []java.sql.SQLException: SQLException occurred in JDBCPool while attempting to connect, please check your username, password, URL, and other connectivity info. The root cause was that: java.sql.SQLException: SQLException occurred in JDBCPool while attempting to connect, please check your username, password, URL, and other connectivity info. -Original Message- From: Dick Applebaum [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 8:51 PM To: CF-Talk Subject: Re: CFMX / MSSQL On Monday, September 30, 2002, at 05:24 PM, CF-DEV wrote: I have CF MX installed and SQL 7. I created the database along with in the Control Panel, I created the ODBC connection to the DB with a DSN name of: myDB Now in CF it will not connect. I have SQL 7 set to TCP/IP in the Client Network Utility. I have no PWD associated since this is used as my DEV box. Any ideas? Why use ODBC - CFMX has a built-in JDBC driver that works just fine. Below are 3 different ways that work on CFMX OS X (Linux). HTH Dick __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Query of Queries Error
Hi, I have a query of queries that has been working fine until today when I started getting the following error: Query Of Queries runtime error. Unsupported Numeric type conversion in Query of Queries. Thats the extent of the error message provided! The columns seem to match up exactly on database type and length. Can anyone help provide some insight? Thanks, Sam __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFMX / MSSQL
FYI there is a virus going around that targets MSSQL machines with account sa set with no password... More Info here: http://vil.nai.com/vil/content/v_99499.htm At 05:48 PM 9/30/02, you wrote: I am using the local dbo account of sa no password. It will not authenicate in CF MX Admin. The drivers are those in CF MX. __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFMX / MSSQL
On Monday, September 30, 2002, at 05:51 PM, Dick Applebaum wrote: On Monday, September 30, 2002, at 05:24 PM, CF-DEV wrote: I have CF MX installed and SQL 7. I created the database along with in the Control Panel, I created the ODBC connection to the DB with a DSN name of: myDB Now in CF it will not connect. I have SQL 7 set to TCP/IP in the Client Network Utility. I have no PWD associated since this is used as my DEV box. Any ideas? Why use ODBC - CFMX has a built-in JDBC driver that works just fine. Below are 3 different ways that work on CFMX OS X (Linux). HTH Dick __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFMX / MSSQL
That says the driver is specified OK is loaded. The problem is with the URL, UserID or Password. You might want to download ViennaSQL (quick easy) and play around with your connections with it -- it's easier than with CFMX when you get it workin, you cancopy paste the results to CFMX Admin. HTH Dick On Monday, September 30, 2002, at 05:56 PM, CF-DEV wrote: Connection verification failed for data source: Mindkeeper_SQL []java.sql.SQLException: SQLException occurred in JDBCPool while attempting to connect, please check your username, password, URL, and other connectivity info. The root cause was that: java.sql.SQLException: SQLException occurred in JDBCPool while attempting to connect, please check your username, password, URL, and other connectivity info. __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFMX / MSSQL
I am having trouble posting the setups below -- copy pasted __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFMX / MSSQL
This is weird -- I'll try sending direct Dick On Monday, September 30, 2002, at 06:03 PM, Dick Applebaum wrote: I am having trouble posting the setups below -- copy pasted __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFMX / MSSQL
Don't I feel like a total A$$ In the HELP it stated to put LOCAL within the parathesis. Such as: (local) Not True.. It is the standard: localhost Thanks everyone!! -Original Message- From: Dick Applebaum [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 9:09 PM To: CF-Talk Subject: Re: CFMX / MSSQL This is weird -- I'll try sending direct Dick On Monday, September 30, 2002, at 06:03 PM, Dick Applebaum wrote: I am having trouble posting the setups below -- copy pasted __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFMX and CFFORM
On 9/30/02, Justin Hansen penned: I got around this by adding a 'CFIDE' folder to my project/site folder. Then created virtual directories inside of that to the actual 'scripts' 'debug' directories. If you just add a virtual directory to the 'CFIDE' you are opening the CF Admin pages to your website. It may not be pretty but CFForm works fine now. That's a ridiculous way to have to do something. If anyone from Macromedia is listening, not every CF website out there is running under the root domain. I'd venture to say a very small percentage are. Hope you fix this in the next service pack. Thanks Justin. -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ 954.721.3452 __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Reverse PDF tools
I remember having a look at this quite some time ago - go to Google and do a search on pdftohtml (one word). ** Kevin Parker Web Services Manager WorkCover Corporation [EMAIL PROTECTED] www.workcover.com p: 08 82332548 f: 08 82332000 m: 0418 806 166 ** -Original Message- From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 1 October 2002 12:14 AM To: CF-Talk Subject: Reverse PDF tools Ok... I know I can take HTML or other doc formats and automate the process of converting them into PDF format. Does anyone know of a tool that can do the reverse? I need to unpack a PDF page into source images and text. Anyone? -mk __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Using Java nulls in CF?
Is it possible to to a Java null in CF? Searching the archives I saw it mentioned that it's a huge pain in the ass...I guess that means it's not impossible :) -- jon mailto:[EMAIL PROTECTED] __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Question regarding the archives...
Please do! Judith __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Using Java nulls in CF?
On Monday, Sep 30, 2002, at 19:20 US/Pacific, jon hall wrote: Is it possible to to a Java null in CF? Searching the archives I saw it mentioned that it's a huge pain in the ass...I guess that means it's not impossible :) It is possible to create a Java null in a CF variable (with some chicanery) but CF then prevents you from using said variable in any useful manner... The problem is that if you have: cfset v = _some_expression_that_renders_Java_null_ whenever you try to use 'v', CF will helpfully tell you that no such variable is defined! :( If you do this: cfset x.v = _some_null_expression_ then you'll find that structKeyExists(x,v) is true (as expected) but isDefined(x.v) is false and, indeed, if you try to use x.v CF will again tell you it is undefined and / or raise a null pointer exception (because it tries, unsuccessfully, to map the variable's (null) value to a valid CF type in order to do something with it!). I spent several hours trying to persuade CF to do something useful with a null variable and finally gave up. If anyone else is successful, I'd love to see the code! An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: encode an image into a .cfm inline
Mark, As a previous poster said, you can send a Multipart-MIME message that includes the HTML page and the image, in Base64 encoding. I don't know if this works with all browsers, but I'm pretty sure it works with IE. I've used it for sending Web Archives (MS term for Multipart-MIME) documents to MS Word. I have a presentation on MS Word which includes a good amount of info on generating Multipart-MIME messages, including over 2,000 lines of example code and a generic Multipart-MIME CFC for constructing the messages. It's CFMX, but can be easily adopted to CF5 as custom tags. If you're interested, send me a private e-mail (and anyone else that's interested, do the same). [EMAIL PROTECTED] Thanks, Sam Samuel R. Neff Senior Software Engineer B-Line Express Advanced ColdFusion 5.0 Certified Team Macromedia Volunteer for ColdFusion Date: Mon, 30 Sep 2002 13:49:52 -0500 From: Mark W. Breneman [EMAIL PROTECTED] Subject: encode an image into a .cfm inline Message-ID: [EMAIL PROTECTED] Does anyone have any ideas on if it is possible to encode an image into a cfm? My guess it that it is impossible... but, thought I would ask. (snip) Mark W. Breneman __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: UDF Vs CFC (was RE: So many problems with CFC scopes...)
Sorry, jumping in late here... I did some performance testing recently too see if it was faster to CFINCLUDE a UDF library containing 50 UDFs, or instantiate a CFC with the same 50 CFCs as methods. The results were that the CFINCLUDE was substantially faster on initial page load and all subsequent page loads. As a side note, I tested CFML tag based UDFs vs. CFSCRIPT based UDFs too, and the CFSCRIPT UDFs executed slightly faster than their tag based cousins. -Rob Date: Mon, 30 Sep 2002 10:26:29 +0200 From: Benoit Hediard [EMAIL PROTECTED] Subject: UDF Vs CFC (was RE: So many problems with CFC scopes...) Message-ID: [EMAIL PROTECTED] I agree with you Raymond. But it is true that is more personal preference/coding style terms than performance/architecture terms. This are my personal rules : CUSTOM TAGS (ColdFusion Taglibs) - custom tags encapsulates presentation logic they always output content (usually HTML), - custom tags usually do not call the model or controller layer, - custom tags are only used by the presentation layer (page or pagelet scripts). They are used for presentation logic encapsulation. USER DEFINED FUNCTIONS (UDF) - user defined functions encapsulate generic logic and rarely output content (except for string formatting purposes), - user defined functions do not call the model or controller layer, - user defined functions are used in any layer (view, controller or model). They are used generic logic/function encapsulation. COLDFUSION COMPONENTS (CFC) - components encapsulate business/data access application logic and never output content, - components are called by the view layer only to read data, - components are called by the controller layer to create/update/delete data. They are used for business logic encapsulation. .. I've put some examples here http://www.benorama.com/coldfusion/patterns/part3.htm Benoit Hediard www.benorama.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Reverse PDF tools
Acrobat 5 has a Save as RTF feature. I have been told the OCR in acrobat is really good. So it could be a very useful feature. You may want to check out acrobuddies.com or planetpdf.com or other PDF related sites for some tricks and techniques, there may also be some export plugins as well. HTH e -Original Message- From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 7:44 AM To: CF-Talk Subject: Reverse PDF tools Ok... I know I can take HTML or other doc formats and automate the process of converting them into PDF format. Does anyone know of a tool that can do the reverse? I need to unpack a PDF page into source images and text. Anyone? -mk __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: UDF Vs CFC (was RE: So many problems with CFC scopes...)
On Monday, Sep 30, 2002, at 20:09 US/Pacific, Rob Brooks-Bilson wrote: I did some performance testing recently too see if it was faster to CFINCLUDE a UDF library containing 50 UDFs, or instantiate a CFC with the same 50 CFCs as methods. The results were that the CFINCLUDE was substantially faster on initial page load and all subsequent page loads. That's good to know - it fits in with my expectations and is exactly why, if you must do this kind of stuff, I would recommend creating just a single CFC instance and saving it in server scope (since a 'UDF library CFC' will have no state and probably shouldn't be generating any output!). An Architect's View -- http://www.corfield.org/blog/ Macromedia DevCon 2002, October 27-30, Orlando, Florida Architecting a New Internet Experience Register today at http://www.macromedia.com/go/devcon2002 __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: OT: ASP help
Set up a CF server and then use CFHTTP to download the content from the ASP server and then CFFILE to save it to disk. Can even use free CF Developer edition for this. ASP equivalent would be using WinHttp.WinHttpRequest and Scripting.FileSystemObject. Also remember you have to fix your links. Everything will point to .asp pages and you need to change them to .html. Pages with URL parameters will take a little more creativity. Now, get off our list! :D Sam Samuel R. Neff Senior Software Engineer B-Line Express Advanced ColdFusion 5.0 Certified Team Macromedia Volunteer for ColdFusion Date: Mon, 30 Sep 2002 16:24:24 -0400 From: Kris Pilles [EMAIL PROTECTED] Subject: OT: ASP help Message-ID: [EMAIL PROTECTED] Anyone know how to generate an HTML file from ASP then save it to diskbasically doing content management with ASP but website lives on a Unix box Flame me if you will but I need an answer and the people on the ASP boards aren't as smart as you guys are Thanks for your help... Kris Pilles __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Switching to CFMX
Unfortunately though, Rob's really long index doesn't appear to use Fusebox 3's core file, which I assume, is the complex machinery you mention, Sean. In pre-FB3, there is very little to no machinery used, so long cfswitch statements are the result of the poor design of whoever wrote unfortunate Rob's code, not some implied Fusebox architectural path. But that's not to say there aren't certain aspects of FB3's machinery that I'm looking forward to optimizing towards OO/CFCs/Java :) I have encountered this same limitation in CFMX/Java in a really long custom tag written by (surprise) someone else. Sean, do you know if this (64k) limitation is something that can be addressed by Macromedia? Or is it inherent to Java? Or... ? NAT -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 4:07 PM To: CF-Talk Subject: Re: Switching to CFMX I've been trying to resist responding to this thread but... On Monday, Sep 30, 2002, at 14:44 US/Pacific, Rob Rohan wrote: cfswitch switch=attributes.fuseaction cfcase value=listall,showone,dosomething,doanotherthing delimiters=, cfinclude template=index0.cfm /cfcase cfcase value=update,delete,dothis,dothat delimiters=, cfinclude template=index1.cfm /cfcase ... /cfswitch Let me say, first of all, that I'm glad you've found a workaround. Secondly, this is exactly the sort of issue that makes me very nervous of Fusebox. It tries hard to hide complexity from programmers but this shows just how much code it's really hiding and just how much machinery lurks behind the framework. Of course, this isn't really FB's fault: old-style CF just doesn't provide the expressive machinery to support the sort of near-OO encapsulation that FB attempts. I think that FB4 has the potential to be much cleaner and idiomatic, based on the OO features that MX introduced to CF. I'm looking forward to seeing it. It adds a whole layer of abstraction, but seems to work. Again this only happen when doing really large files and the (evil) errors MX gives are the following This is good to know for other Fuseboxers. Thanx for following up with a workaround without 'bashing' CF! __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Using Java nulls in CF?
Actually I didn't even think of using isDefined(), and I think you answered my question without knowing it :). All I really wanted to do was use java's readLine() method, but readLine returns a null when the last line has been read. So I stuck isDefined() in there an voila! It worked. cfscript fr = createObject(java, java.io.FileReader); br = createObject(java, java.io.BufferedReader); fr.init(filename); br.init(fr); line = br.readLine(); while (isDefined(line)) { writeOutput(line 'br'); line = br.readLine(); } fr.close(); br.close(); /cfscript Now I'm going to see if this is any faster than looping over line breaks in a string. I hope so after all I tried to get this to work :) -- jon mailto:[EMAIL PROTECTED] Monday, September 30, 2002, 11:04:32 PM, you wrote: SAC On Monday, Sep 30, 2002, at 19:20 US/Pacific, jon hall wrote: Is it possible to to a Java null in CF? Searching the archives I saw it mentioned that it's a huge pain in the ass...I guess that means it's not impossible :) SAC It is possible to create a Java null in a CF variable (with some SAC chicanery) but CF then prevents you from using said variable in any SAC useful manner... SAC The problem is that if you have: SAC cfset v = _some_expression_that_renders_Java_null_ SAC whenever you try to use 'v', CF will helpfully tell you that no such SAC variable is defined! :( SAC If you do this: SAC cfset x.v = _some_null_expression_ SAC then you'll find that structKeyExists(x,v) is true (as expected) but SAC isDefined(x.v) is false and, indeed, if you try to use x.v CF will SAC again tell you it is undefined and / or raise a null pointer exception SAC (because it tries, unsuccessfully, to map the variable's (null) value SAC to a valid CF type in order to do something with it!). SAC I spent several hours trying to persuade CF to do something useful with SAC a null variable and finally gave up. If anyone else is successful, I'd SAC love to see the code! SAC An Architect's View -- http://www.corfield.org/blog/ SAC Macromedia DevCon 2002, October 27-30, Orlando, Florida SAC Architecting a New Internet Experience SAC Register today at http://www.macromedia.com/go/devcon2002 SAC __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
SQL Text question from a beginner
I am new to web development (if I can call what I am doing web development) and have a sql question and was hoping someone could point me in the right direction. I have put together this data driven website and found access to be insufficient to hold as much text as I wished in a description field. Thus I moved to sql, but am finding the 4000 character limitation for varchar to be a hindrance and not much better than the 255 character limit in access. I found a link a couple minutes ago basically stating I was pretty much limited to 8000 characters no matter the data type I pick save for some concatenation maneuver. So I am wondering how I can just put a blob of text into the database. I can't be the only guy who wants to store a couple pages of text in a field in a database so that it can be queried to populate a web page can I? On it's face it would seem that if I should be able to define my own data type to accommodate my needs? What is the right direction? Thanks, John __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: SQL Text question from a beginner
look at the datatype of text it holds 16 bytes of data, i believe. hth tony -Original Message- From: John Munyan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 01, 2002 12:04 AM To: CF-Talk Subject: SQL Text question from a beginner I am new to web development (if I can call what I am doing web development) and have a sql question and was hoping someone could point me in the right direction. I have put together this data driven website and found access to be insufficient to hold as much text as I wished in a description field. Thus I moved to sql, but am finding the 4000 character limitation for varchar to be a hindrance and not much better than the 255 character limit in access. I found a link a couple minutes ago basically stating I was pretty much limited to 8000 characters no matter the data type I pick save for some concatenation maneuver. So I am wondering how I can just put a blob of text into the database. I can't be the only guy who wants to store a couple pages of text in a field in a database so that it can be queried to populate a web page can I? On it's face it would seem that if I should be able to define my own data type to accommodate my needs? What is the right direction? Thanks, John __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Using Java nulls in CF?
For anyone wondering...with smaller files it really doesn't matter, but with a 2.3MB IIS logfile, the Java ReadLine method is about 30-40 percent faster than the old standby looping over the file as a string using chr(10) as a delimiter. -- jon mailto:[EMAIL PROTECTED] Monday, September 30, 2002, 11:43:44 PM, you wrote: jh Actually I didn't even think of using isDefined(), and I think jh you answered my question without knowing it :). jh All I really wanted to do was use java's readLine() method, but jh readLine returns a null when the last line has been read. So I stuck jh isDefined() in there an voila! It worked. jh cfscript jh fr = createObject(java, java.io.FileReader); jh br = createObject(java, java.io.BufferedReader); jh fr.init(filename); jh br.init(fr); jh line = br.readLine(); jh while (isDefined(line)) { jh writeOutput(line 'br'); jh line = br.readLine(); jh } jh fr.close(); jh br.close(); jh /cfscript jh Now I'm going to see if this is any faster than looping over line jh breaks in a string. I hope so after all I tried to get this to work :) __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Help please!! - Adding Email Alert functionality to a site
We've been asked to add email alert functionality to a clients web site. The client is a recruitment company and wants to maintain a list of prospective candidates that can be automatically alerted when the company has new job openings. The clients wants to be able to manually add / remove names to the email list and to enable new job seekers to add themselves or modify their settings through their web site. The settings will be quite simple, a new job seeker can specify to receive alerts for 1) Software development jobs 2) Management jobs 3) all jobs When the recruitment company has a new job requirement they will type it up, assign it to a category, and then have an option to send it out to all the prospective job seekers who have requested for alerts in that category. Before the emails are sent out the company wants a list of all the recipients so that they can manually delete or add people from the list before the mailing is kicked off. I realize this is a simple project and there are numerous ways to get this done. What I'm looking are suggestions on how to get this done very quickly ( 2 week time line) I also want to know if there is an existing product we can buy which with some customization can achieve this for us. Would love to receive recommendations, suggestions or even proposals if you have a fast solution. Thanks. __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Help please!! - Adding Email Alert functionality to a site
Check CF Dev Exchange for Infinite List Server - simple yet great product ** Kevin Parker Web Services Manager WorkCover Corporation [EMAIL PROTECTED] www.workcover.com p: 08 82332548 f: 08 82332000 m: 0418 806 166 ** -Original Message- From: John Innit [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 1 October 2002 2:06 PM To: CF-Talk Subject: Help please!! - Adding Email Alert functionality to a site We've been asked to add email alert functionality to a clients web site. The client is a recruitment company and wants to maintain a list of prospective candidates that can be automatically alerted when the company has new job openings. The clients wants to be able to manually add / remove names to the email list and to enable new job seekers to add themselves or modify their settings through their web site. The settings will be quite simple, a new job seeker can specify to receive alerts for 1) Software development jobs 2) Management jobs 3) all jobs When the recruitment company has a new job requirement they will type it up, assign it to a category, and then have an option to send it out to all the prospective job seekers who have requested for alerts in that category. Before the emails are sent out the company wants a list of all the recipients so that they can manually delete or add people from the list before the mailing is kicked off. I realize this is a simple project and there are numerous ways to get this done. What I'm looking are suggestions on how to get this done very quickly ( 2 week time line) I also want to know if there is an existing product we can buy which with some customization can achieve this for us. Would love to receive recommendations, suggestions or even proposals if you have a fast solution. Thanks. __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
CF Mail Problem..
Hello Forum, Need Help. I am trying to send data generated by a query using CFMAIL tag to a recepient whose email is obtained from a Form. However Instead of including and sending only one email containing all the rows returned by the query to the email address obtained from the Form in the previous page CFMAIL is sending multiple emails to the same email address --one email for each record generate from the query. Thus each email contains only one seperate record. I cant understand why? The recepient email address comes from the Form. The contents of the email is generated by the db query. Any help will be much appreciated. This is my code: CFQUERY name= Get_Products DataSource=XYZ Select * FROM Products WHERE product id=#Form.productid# /CFQUERY cfmail query=Get_Products to=#Form.Email_Address# from=myemail.com subject=Product type=HTML !--- The variables #productid# and #Email_Address# come from the Previous Page (Form.cfm). Table TR TD Productid: Get_Products.productid BR /TD TDDetails: Get_Products.details BR /TD TDModel : Get_Products.modelno BR /TD /TR /Table /cfmail The purpose is to send more details about the product selected by the user in the Form.cfm Page. Thanks Srimanta - Original Message - From: jon hall [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, October 01, 2002 4:13 PM Subject: Re: Using Java nulls in CF? For anyone wondering...with smaller files it really doesn't matter, but with a 2.3MB IIS logfile, the Java ReadLine method is about 30-40 percent faster than the old standby looping over the file as a string using chr(10) as a delimiter. -- jon mailto:[EMAIL PROTECTED] Monday, September 30, 2002, 11:43:44 PM, you wrote: jh Actually I didn't even think of using isDefined(), and I think jh you answered my question without knowing it :). jh All I really wanted to do was use java's readLine() method, but jh readLine returns a null when the last line has been read. So I stuck jh isDefined() in there an voila! It worked. jh cfscript jh fr = createObject(java, java.io.FileReader); jh br = createObject(java, java.io.BufferedReader); jh fr.init(filename); jh br.init(fr); jh line = br.readLine(); jh while (isDefined(line)) { jh writeOutput(line 'br'); jh line = br.readLine(); jh } jh fr.close(); jh br.close(); jh /cfscript jh Now I'm going to see if this is any faster than looping over line jh breaks in a string. I hope so after all I tried to get this to work :) __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: UDF Vs CFC (was RE: So many problems with CFC scopes...)
On Monday, Sep 30, 2002, at 09:23 US/Pacific, S. Isaac Dealey wrote: Question: (dunno if anyone has the answer to this) Do CFC's share methods in memory, or does each new component created have its own instances of all the functions defined in the cfc which take up their own space in memory? The one way saves memory, the other way theoretically might allow you to modify a method of one component on the fly without altering the definition of the CFC. Each instance has a public data member which is the 'pointer' to the function but the actual function code is shared between all instances. What that means is if you have a CFC with 20 public methods, then each instance will contain 20 'pointers' to that code. Awesome... Much more efficient this way. :) And the functionality which is potentially lost is something that would see very little use anyhow -- ( and I think liable to be problematic and cause confusion, so probably best avoided anyway ) ... but I was curious about the way it was implemented. This was what I suspected... my Tapestry cms currently works on a very similar model in CF 5 using libraries of custom tags as the methods, and structure elements as pointers where the key is the name of the method and the value being a relative path to the custom tag, which allows the methods to be inherited from parent classes. Good to know there's a parallel there, even if it's not necessarily practical knowledge. :) Isaac Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: SQL Text question from a beginner
A whopping 16 characters? 8^) Actually, according to my SQL Server reference, the TEXT datatype can store 2,147,483,647 bytes. -- Mosh Teitelbaum evoch, LLC Tel: (301) 625-9191 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 01, 2002 12:11 AM To: CF-Talk Subject: RE: SQL Text question from a beginner look at the datatype of text it holds 16 bytes of data, i believe. hth tony -Original Message- From: John Munyan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 01, 2002 12:04 AM To: CF-Talk Subject: SQL Text question from a beginner I am new to web development (if I can call what I am doing web development) and have a sql question and was hoping someone could point me in the right direction. I have put together this data driven website and found access to be insufficient to hold as much text as I wished in a description field. Thus I moved to sql, but am finding the 4000 character limitation for varchar to be a hindrance and not much better than the 255 character limit in access. I found a link a couple minutes ago basically stating I was pretty much limited to 8000 characters no matter the data type I pick save for some concatenation maneuver. So I am wondering how I can just put a blob of text into the database. I can't be the only guy who wants to store a couple pages of text in a field in a database so that it can be queried to populate a web page can I? On it's face it would seem that if I should be able to define my own data type to accommodate my needs? What is the right direction? Thanks, John __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists