Re: railo getting started
On Tuesday 23 Jun 2009, Don L wrote: Paul, I just figured it out, it's 8600, so, working now. NOT the documented (README file, 8080). This is bad considering such an important piece of information. The port number changes based on what else is running on the system (the J2EE app server uses the 'next' free port). -- Helping to enormously customize killer revolutionary bleeding-edge ROI as part of the IT team of the year, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word partner to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.co ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323864 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Coldfusion administrator page showing unexpected constant error
HI Brad, I too have the same issue, we are on multiserver configuration, may I know which class files you are referring, can we just rename the current cfide folder to something and copy the working cfide folder? Will this work out? Thanks, Vamsi ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323865 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF8 + MySql 5 + Thai language + Macs (Paul Hastings to the resque?)
Evening everyone, I have ran into a bit of a problem which I can;t really debug or replicate by myself in my dev environment or on live website... I have developed a Thai language website for a client. The app runs on CF8 + MySQL 5 and is configured for UTF-8 on both ends. All my tests of entering data via the admin area have and are working fine... However, when the client enters data it all goes into the db and then back to screen as boxes instead of Thai characters The twist on the issue is: the client is an all-Macs company, while I develop and host in Win-based environment, and I do not currently have a Mac to test things on (my wife with her MB is in Koh Samui at the moment... lucky her...) I suspect the issue has to do with the fonts available on the client's Macs and the ones the website has been designed with (further twist here - I am only doing CF and db part of the work on this site, the client has a Thai-based company doing the actual designs/stylesheets), but I am not 100% sure. Fron what I can see in the stylesheets, the main font used on the site is MS Sans Serif, + 2 more Thai fonts of which I have never heard before and my googling has not revealed much more (apart from a few web pages all in Thai, which I unfortunately do not read)... Internationalization and encodings guru Paul Hastings, or anyone else with experience with Thai language input in cross-platform environment - any thoughts/ideas/questions? Ti re-iterate once more - everything is working just fine when the site is accessed from Win-based computers. Macs seem to have a problem at least with data entry part (the front-end is not finished yet, so I do not know if Macs have a problem displaying db data in front-end, but in the back-end they definitely do...) Thanks, -- Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323866 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Coldfusion Glassfish Apache
On Tuesday 23 Jun 2009, Duane Burke wrote: deployed at install and I'm just not sure it's necessary, so I have a few questions for those who have deployed CF8 on Glassfish (or any other J2EE app server besides Jrun) using unix/linux. Not on Glassfish, but Websphere. First, I can't find the wsconfig file to connect apache so we're doing ugly rewrites - can anyone tell me where it's located, if it exists for J2EE installs? mod_rewrite is a good solution, esp look at what the Railo folks do with rewriting to an 'ajp:' URL. Second, we want the actual code files to live on a san while the CF app is deployed on the app server - we have used sun-web.xml files to give glassfish an alternate document root, but I'm wondering if that's necessary if we use virtual host directives in Apache 2. At a guess you have your J2EE server installed and running from /opt/foo ? And your document root will live in a share mounted from the SAN, /exports/funkysan/sites/barry ? I would think setting the SAN path as the document root in the virtual host would work. Be wary of where 'WEB-INF' ends up, if you need that to follow the document root around. -- Helping to evangelistically engineer schemas as part of the IT team of the year, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word partner to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.co ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323867 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Launching server monitor peeks out cpu memory
Hi Rother, Thanks for your reply, I will try this out and will update you soon :) Regards, Vamsi ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323868 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Default Custom Tag Path
When I installed CF8, the installer added C:\ColdFusion8\CustomTags in the custom tag path list. There is nothing in the directory except a generic tag that does nothing. Is it safe to remove this custom tag path? Michael Dawson Manager of Web Applications Office of Technology Services University of Evansville Each time you send an email message with a background pattern or loud background color, an endangered tree dies. Please help us save a tree. Just say NO to email backgrounds. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323869 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Coldfusion Glassfish Apache
Dave, thanks for the info, now I can stop chasing the WSConfig unicorn. ...I can't find the wsconfig file to connect apache so we're doing ugly rewrites - can anyone tell me where it's located, if it exists for J2EE installs? That's a JRun thing, not a CF thing. If you're not using JRun, you don't get wsconfig. You have to use whatever web server connector your J2EE app server comes with. Since I have zero experience with Glassfish, that's all I can tell you. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323870 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Coldfusion Glassfish Apache
Thanks, Tom. Do you have a link to the Railo info or is it pretty easy to find on their documentation site? On Tuesday 23 Jun 2009, Duane Burke wrote: deployed at install and I'm just not sure it's necessary, so I have a few questions for those who have deployed CF8 on Glassfish (or any other J2EE app server besides Jrun) using unix/linux. Not on Glassfish, but Websphere. First, I can't find the wsconfig file to connect apache so we're doing ugly rewrites - can anyone tell me where it's located, if it exists for J2EE installs? mod_rewrite is a good solution, esp look at what the Railo folks do with rewriting to an 'ajp:' URL. Second, we want the actual code files to live on a san while the CF app is deployed on the app server - we have used sun-web.xml files to give glassfish an alternate document root, but I'm wondering if that's necessary if we use virtual host directives in Apache 2. At a guess you have your J2EE server installed and running from /opt/foo ? And your document root will live in a share mounted from the SAN, /exports/funkysan/sites/barry ? I would think setting the SAN path as the document root in the virtual host would work. Be wary of where 'WEB-INF' ends up, if you need that to follow the document root around. -- Helping to evangelistically engineer schemas as part of the IT team of the year, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word partner to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells. co ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323871 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF8 + MySql 5 + Thai language + Macs (Paul Hastings to the resque?)
Azadi Saryev wrote: I have developed a Thai language website for a client. The app runs on CF8 + MySQL 5 and is configured for UTF-8 on both ends. HTML or flex? All my tests of entering data via the admin area have and are working fine... However, when the client enters data it all goes into the db and then back to screen as boxes instead of Thai characters boxes are minor rendering or encoding issue. you're not dead, not yet anyway. Mac to test things on (my wife with her MB is in Koh Samui at the moment... lucky her...) lucky? it's raining cats dogs. used on the site is MS Sans Serif, + 2 more Thai fonts of which I have there's no thai glyphs in sans serif (at least for unicode). which thai fonts? do the designers know about unicode? its more normal here to see codepage encodings, could be the problem (ie why they're using sans serif for thai). also they probably have macs. how old are the macs at the client? i can probably suggest a few font families if i know how far back to look. never heard before and my googling has not revealed much more (apart from a few web pages all in Thai, which I unfortunately do not read)... close enough to lao i think (i can read most lao anyway). ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323872 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 + MySql 5 + Thai language + Macs (Paul Hastings to the resque?)
Thanks for your comments, Paul! Here are my answers: The site is html + ajax (jquery). no flex, but lots of flash - it's a thai site after all! :) Yes, boxes only so far, no Thai text when the client tries to enter data... I have no problems entering Thai text data from my Win XP computer... My wife still loves it there, despite the rain :) MS Sans Serif seems to display Thai text in the pages just fine on my Win XP... Well, actually the font specified in the site's stylesheet is Microsoft Sans Serif... I am not sure such font even exists - maybe my browser just substitutes its default unicode font for it? The other 2 fonts specified in the stylesheet are FreesiaUPC and IrisUPC. More googling on these has led me to believe that they are NOT unicode fonts (http://www.ascenderfonts.com/font/freesiaupc.aspx and http://www.ascenderfonts.com/font/irisupc-bold.aspx), and are NOT generally-available fonts on a Mac OS10.4+. Am I correct? I have also found references to these Thai Mac fonts: Ayuthaya, Krungthep, Sathu, Silom, Thonburi and Lucida Grande - which seem to come pre-installed on Mac OS10.2+, but I am not 100% sure these are unicode - do you know? The designers do not seem to know unicode from a hole in the ground. They are an ASP.Net/Flash shop, but that's the client's choice I have to live with... They (designers) also say they have one old Mac they will have a look at tomorrow... The client is all up-to-date Macs with 10.2+ as far as I know. Do you think I will be better off re-configuring the app to use a Thai codepage (tis-620 ?) instead of utf-8? is that a standard for Thai websites? i would rather keep it all unicode/utf-8, because knowing this client they will probably want to have a site in multiple languages sometime soon... My Lao is pretty bad as well, at least on the speaking/reading side :) Too late to learn it now - moving to Hong Kong in a month. Time to learn Chinese, I guess... Again, thanks for your help, Paul! Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 24/06/2009 23:30, Paul Hastings wrote: Azadi Saryev wrote: I have developed a Thai language website for a client. The app runs on CF8 + MySQL 5 and is configured for UTF-8 on both ends. HTML or flex? All my tests of entering data via the admin area have and are working fine... However, when the client enters data it all goes into the db and then back to screen as boxes instead of Thai characters boxes are minor rendering or encoding issue. you're not dead, not yet anyway. Mac to test things on (my wife with her MB is in Koh Samui at the moment... lucky her...) lucky? it's raining cats dogs. used on the site is MS Sans Serif, + 2 more Thai fonts of which I have there's no thai glyphs in sans serif (at least for unicode). which thai fonts? do the designers know about unicode? its more normal here to see codepage encodings, could be the problem (ie why they're using sans serif for thai). also they probably have macs. how old are the macs at the client? i can probably suggest a few font families if i know how far back to look. never heard before and my googling has not revealed much more (apart from a few web pages all in Thai, which I unfortunately do not read)... close enough to lao i think (i can read most lao anyway). ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323873 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Coldfusion administrator page showing unexpected constant error
Vamsi, the class files are the Java byte code that your CFML has been compiled down to. They should be stored in the respective \WEB-INF\cfclasses folder for that instance. There is probably a large number of files all starting with cf, ending with .class and containing the names of your .cfm and .cfc files. You will probably want to restart CF after deleting them. And a word of warning, you server might be a little slower for a bit as it freshly recompiles all of them again. You should be able to rename the CFIDE folder and replace it. If using IIS, you might need to stop is first if it is pointing to the folder as a virtual directory. ~Brad Original Message Subject: Re: Coldfusion administrator page showing unexpected constant error From: Vamsi Pappu vissu.va...@gmail.com Date: Wed, June 24, 2009 9:09 am To: cf-talk cf-talk@houseoffusion.com HI Brad, I too have the same issue, we are on multiserver configuration, may I know which class files you are referring, can we just rename the current cfide folder to something and copy the working cfide folder? Will this work out? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323874 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Default Custom Tag Path
You'll probably want to go into the ColdFusion Administrator and remote the custom tag path for it under Extensions Custom Tag Paths, but I don't believe that folder is necessary for server harmony and world peace. ~Brad Original Message Subject: Default Custom Tag Path From: Dawson, Michael m...@evansville.edu Date: Wed, June 24, 2009 9:55 am To: cf-talk cf-talk@houseoffusion.com When I installed CF8, the installer added C:\ColdFusion8\CustomTags in the custom tag path list. There is nothing in the directory except a generic tag that does nothing. Is it safe to remove this custom tag path? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323875 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Default Custom Tag Path
Thanks, Brad. I took it out and everything still seems to be working. :-) Thanks, Mike -Original Message- From: b...@bradwood.com [mailto:b...@bradwood.com] Sent: Wednesday, June 24, 2009 12:28 PM To: cf-talk Subject: RE: Default Custom Tag Path You'll probably want to go into the ColdFusion Administrator and remote the custom tag path for it under Extensions Custom Tag Paths, but I don't believe that folder is necessary for server harmony and world peace. ~Brad Original Message Subject: Default Custom Tag Path From: Dawson, Michael m...@evansville.edu Date: Wed, June 24, 2009 9:55 am To: cf-talk cf-talk@houseoffusion.com When I installed CF8, the installer added C:\ColdFusion8\CustomTags in the custom tag path list. There is nothing in the directory except a generic tag that does nothing. Is it safe to remove this custom tag path? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323876 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Default Custom Tag Path
Hey Michael, As was stated in previous emails, this shouldn't be a problem. I don't know the budget or the size of your company/website, but my company has a development/staging environment that both replicate our entire website; This is really helpful for cases like these where you would like to make a change but you don't risk crashing a production server. In my case I would have just deleted it off our development server and watched to see if anything broke, then do it on the other servers as well. I may be telling you things you already know, if so I apologize, I just thought I would mention it just in case. :) Best Regards, Paul Alkema AlkemaDesigns.com -Original Message- From: Dawson, Michael [mailto:m...@evansville.edu] Sent: Wednesday, June 24, 2009 10:55 AM To: cf-talk Subject: Default Custom Tag Path When I installed CF8, the installer added C:\ColdFusion8\CustomTags in the custom tag path list. There is nothing in the directory except a generic tag that does nothing. Is it safe to remove this custom tag path? Michael Dawson Manager of Web Applications Office of Technology Services University of Evansville Each time you send an email message with a background pattern or loud background color, an endangered tree dies. Please help us save a tree. Just say NO to email backgrounds. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323877 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
ColdExt question
ok, I've installed ColdExt yesterday after installing railo 3.1x. Initially ColdExt's window tag seemed to work but then, it cracked through a hole something, it failed with an err msg below, sought help with coldext.riaforge.org/forums... however, no response yet, can't wait. Sorry if it's a bit of incursion to the traditional coldfusion talk. Railo 3.1.0.015 Error (Template) Message The name [TrueFalseFormat] is already used by a Build in Function Stacktrace The Error Occurred in C:\Program Files\Railo\webapps\ROOT\coldext\_functions.cfm: line 68 66: /cffunction 67: 68: cffunction name=TrueFalseFormat output=false 69: cfargument name=b type=any required=true 70: cfif YesNoFormat(b) called fromC:\Program Files\Railo\webapps\ROOT\coldext\init.cfm: line 25 23: 24: cfif not isDefined(_coldext_functions) 25: cfinclude template=_functions.cfm 26: /cfif 27: called fromC:\Program Files\Railo\webapps\ROOT\coldext\onReady.cfm: line 18 16: 17: cfif not isDefined(request._coldext_init) 18: cfinclude template=init.cfm 19: /cfif 20: And the underlying cf template's breakpoint is ext:onReady Note: there's a line above to import the ext lib for the window call. Thanks. Don ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323878 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CF8 Uses Incorrect Component Path
On a single CF8 web server, I have a legacy web site that uses Application.cfm along with a single global mapping and single global custom tag path. The server directory location for this web site is: D:\Inetpub\AceLink The mapping is: / = D:\Inetpub\AceLink The custom tag path is: D:\Inetpub\AceLink I have an error handling component located at: D:\Inetpub\AceLink\cfc\Utility\ErrorHandler.cfc On this same web server, I have another web site that uses Application.cfc and per-application settings. Per-app settings is enabled in the CF administrator. CF is running as a single instance. This site's directories are as follows: E:\WebSites\applybeta.evansville.edu E:\WebSites\applybeta.evansville.edu\Extensions E:\WebSites\applybeta.evansville.edu\Extensions\Components E:\WebSites\applybeta.evansville.edu\Extensions\CustomTags I have a component at: E:\WebSites\applybeta.evansville.edu\Extensions\Components\ErrorHandler. cfc That does it for the OS files. Now, my simple Application.cfc contains the following code: cfcomponent output=false cfset this.name = applybeta.evansville.edu cfset this.customTagPaths = E:\WebSites\applybeta.evansville.edu\Extensions\CustomTags,E:\WebSites\ applybeta.evansville.edu\Extensions\Components cfset errorHandler = createObject(component, ErrorHandler).init() pcfdump var=#this# label=this scope/p pcfdump var=#errorHandler# label=/p cfabort /cfcomponent When I execute this code, CF actually finds the component in the AceLink directory rather than in the directory I have specified in the this.customTagPaths variable. I have proved this because a dump of the errorHandler variable points to: cfc.Utility.ErrorHandler. This leads me to believe that CF is first looking in the global custom tag paths directory before it looks in the per-application custom tag paths. When I removed the global custom tag path that points to D:\Inetpub\AceLink, the page breaks with the error that the component cannot be found. Now, this leads me to believe that I have a coding error, but I have double- and triple-checked all of the paths. The paths, above, are copied and pasted into this message. The same goes for the Application.cfc code. If anyone can see my problem, I would certainly appreciate it. I'm so close to this I probably can't see it right in front of me. However, I am expecting that this is a bug because I have several other web sites, on this same server, that work as expected with Application.cfc and per-application settings. Thanks Michael Dawson Manager of Web Applications Office of Technology Services University of Evansville Each time you send an email message with a background pattern or loud background color, an endangered tree dies. Please help us save a tree. Just say NO to email backgrounds. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323879 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdExt question
I have seen this issue with FarCry on Railo. They have the method name the same an an inbuilt railo method ( dump, query ) As Railo looks like its has its own trueFalseFormat function I would try just delete that method out of _functions.cfm and see how well the inbuilt Railo method works. Paul. On Wed, Jun 24, 2009 at 1:51 PM, Don Ldo...@yahoo.com wrote: ok, I've installed ColdExt yesterday after installing railo 3.1x. Initially ColdExt's window tag seemed to work but then, it cracked through a hole something, it failed with an err msg below, sought help with coldext.riaforge.org/forums... however, no response yet, can't wait. Sorry if it's a bit of incursion to the traditional coldfusion talk. Railo 3.1.0.015 Error (Template) Message The name [TrueFalseFormat] is already used by a Build in Function Stacktrace The Error Occurred in C:\Program Files\Railo\webapps\ROOT\coldext\_functions.cfm: line 68 66: /cffunction 67: 68: cffunction name=TrueFalseFormat output=false 69: cfargument name=b type=any required=true 70: cfif YesNoFormat(b) called fromC:\Program Files\Railo\webapps\ROOT\coldext\init.cfm: line 25 23: 24: cfif not isDefined(_coldext_functions) 25: cfinclude template=_functions.cfm 26: /cfif 27: called fromC:\Program Files\Railo\webapps\ROOT\coldext\onReady.cfm: line 18 16: 17: cfif not isDefined(request._coldext_init) 18: cfinclude template=init.cfm 19: /cfif 20: And the underlying cf template's breakpoint is ext:onReady Note: there's a line above to import the ext lib for the window call. Thanks. Don ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323880 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Default Custom Tag Path
Paul, thanks for the advice. We, too, have a test/dev environment, however that server crashed and I'm waiting for the sys admin to rebuild it. Fortunately, the majority of our users are home for the summer, so we can afford a few moments of downtime. Thanks, Mike -Original Message- From: Paul Alkema [mailto:paulalkemadesi...@gmail.com] Sent: Wednesday, June 24, 2009 12:53 PM To: cf-talk Subject: RE: Default Custom Tag Path Hey Michael, As was stated in previous emails, this shouldn't be a problem. I don't know the budget or the size of your company/website, but my company has a development/staging environment that both replicate our entire website; This is really helpful for cases like these where you would like to make a change but you don't risk crashing a production server. In my case I would have just deleted it off our development server and watched to see if anything broke, then do it on the other servers as well. I may be telling you things you already know, if so I apologize, I just thought I would mention it just in case. :) Best Regards, Paul Alkema AlkemaDesigns.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323881 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdExt question
http://wiki.getrailo.org/wiki/3-1-Functions:TrueFalseFormat Best re fence I found to Railos implementation of this function. Paul On Wed, Jun 24, 2009 at 2:04 PM, Paul Kukielpkuk...@gmail.com wrote: I have seen this issue with FarCry on Railo. They have the method name the same an an inbuilt railo method ( dump, query ) As Railo looks like its has its own trueFalseFormat function I would try just delete that method out of _functions.cfm and see how well the inbuilt Railo method works. Paul. On Wed, Jun 24, 2009 at 1:51 PM, Don Ldo...@yahoo.com wrote: ok, I've installed ColdExt yesterday after installing railo 3.1x. Initially ColdExt's window tag seemed to work but then, it cracked through a hole something, it failed with an err msg below, sought help with coldext.riaforge.org/forums... however, no response yet, can't wait. Sorry if it's a bit of incursion to the traditional coldfusion talk. Railo 3.1.0.015 Error (Template) Message The name [TrueFalseFormat] is already used by a Build in Function Stacktrace The Error Occurred in C:\Program Files\Railo\webapps\ROOT\coldext\_functions.cfm: line 68 66: /cffunction 67: 68: cffunction name=TrueFalseFormat output=false 69: cfargument name=b type=any required=true 70: cfif YesNoFormat(b) called fromC:\Program Files\Railo\webapps\ROOT\coldext\init.cfm: line 25 23: 24: cfif not isDefined(_coldext_functions) 25: cfinclude template=_functions.cfm 26: /cfif 27: called fromC:\Program Files\Railo\webapps\ROOT\coldext\onReady.cfm: line 18 16: 17: cfif not isDefined(request._coldext_init) 18: cfinclude template=init.cfm 19: /cfif 20: And the underlying cf template's breakpoint is ext:onReady Note: there's a line above to import the ext lib for the window call. Thanks. Don ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323882 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 Uses Incorrect Component Path
When using CustomTags, the CF server will always search the directory of the calling template first, before then moving to the app and server level defined paths. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of Learning Ext JS http://www.packtpub.com/learning-ext-js/book _ http://blog.cutterscrossing.com On 6/24/2009 12:58 PM, Dawson, Michael wrote: On a single CF8 web server, I have a legacy web site that uses Application.cfm along with a single global mapping and single global custom tag path. The server directory location for this web site is: D:\Inetpub\AceLink The mapping is: / = D:\Inetpub\AceLink The custom tag path is: D:\Inetpub\AceLink I have an error handling component located at: D:\Inetpub\AceLink\cfc\Utility\ErrorHandler.cfc On this same web server, I have another web site that uses Application.cfc and per-application settings. Per-app settings is enabled in the CF administrator. CF is running as a single instance. This site's directories are as follows: E:\WebSites\applybeta.evansville.edu E:\WebSites\applybeta.evansville.edu\Extensions E:\WebSites\applybeta.evansville.edu\Extensions\Components E:\WebSites\applybeta.evansville.edu\Extensions\CustomTags I have a component at: E:\WebSites\applybeta.evansville.edu\Extensions\Components\ErrorHandler. cfc That does it for the OS files. Now, my simple Application.cfc contains the following code: cfcomponent output=false cfset this.name = applybeta.evansville.edu cfset this.customTagPaths = E:\WebSites\applybeta.evansville.edu\Extensions\CustomTags,E:\WebSites\ applybeta.evansville.edu\Extensions\Components cfset errorHandler = createObject(component, ErrorHandler).init() pcfdump var=#this# label=this scope/p pcfdump var=#errorHandler# label=/p cfabort /cfcomponent When I execute this code, CF actually finds the component in the AceLink directory rather than in the directory I have specified in the this.customTagPaths variable. I have proved this because a dump of the errorHandler variable points to: cfc.Utility.ErrorHandler. This leads me to believe that CF is first looking in the global custom tag paths directory before it looks in the per-application custom tag paths. When I removed the global custom tag path that points to D:\Inetpub\AceLink, the page breaks with the error that the component cannot be found. Now, this leads me to believe that I have a coding error, but I have double- and triple-checked all of the paths. The paths, above, are copied and pasted into this message. The same goes for the Application.cfc code. If anyone can see my problem, I would certainly appreciate it. I'm so close to this I probably can't see it right in front of me. However, I am expecting that this is a bug because I have several other web sites, on this same server, that work as expected with Application.cfc and per-application settings. Thanks Michael Dawson Manager of Web Applications Office of Technology Services University of Evansville Each time you send an email message with a background pattern or loud background color, an endangered tree dies. Please help us save a tree. Just say NO to email backgrounds. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323883 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: ColdExt question
I have seen this issue with FarCry on Railo. They have the method name the same an an inbuilt railo method ( dump, query ) As Railo looks like its has its own trueFalseFormat function I would try just delete that method out of _functions.cfm and see how well the inbuilt Railo method works. Paul. On Wed, Jun 24, 2009 at 1:51 PM, D Beautiful, Paul, that's exactly where the culprit was, thank you. Don ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323884 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 Uses Incorrect Component Path
A final slash in the customtagpath parameter. cfset this.customTagPaths = E:\WebSites\applybeta.evansville.edu\Extensions\CustomTags,E:\WebSites\ applybeta.evansville.edu\Extensions\Components\ IIRC that is an important but easy to overlook issue. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323885 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CF8 Uses Incorrect Component Path
Understood and great information to know, but this directory structure is nowhere close to where it is finding the other component. Heck, they are on different drives. I'm trying to create the object in Application.cfc. In that same directory, there are only two files index.cfm and page2.cfm. Since it cannot find ErrorHandler.cfc in that directory, then it should look in my defined per-app setting. However, it does not. Thanks, Mike -Original Message- From: Cutter (ColdFusion) [mailto:cold.fus...@cutterscrossing.com] Sent: Wednesday, June 24, 2009 1:28 PM To: cf-talk Subject: Re: CF8 Uses Incorrect Component Path When using CustomTags, the CF server will always search the directory of the calling template first, before then moving to the app and server level defined paths. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323886 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CF8 Uses Incorrect Component Path
As a test of this, I moved the ErrorHandler.cfc file to the same directory as the Application.cfc file. It worked. @Ian, Adding \ to the end of the path made no difference. In fact, I have another web site that works properly, and it does not have trailing slashes. Thanks, Mike -Original Message- From: Dawson, Michael [mailto:m...@evansville.edu] Sent: Wednesday, June 24, 2009 1:31 PM To: cf-talk Subject: RE: CF8 Uses Incorrect Component Path Understood and great information to know, but this directory structure is nowhere close to where it is finding the other component. Heck, they are on different drives. I'm trying to create the object in Application.cfc. In that same directory, there are only two files index.cfm and page2.cfm. Since it cannot find ErrorHandler.cfc in that directory, then it should look in my defined per-app setting. However, it does not. Thanks, Mike ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323887 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CF8 Uses Incorrect Component Path
Let me add that when I moved the component back to the Components directory, it broke again. Thanks, Mike -Original Message- From: Dawson, Michael [mailto:m...@evansville.edu] Sent: Wednesday, June 24, 2009 1:35 PM To: cf-talk Subject: RE: CF8 Uses Incorrect Component Path As a test of this, I moved the ErrorHandler.cfc file to the same directory as the Application.cfc file. It worked. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323888 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF8 Uses Incorrect Component Path
One other addendum. Custom Tags are found in their expected location. It appears that this is focused only around components. Thanks, Mike ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323889 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF8 Uses Incorrect Component Path
Components are different from CustomTags, and your mapping is a customTagPaths mapping. You'll want to use a standard cf mapping: this.mapping['/Components'] = 'c:\Inetpub\componentpath\'; Then ref that path (/Components) in your code. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of Learning Ext JS http://www.packtpub.com/learning-ext-js/book _ http://blog.cutterscrossing.com On 6/24/2009 1:44 PM, Dawson, Michael wrote: One other addendum. Custom Tags are found in their expected location. It appears that this is focused only around components. Thanks, Mike ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323890 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF8 Uses Incorrect Component Path
Hey Michael, It looks like your issue is where you set the component path. cfset errorHandler = createObject(component, ErrorHandler).init() Your setting up a mapping for your custom tags, but no mapping for your component. Also, you may be aware of this but you can set global mappings in the coldfusion administrator under the mappings tab. -Original Message- From: Dawson, Michael [mailto:m...@evansville.edu] Sent: Wednesday, June 24, 2009 1:59 PM To: cf-talk Subject: CF8 Uses Incorrect Component Path On a single CF8 web server, I have a legacy web site that uses Application.cfm along with a single global mapping and single global custom tag path. The server directory location for this web site is: D:\Inetpub\AceLink The mapping is: / = D:\Inetpub\AceLink The custom tag path is: D:\Inetpub\AceLink I have an error handling component located at: D:\Inetpub\AceLink\cfc\Utility\ErrorHandler.cfc On this same web server, I have another web site that uses Application.cfc and per-application settings. Per-app settings is enabled in the CF administrator. CF is running as a single instance. This site's directories are as follows: E:\WebSites\applybeta.evansville.edu E:\WebSites\applybeta.evansville.edu\Extensions E:\WebSites\applybeta.evansville.edu\Extensions\Components E:\WebSites\applybeta.evansville.edu\Extensions\CustomTags I have a component at: E:\WebSites\applybeta.evansville.edu\Extensions\Components\ErrorHandler. cfc That does it for the OS files. Now, my simple Application.cfc contains the following code: cfcomponent output=false cfset this.name = applybeta.evansville.edu cfset this.customTagPaths = E:\WebSites\applybeta.evansville.edu\Extensions\CustomTags,E:\WebSites\ applybeta.evansville.edu\Extensions\Components cfset errorHandler = createObject(component, ErrorHandler).init() pcfdump var=#this# label=this scope/p pcfdump var=#errorHandler# label=/p cfabort /cfcomponent When I execute this code, CF actually finds the component in the AceLink directory rather than in the directory I have specified in the this.customTagPaths variable. I have proved this because a dump of the errorHandler variable points to: cfc.Utility.ErrorHandler. This leads me to believe that CF is first looking in the global custom tag paths directory before it looks in the per-application custom tag paths. When I removed the global custom tag path that points to D:\Inetpub\AceLink, the page breaks with the error that the component cannot be found. Now, this leads me to believe that I have a coding error, but I have double- and triple-checked all of the paths. The paths, above, are copied and pasted into this message. The same goes for the Application.cfc code. If anyone can see my problem, I would certainly appreciate it. I'm so close to this I probably can't see it right in front of me. However, I am expecting that this is a bug because I have several other web sites, on this same server, that work as expected with Application.cfc and per-application settings. Thanks Michael Dawson Manager of Web Applications Office of Technology Services University of Evansville Each time you send an email message with a background pattern or loud background color, an endangered tree dies. Please help us save a tree. Just say NO to email backgrounds. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323891 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
ColdExt: window again
I'm wondering if the ext window has an attribute to allow vertical scroll. By default cf8's cfwindow is intelligent enough to automatically make vertical scroll bar available where the window is filled but I didn't find the same ability with the ext window. It's nice though it also has an attribut of closable. Thanks. Don ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323892 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdExt: window again
The Ext window does (autoScroll: true), but I'm not sure whether Justin's implementation supports it. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of Learning Ext JS http://www.packtpub.com/learning-ext-js/book _ http://blog.cutterscrossing.com On 6/24/2009 2:01 PM, Don L wrote: I'm wondering if the ext window has an attribute to allow vertical scroll. By default cf8's cfwindow is intelligent enough to automatically make vertical scroll bar available where the window is filled but I didn't find the same ability with the ext window. It's nice though it also has an attribut of closable. Thanks. Don ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323893 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: ColdExt: window again
Thanks, Cutter, yes, it does support this attribute but previously I did not know its exact name. The Ext window does (autoScroll: true), but I'm not sure whether Justin's implementation supports it. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of Learning Ext JS http://www.packtpub.com/learning-ext-js/book _ http://blog.cutterscrossing.com On 6/24/2009 2:01 PM, Don L wrote: I'm wondering if the ext window has an attribute to allow vertical scroll. By default cf8's cfwindow is intelligent enough to automatically make vertical scroll bar available where the window is filled but I didn't find the same ability with the ext window. It's nice though it also has an attribut of closable. Thanks. Don ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323894 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdExt: window again
There are full Ext API's available on the Ext site for 1.1 (go to the Learning Center), 2.2 (from the Product menu) and 3.0 (from the Downloads page). Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of Learning Ext JS http://www.packtpub.com/learning-ext-js/book _ http://blog.cutterscrossing.com On 6/24/2009 2:50 PM, Don L wrote: Thanks, Cutter, yes, it does support this attribute but previously I did not know its exact name. The Ext window does (autoScroll: true), but I'm not sure whether Justin's implementation supports it. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of Learning Ext JS http://www.packtpub.com/learning-ext-js/book _ http://blog.cutterscrossing.com On 6/24/2009 2:01 PM, Don L wrote: I'm wondering if the ext window has an attribute to allow vertical scroll. By default cf8's cfwindow is intelligent enough to automatically make vertical scroll bar available where the window is filled but I didn't find the same ability with the ext window. It's nice though it also has an attribut of closable. Thanks. Don ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323895 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Windows Server 2008 and CF5
Is there a way to manually configure coldfusion 5 for use with IIS 7 (when installing it fails to recognise IIS 7 as a web server so I'm forced to use the default). I know this can be manually done with MX but not so sure about CF5. I've added the appropriate handlers and script mappings to no avail. It turns out that you can't use the browse function to set up script mappings for some old apps, but typing the path and file (iscf.dll) in *lower case* corrects the issue, and surprisingly, even on a 64 bit machine CF5 runs fine (as long as it's running in a 32 bit application pool). I'm sure I will encounter more problems along the way, so am still open to suggestions and recommendations at this point. At this stage I'm definitely of the opinion it is better for me to learn Apache and just run with that. Mark ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323896 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Windows Server 2008 and CF5
Is there a way to manually configure coldfusion 5 for use with IIS 7 (when installing it fails to recognise IIS 7 as a web server so I'm forced to use the default). I know this can be manually done with MX but not so sure about CF5. I've added the appropriate handlers and script mappings to no avail. It turns out that you can't use the browse function to set up script mappings for some old apps, but typing the path and file (iscf.dll) in *lower case* corrects the issue, and surprisingly, even on a 64 bit machine CF5 runs fine (as long as it's running in a 32 bit application pool). I'm sure I will encounter more problems along the way, so am still open to suggestions and recommendations at this point. At this stage I'm definitely of the opinion it is better for me to learn Apache and just run with that. Mark ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323897 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Windows Server 2008 and CF5
yes, same as your case, so waiting for you good news ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323898 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF8 Uses Incorrect Component Path
Alright gentlemen, I think I have it figured out now. I do remember that CF looks in custom tag paths, but that was when I was using components with application.cfm and my legacy code. http://livedocs.adobe.com/coldfusion/6.1/htmldocs/buildi12.htm #4 reads Directories specified on Custom Tag Paths page of the Administrator That said, I'm ready to move on to doing it the right way with Application.cfc. I want to specify my components using a FQDN such as: edu.evansville.applybeta.package.component My components are located at: E:\WebSites\applybeta.evansville.edu\Extensions\Components I would then have the following directory structure: E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu\evansvill e E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu\evansvill e\applybeta\ and so on... Should I: * Create a / mapping to E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu * Create a /edu.evansville.applybeta mapping to E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu\evansvill e\applybeta\ What is the most accepted method for mapping in this manner? I certainly appreciate your help with clarifying this for me. Thanks, Mike -Original Message- From: Cutter (ColdFusion) [mailto:cold.fus...@cutterscrossing.com] Sent: Wednesday, June 24, 2009 1:53 PM To: cf-talk Subject: Re: CF8 Uses Incorrect Component Path Components are different from CustomTags, and your mapping is a customTagPaths mapping. You'll want to use a standard cf mapping: this.mapping['/Components'] = 'c:\Inetpub\componentpath\'; Then ref that path (/Components) in your code. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323899 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 Uses Incorrect Component Path
Just do a mapping to /edu cfset THIS.mapping[/edu] = E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu / Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of Learning Ext JS http://www.packtpub.com/learning-ext-js/book _ http://blog.cutterscrossing.com On 6/24/2009 4:10 PM, Dawson, Michael wrote: Alright gentlemen, I think I have it figured out now. I do remember that CF looks in custom tag paths, but that was when I was using components with application.cfm and my legacy code. http://livedocs.adobe.com/coldfusion/6.1/htmldocs/buildi12.htm #4 reads Directories specified on Custom Tag Paths page of the Administrator That said, I'm ready to move on to doing it the right way with Application.cfc. I want to specify my components using a FQDN such as: edu.evansville.applybeta.package.component My components are located at: E:\WebSites\applybeta.evansville.edu\Extensions\Components I would then have the following directory structure: E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu\evansvill e E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu\evansvill e\applybeta\ and so on... Should I: * Create a / mapping to E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu * Create a /edu.evansville.applybeta mapping to E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu\evansvill e\applybeta\ What is the most accepted method for mapping in this manner? I certainly appreciate your help with clarifying this for me. Thanks, Mike -Original Message- From: Cutter (ColdFusion) [mailto:cold.fus...@cutterscrossing.com] Sent: Wednesday, June 24, 2009 1:53 PM To: cf-talk Subject: Re: CF8 Uses Incorrect Component Path Components are different from CustomTags, and your mapping is a customTagPaths mapping. You'll want to use a standard cf mapping: this.mapping['/Components'] = 'c:\Inetpub\componentpath\'; Then ref that path (/Components) in your code. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323900 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF8 Uses Incorrect Component Path
Michael, what is the purpose of the applybeta.evansville.edu folder? I think you might have problems if you have periods in your mapping names. Traditionally, I would create a single folder that ALL components will be in. Let's say E:\WebSites\CFCs\ Then I create create a mapping called /CFCs that points to E:\WebSites\CFCs\ Then I put in the rest of the folders in reverse domain name format like so: E:\WebSites\CFCs\edu\evansville\applybeta\Registration\ Assuming you had a component called registerOnline.cfc in your Registration folder, you would reference it in create object as CFCs.edu.evansville.applybeta.Registration.registerOnline Alternatively, if E:\WebSites\ was your web root, you could omit the mapping and CFCs folder and simply reference your component as edu.evansville.applybeta.Registration.registerOnline. I prefer to have a cfc folder outside of my webroot that all my apps can access via a mapping. ~Brad Original Message Subject: RE: CF8 Uses Incorrect Component Path From: Dawson, Michael m...@evansville.edu Date: Wed, June 24, 2009 4:10 pm To: cf-talk cf-talk@houseoffusion.com Alright gentlemen, I think I have it figured out now. I do remember that CF looks in custom tag paths, but that was when I was using components with application.cfm and my legacy code. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323901 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF8 Uses Incorrect Component Path
Steve, I appreciate your help. I'm just not getting it to work. I've taken it back to the most-basic where I have a component in a Components directory. CF will still not find the component. I have a path at: E:\WebSites\applybeta.evansville.edu\Extensions\Components In that directory, I have the file: E:\WebSites\applybeta.evansville.edu\Extensions\Components\ErrorHandler. cfc In my Application.cfc, I have the following: cfset this.mappings[/Components] = E:\WebSites\applybeta.evansville.edu\Extensions\Components cfset errorHandler = createObject(component, Components.ErrorHandler).init() I still get Could not find the ColdFusion Component or Interface Components.ErrorHandler. I'm at a total loss as to why this does not work. I wish that the CF error would display where (file paths) it tried to access the components. Thanks, Mike -Original Message- From: Cutter (ColdFusion) [mailto:cold.fus...@cutterscrossing.com] Sent: Wednesday, June 24, 2009 4:28 PM To: cf-talk Subject: Re: CF8 Uses Incorrect Component Path Just do a mapping to /edu cfset THIS.mapping[/edu] = E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu / Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of Learning Ext JS http://www.packtpub.com/learning-ext-js/book _ http://blog.cutterscrossing.com On 6/24/2009 4:10 PM, Dawson, Michael wrote: Alright gentlemen, I think I have it figured out now. I do remember that CF looks in custom tag paths, but that was when I was using components with application.cfm and my legacy code. http://livedocs.adobe.com/coldfusion/6.1/htmldocs/buildi12.htm #4 reads Directories specified on Custom Tag Paths page of the Administrator That said, I'm ready to move on to doing it the right way with Application.cfc. I want to specify my components using a FQDN such as: edu.evansville.applybeta.package.component My components are located at: E:\WebSites\applybeta.evansville.edu\Extensions\Components I would then have the following directory structure: E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu\evansvi ll e E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu\evansvi ll e\applybeta\ and so on... Should I: * Create a / mapping to E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu * Create a /edu.evansville.applybeta mapping to E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu\evansvi ll e\applybeta\ What is the most accepted method for mapping in this manner? I certainly appreciate your help with clarifying this for me. Thanks, Mike -Original Message- From: Cutter (ColdFusion) [mailto:cold.fus...@cutterscrossing.com] Sent: Wednesday, June 24, 2009 1:53 PM To: cf-talk Subject: Re: CF8 Uses Incorrect Component Path Components are different from CustomTags, and your mapping is a customTagPaths mapping. You'll want to use a standard cf mapping: this.mapping['/Components'] = 'c:\Inetpub\componentpath\'; Then ref that path (/Components) in your code. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323902 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CF8 Uses Incorrect Component Path
I'm basically doing what you are saying. I wonder if the periods in the folder name is causing my problems? I don't see how it could be an issue because I'm not referring to the part of the path that includes the periods. We have structured our web sites such as: E:\WebSites\www.evansville.edu E:\WebSites\applybeta.evansville.edu E:\WebSites\www.globalindiana.com Under each of these, I have a structure of: \Extensions\ \Extensions\CustomTags\ \Extensions\Components\ \Extensions\Includes\ \WebSite\ \Config\ In an earlier reply to Steve, I showed my directory structure and code. It still does not work. Tomorrow, I'm going to rename the directory to remove the periods and see if that makes a difference. Thanks, Mike -Original Message- From: b...@bradwood.com [mailto:b...@bradwood.com] Sent: Wednesday, June 24, 2009 4:41 PM To: cf-talk Subject: RE: CF8 Uses Incorrect Component Path Michael, what is the purpose of the applybeta.evansville.edu folder? I think you might have problems if you have periods in your mapping names. Traditionally, I would create a single folder that ALL components will be in. Let's say E:\WebSites\CFCs\ Then I create create a mapping called /CFCs that points to E:\WebSites\CFCs\ Then I put in the rest of the folders in reverse domain name format like so: E:\WebSites\CFCs\edu\evansville\applybeta\Registration\ Assuming you had a component called registerOnline.cfc in your Registration folder, you would reference it in create object as CFCs.edu.evansville.applybeta.Registration.registerOnline Alternatively, if E:\WebSites\ was your web root, you could omit the mapping and CFCs folder and simply reference your component as edu.evansville.applybeta.Registration.registerOnline. I prefer to have a cfc folder outside of my webroot that all my apps can access via a mapping. ~Brad Original Message Subject: RE: CF8 Uses Incorrect Component Path From: Dawson, Michael m...@evansville.edu Date: Wed, June 24, 2009 4:10 pm To: cf-talk cf-talk@houseoffusion.com Alright gentlemen, I think I have it figured out now. I do remember that CF looks in custom tag paths, but that was when I was using components with application.cfm and my legacy code. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323903 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 Uses Incorrect Component Path
I'm not 100% sure, but if you have the createObject() call straight after the this.mappings[] code it probably won't work. I would expect that CF has yet to build those mappings into what it uses to determine mapped paths yet. Do your createObject() call inside a index.cfm or similar, and you should find that it works. Mark On Thu, Jun 25, 2009 at 7:43 AM, Dawson, Michael m...@evansville.eduwrote: Steve, I appreciate your help. I'm just not getting it to work. I've taken it back to the most-basic where I have a component in a Components directory. CF will still not find the component. I have a path at: E:\WebSites\applybeta.evansville.edu\Extensions\Components In that directory, I have the file: E:\WebSites\applybeta.evansville.edu\Extensions\Components\ErrorHandler. cfc In my Application.cfc, I have the following: cfset this.mappings[/Components] = E:\WebSites\applybeta.evansville.edu\Extensions\Components cfset errorHandler = createObject(component, Components.ErrorHandler).init() I still get Could not find the ColdFusion Component or Interface Components.ErrorHandler. I'm at a total loss as to why this does not work. I wish that the CF error would display where (file paths) it tried to access the components. Thanks, Mike -Original Message- From: Cutter (ColdFusion) [mailto:cold.fus...@cutterscrossing.com] Sent: Wednesday, June 24, 2009 4:28 PM To: cf-talk Subject: Re: CF8 Uses Incorrect Component Path Just do a mapping to /edu cfset THIS.mapping[/edu] = E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu / Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of Learning Ext JS http://www.packtpub.com/learning-ext-js/book _ http://blog.cutterscrossing.com On 6/24/2009 4:10 PM, Dawson, Michael wrote: Alright gentlemen, I think I have it figured out now. I do remember that CF looks in custom tag paths, but that was when I was using components with application.cfm and my legacy code. http://livedocs.adobe.com/coldfusion/6.1/htmldocs/buildi12.htm #4 reads Directories specified on Custom Tag Paths page of the Administrator That said, I'm ready to move on to doing it the right way with Application.cfc. I want to specify my components using a FQDN such as: edu.evansville.applybeta.package.component My components are located at: E:\WebSites\applybeta.evansville.edu\Extensions\Components I would then have the following directory structure: E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu\evansvi ll e E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu\evansvi ll e\applybeta\ and so on... Should I: * Create a / mapping to E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu * Create a /edu.evansville.applybeta mapping to E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu\evansvi ll e\applybeta\ What is the most accepted method for mapping in this manner? I certainly appreciate your help with clarifying this for me. Thanks, Mike -Original Message- From: Cutter (ColdFusion) [mailto:cold.fus...@cutterscrossing.com] Sent: Wednesday, June 24, 2009 1:53 PM To: cf-talk Subject: Re: CF8 Uses Incorrect Component Path Components are different from CustomTags, and your mapping is a customTagPaths mapping. You'll want to use a standard cf mapping: this.mapping['/Components'] = 'c:\Inetpub\componentpath\'; Then ref that path (/Components) in your code. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323904 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFDocument, finding y position?
I am using cfdocument to output a report that is primarily used as a print product. There are certain things like subtitles or a comment box that I might like to bump to the next page if it is going to be at the very bottom of a page. The question then... can cfdocument tell me the relative position on a printed page of whatever I am outputting? I am also getting that notorious issue where cfdocument pagebreaks and chops a line of text in half. I'm on CF8.01 so I don't think it's an issue with having out of date software. Billy Cox Old World Spices bi...@oldworldspices.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323905 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 Uses Incorrect Component Path
Mark is exactly right, and you would never want to instantiate components within your Application.cfc constructor like that, as they would get re-created on every page request. You really want to put this component (your errorhandler) in the APPLICATION scope, and place it there within your onApplicationStart() method. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of Learning Ext JS http://www.packtpub.com/learning-ext-js/book _ http://blog.cutterscrossing.com On 6/24/2009 4:55 PM, Mark Mandel wrote: I'm not 100% sure, but if you have the createObject() call straight after the this.mappings[] code it probably won't work. I would expect that CF has yet to build those mappings into what it uses to determine mapped paths yet. Do your createObject() call inside a index.cfm or similar, and you should find that it works. Mark On Thu, Jun 25, 2009 at 7:43 AM, Dawson, Michaelm...@evansville.eduwrote: Steve, I appreciate your help. I'm just not getting it to work. I've taken it back to the most-basic where I have a component in a Components directory. CF will still not find the component. I have a path at: E:\WebSites\applybeta.evansville.edu\Extensions\Components In that directory, I have the file: E:\WebSites\applybeta.evansville.edu\Extensions\Components\ErrorHandler. cfc In my Application.cfc, I have the following: cfset this.mappings[/Components] = E:\WebSites\applybeta.evansville.edu\Extensions\Components cfset errorHandler = createObject(component, Components.ErrorHandler).init() I still get Could not find the ColdFusion Component or Interface Components.ErrorHandler. I'm at a total loss as to why this does not work. I wish that the CF error would display where (file paths) it tried to access the components. Thanks, Mike -Original Message- From: Cutter (ColdFusion) [mailto:cold.fus...@cutterscrossing.com] Sent: Wednesday, June 24, 2009 4:28 PM To: cf-talk Subject: Re: CF8 Uses Incorrect Component Path Just do a mapping to /edu cfset THIS.mapping[/edu] = E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu / Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of Learning Ext JS http://www.packtpub.com/learning-ext-js/book _ http://blog.cutterscrossing.com On 6/24/2009 4:10 PM, Dawson, Michael wrote: Alright gentlemen, I think I have it figured out now. I do remember that CF looks in custom tag paths, but that was when I was using components with application.cfm and my legacy code. http://livedocs.adobe.com/coldfusion/6.1/htmldocs/buildi12.htm #4 reads Directories specified on Custom Tag Paths page of the Administrator That said, I'm ready to move on to doing it the right way with Application.cfc. I want to specify my components using a FQDN such as: edu.evansville.applybeta.package.component My components are located at: E:\WebSites\applybeta.evansville.edu\Extensions\Components I would then have the following directory structure: E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu\evansvi ll e E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu\evansvi ll e\applybeta\ and so on... Should I: * Create a / mapping to E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu * Create a /edu.evansville.applybeta mapping to E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu\evansvi ll e\applybeta\ What is the most accepted method for mapping in this manner? I certainly appreciate your help with clarifying this for me. Thanks, Mike -Original Message- From: Cutter (ColdFusion) [mailto:cold.fus...@cutterscrossing.com] Sent: Wednesday, June 24, 2009 1:53 PM To: cf-talk Subject: Re: CF8 Uses Incorrect Component Path Components are different from CustomTags, and your mapping is a customTagPaths mapping. You'll want to use a standard cf mapping: this.mapping['/Components'] = 'c:\Inetpub\componentpath\'; Then ref that path (/Components) in your code. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323906 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: AW: railo getting started 3
Don, I guess it's time to invite you to the Railo Google group. THANK YOU GERT! I thought you'd never offer! ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323907 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF8 MS SQL Server Query Problems
Hey all I recently converted a site over from ASP to ColdFusion and the backend is MS SQL Server. I have a very simple query that for some reason is returning zero records using a cfquery but when I put the same SQL directly into SQL Server Management Studio it returns over 300 results. Here is the query: cfquery name=rs datasource=stockton SELECT DocList.DocName AS DocList_DocName, DocList.DocTitle, DocWS.DocName AS DocWS_DocName, DocWS.WatershedCode FROM DocList INNER JOIN DocWS ON DocList.DocName = DocWS.DocName ORDER BY DocList.DocName /cfquery cfoutput#rs.recordcount#/cfoutput The tables are: DocList -- DocName (PK, varchar(150), not null) DocTitle (varchar(150),null) Exhibit(varchar(50),null) DocWS -- ID(PK,int,not null) DocName(varchar(150),null) WatershedCode(varchar(150),null) As you can see I am simply trying to return all results where the DocName in both tables match which happens to be 329 rows when I put the query in SQL Server Management Studio but zero when using the query above in CF. I'm inclined to think there is something peculiar about SQL Server that is not allowing CF to return the query correctly. Any insights? Any help would be appreciated! Thanks, Aaron ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323908 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF8 Uses Incorrect Component Path
OK. I will try this tomorrow morning. I put it there as a simple test to make sure the mappings worked with a component. I figured that those variables would be ready-to-use once they were set. Originally, I had a data gateway object in the onRequestStart method, but I started reducing the complexity to overcome issues with the custom tag paths and mappings. At the minimum, I used my error handler component just as a test to get the paths set correctly. It appears that I simplified myself into another problem. ;^) Prior to that, I started chasing an issue with CF not following the proper hierarchy when searching custom tag paths. Adobe was kind enough to send me a hotfix for that problem. I'm glad to say that it wasn't my silliness that caused that particular problem. Thanks again for the help. mike _ From: Cutter (ColdFusion) [mailto:cold.fus...@cutterscrossing.com] Sent: Wed 6/24/2009 5:11 PM To: cf-talk Subject: Re: CF8 Uses Incorrect Component Path Mark is exactly right, and you would never want to instantiate components within your Application.cfc constructor like that, as they would get re-created on every page request. You really want to put this component (your errorhandler) in the APPLICATION scope, and place it there within your onApplicationStart() method. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of Learning Ext JS http://www.packtpub.com/learning-ext-js/book _ http://blog.cutterscrossing.com http://blog.cutterscrossing.com/ On 6/24/2009 4:55 PM, Mark Mandel wrote: I'm not 100% sure, but if you have the createObject() call straight after the this.mappings[] code it probably won't work. I would expect that CF has yet to build those mappings into what it uses to determine mapped paths yet. Do your createObject() call inside a index.cfm or similar, and you should find that it works. Mark On Thu, Jun 25, 2009 at 7:43 AM, Dawson, Michaelm...@evansville.eduwrote: Steve, I appreciate your help. I'm just not getting it to work. I've taken it back to the most-basic where I have a component in a Components directory. CF will still not find the component. I have a path at: E:\WebSites\applybeta.evansville.edu\Extensions\Components In that directory, I have the file: E:\WebSites\applybeta.evansville.edu\Extensions\Components\ErrorHandler. cfc In my Application.cfc, I have the following: cfset this.mappings[/Components] = E:\WebSites\applybeta.evansville.edu\Extensions\Components cfset errorHandler = createObject(component, Components.ErrorHandler).init() I still get Could not find the ColdFusion Component or Interface Components.ErrorHandler. I'm at a total loss as to why this does not work. I wish that the CF error would display where (file paths) it tried to access the components. Thanks, Mike -Original Message- From: Cutter (ColdFusion) [mailto:cold.fus...@cutterscrossing.com] Sent: Wednesday, June 24, 2009 4:28 PM To: cf-talk Subject: Re: CF8 Uses Incorrect Component Path Just do a mapping to /edu cfset THIS.mapping[/edu] = E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu / Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of Learning Ext JS http://www.packtpub.com/learning-ext-js/book _ http://blog.cutterscrossing.com http://blog.cutterscrossing.com/ On 6/24/2009 4:10 PM, Dawson, Michael wrote: Alright gentlemen, I think I have it figured out now. I do remember that CF looks in custom tag paths, but that was when I was using components with application.cfm and my legacy code. http://livedocs.adobe.com/coldfusion/6.1/htmldocs/buildi12.htm #4 reads Directories specified on Custom Tag Paths page of the Administrator That said, I'm ready to move on to doing it the right way with Application.cfc. I want to specify my components using a FQDN such as: edu.evansville.applybeta.package.component My components are located at: E:\WebSites\applybeta.evansville.edu\Extensions\Components I would then have the following directory structure: E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu\evansvi ll e E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu\evansvi ll e\applybeta\ and so on... Should I: * Create a / mapping to E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu * Create a /edu.evansville.applybeta mapping to E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu\evansvi ll e\applybeta\ What is the most accepted method for mapping in this manner? I certainly appreciate your help with clarifying this for me. Thanks, Mike -Original Message- From: Cutter (ColdFusion) [mailto:cold.fus...@cutterscrossing.com] Sent: Wednesday,
Re: AW: railo getting started 3
THANK YOU GERT! I thought you'd never offer! NOO ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323910 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 MS SQL Server Query Problems
What do you see if you dump? cfdump var=#rs# / The metadata should at least confirm the SQL that's getting passed through. SQL Server certainly doesn't care about CF, it's just serving the request of the JDBC driver. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323911 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF8 MS SQL Server Query Problems
Hey Jason. Here is the url to the page I am working with: http://www.fws.gov/stockton/afrp/alldocs.cfm The SQL in cfdump looks the same On Wed, Jun 24, 2009 at 4:42 PM, Jason Fisher ja...@wanax.com wrote: What do you see if you dump? cfdump var=#rs# / The metadata should at least confirm the SQL that's getting passed through. SQL Server certainly doesn't care about CF, it's just serving the request of the JDBC driver. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323912 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
autosuggest - other than cf8 solution
Dominic Watson has an interesting tag called better autosuggest, at a quick peek it seems quite fancy, also, it mentions it requires cf8. I'm wondering if there's any such tag out there for my railo environment. Thanks. Don ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323913 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: AW: railo getting started 3
Now he's done it...there goes the neighborhood! ;o) On Wed, Jun 24, 2009 at 7:15 PM, Dave l cfl...@jamwerx.com wrote: THANK YOU GERT! I thought you'd never offer! NOO ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323914 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: autosuggest - other than cf8 solution
Dominic Watson has an interesting tag called better autosuggest, at a quick peek it seems quite fancy, also, it mentions it requires cf8. I'm wondering if there's any such tag out there for my railo environment. Thanks. Don Alterntively, I'm not sure if one is legal to edit Adobe's cfautosuggest.js file, do you understand what Adobe lawyers are saying below? -- Copyright 2007 Adobe Systems Incorporated All Rights Reserved. NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, then your use, modification, or distribution of it requires the prior written permission of Adobe.*/ ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323915 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: autosuggest - other than cf8 solution
Why not take a look at JQuery - there are a number of autosuggest/autocomplete plugins: http://plugins.jquery.com/taxonomy/term/109 Should be easy enough to use. -Original Message- From: Don L [mailto:do...@yahoo.com] Sent: 25 June 2009 01:47 To: cf-talk Subject: Re: autosuggest - other than cf8 solution Dominic Watson has an interesting tag called better autosuggest, at a quick peek it seems quite fancy, also, it mentions it requires cf8. I'm wondering if there's any such tag out there for my railo environment. Thanks. Don Alterntively, I'm not sure if one is legal to edit Adobe's cfautosuggest.js file, do you understand what Adobe lawyers are saying below? -- Copyright 2007 Adobe Systems Incorporated All Rights Reserved. NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, then your use, modification, or distribution of it requires the prior written permission of Adobe.*/ ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323916 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: autosuggest - other than cf8 solution
On Wed, Jun 24, 2009 at 8:39 PM, Don Ldo...@yahoo.com wrote: Dominic Watson has an interesting tag called better autosuggest, at a quick peek it seems quite fancy, also, it mentions it requires cf8. I'm wondering if there's any such tag out there for my railo environment. Thanks. Don I wrote a blog entry on doing this with prototype scriptaculous js libraries a couple years ago: http://www.petefreitag.com/item/605.cfm -- Pete Freitag http://foundeo.com/security/ - Web Application Firewall for ColdFusio ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323917 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFDocument, finding y position?
No, you can't do that using CF 8. I'm pretty sure the mid-line pagebreak issue has been discussed before if you search the archives of this list and the Adobe forums. Remember that cfdocument is a feature powered by an old version of iText, which is an active open-source project that has its own mailing list. -Mike Chabot On Wed, Jun 24, 2009 at 5:59 PM, Billy Coxbi...@oldworldspices.com wrote: I am using cfdocument to output a report that is primarily used as a print product. There are certain things like subtitles or a comment box that I might like to bump to the next page if it is going to be at the very bottom of a page. The question then... can cfdocument tell me the relative position on a printed page of whatever I am outputting? I am also getting that notorious issue where cfdocument pagebreaks and chops a line of text in half. I'm on CF8.01 so I don't think it's an issue with having out of date software. Billy Cox Old World Spices bi...@oldworldspices.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323918 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 MS SQL Server Query Problems
The query looks good to me. Run SQL Server Profiler to see what SQL Server is trying to execute, since the command sent to SQL Server isn't the same as what you see in the source code. Is this the only query in the site with a problem? Maybe verify that the stockton datasource points to the correct database in CFAdmin, instead of possibly an empty test database. Maybe that hard-coded data source name isn't correct. Good luck, Mike Chabot On Wed, Jun 24, 2009 at 7:56 PM, Aaron Robersonaaronarober...@gmail.com wrote: Hey Jason. Here is the url to the page I am working with: http://www.fws.gov/stockton/afrp/alldocs.cfm The SQL in cfdump looks the same On Wed, Jun 24, 2009 at 4:42 PM, Jason Fisher ja...@wanax.com wrote: What do you see if you dump? cfdump var=#rs# / The metadata should at least confirm the SQL that's getting passed through. SQL Server certainly doesn't care about CF, it's just serving the request of the JDBC driver. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323919 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF8 + MySql 5 + Thai language + Macs (Paul Hastings to the resque?)
Azadi Saryev wrote: MS Sans Serif seems to display Thai text in the pages just fine on my Win XP... Well, actually the font specified in the site's stylesheet is Microsoft Sans Serif... I am not sure such font even exists - maybe my browser just substitutes its default unicode font for it? yes, there's *no* thai glyphs in that font though TIS-620 or windows-874 codepages might get something substituted. the early days of localization here were fractured in the extreme, still seeing the repercussions. The other 2 fonts specified in the stylesheet are FreesiaUPC and IrisUPC. More googling on these has led me to believe that they are NOT unicode fonts (http://www.ascenderfonts.com/font/freesiaupc.aspx and actually they are (true type unicode fonts), at least the ones we have installed are (i think they came from ms??). if you have the fonts installed on your w/s, pop open the character map utility turn on the advanced view. http://www.ascenderfonts.com/font/irisupc-bold.aspx), and are NOT generally-available fonts on a Mac OS10.4+. Am I correct? no they're not. what comes w/OSX thai is mainly codepage-based fonts (which i find funny in the extreme considering how much juice apple has spent on the ICU project). the PSL family of fonts are unicode based (i think): http://www.fontpsl.com/ in any case they seem to be the ones most of the design weenies i know use. they're not free though. I have also found references to these Thai Mac fonts: Ayuthaya, Krungthep, Sathu, Silom, Thonburi and Lucida Grande - which seem to come pre-installed on Mac OS10.2+, but I am not 100% sure these are unicode - do you know? Lucida Grande is (similar to Lucida sans unicode on windows), i think the others aren't (kind of old if i recall correctly). The designers do not seem to know unicode from a hole in the ground. yup, truer word were never spoken ;-) The client is all up-to-date Macs with 10.2+ as far as I know. can't you just ask them what fonts they have? Do you think I will be better off re-configuring the app to use a Thai codepage (tis-620 ?) instead of utf-8? is that a standard for Thai you already know what i'd say to that idea. in any case, even though TIS-620 is a standard you will find more windows-874 (which as per ms world domination plan is a superset of TIS-620). and you'd still be stuck w/the OSX windows codepage differences anyway in the end. websites? i would rather keep it all unicode/utf-8, because knowing this client they will probably want to have a site in multiple languages sometime soon... well you could roll out an instance per code page which i think adam ben would appreciate for the extra cf licenses you'd sell ;-) My Lao is pretty bad as well, at least on the speaking/reading side :) well there's always google's translation tools for a good laugh. Too late to learn it now - moving to Hong Kong in a month. Time to learn Chinese, I guess... i'd take laos over HK any day. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323920 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: autosuggest - other than cf8 solution
http://www.lalabird.com/?fa=JSMX.downloads scroll down the page to you see JSMXsuggest Example I really like JSMX very easy to use Andrew. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323921 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4