Re: chr(10) AND CFSCRIPT
You meant chr(13) chr(10) for the windows line ending, right? And the 'mac' line ending is only for Mac OS9 and earlier. Mac OSX (since it's *nix based) uses just the line feed. cheers, barneyb On 6/10/05, Jared Rypka-Hauer - CMG, LLC [EMAIL PROTECTED] wrote: That will work in most browsers, Windows or otherwise, because they all seem to interpret chr(10) as enough for a newline even if the OS demands a cr-lf combination for a valid line break. But if you're creating PDFs, you'll probably want writeOutput('some text here' chr(10) chr(13)) just to make sure that you're feeing it valid linefeeds. You may check the PDF documentation (what there is of it, anyway) to see exactly what character combo it wants for a newline. Generally, the character sets are as follows: Mac: cr Win: cr-lf *NIX: lf It's kinda twitchy, and a PITA, to get the characters just right... experiment and see what you come up with. Laterz! J -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209218 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: SPAM-LOW: Re: cfchart not working on new server
Yes, when i said mappings i meant virtual directories in IIS. We had exactly the same problem as Matthew did and creating that file and those virtual directories solved the problem. Allan - Original Message - From: Jared Rypka-Hauer - CMG, LLC [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Saturday, June 11, 2005 5:38 AM Subject: SPAM-LOW: Re: cfchart not working on new server Allan: Regarding #2 below, I assume you mean create a virtual directory of /CFIDE that points to CFIDE in the system? CF mappings on Standard are server-wide, and they're server-wide on Enterprise unless you're using Sandboxing to lock them down. If you create a virtual directory, all your servers will be able to hit http://my.url.com/cfide/administrator/index.cfm, whereas using a mapping enables just directory access without exposing CFIDE in the webroot of the application. Having the files accessible from the cfchart tag should only need the mapping because it relies on the accessibility of the files, not on being able to use them in a browser. And if you're using mappings, you only need 1 per CF instance, barring any sandboxing. Also, anything you need universally can go in {cfhome}\wwwroot because that's basically a universal mapping. If you put CFIDE in it, beware, though...by default it will be available to the browser from all sites, all URLs connected to that CF instance via a webserver connector. Now JrunScripts is a different matter, because for some reason that's always a virtual directory... when you create it (in each site that will be accessing CF), you're going to need to edit the properties and add the Jrun Server Filter in the ISAPI filters tab and in the Virtual Directory properties tab for the directory click Remove against the application attributes and uncheck Read. If you check your wwwroot/web-inf/web.xml file, you'll see that GraphData.cfm is a servlet mapping, so adding a CF template to /cfide wouldn't do much. It's the same as IDE.cfm, which is the servlet mapping for RDS... these can be executed from a browser via the URL specified, but they're trapped by Jrun and mapped out to specific servlets for special handling. It's basically Jrun spoofing a CFM template to the CF server. Matthew, you said these image files were being created correctly, right? Do they look like they should even if they're not being sent back to the browser? Have you checked (or had the host check) windows and CF error logs? There should be something. If the issue was the result of a headless Win install, chances are that the graphing subsystem would fail during CFMX bootstrap... that's how it works on Linux, and also the primary cause of CFCHART issues on linux. People fail to understand that CFMX needs the basic X libraries to get cfchart to work. If you do a view source after hitting a page that's got a CFChart in it, you should see some URL information that's used to transfer the images/movies from the Chart servlet to the browser... trying hitting that URL alone and seeing what error message you get. Go from there, paying particular attention to paths, virtual or otherwise, that are missing or incorrect. Good luck! J ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209219 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
css no flashform - dica
Galera, Estava fuçando nos flashforms e o fato dele só aceitar style escrito inline estava me incomodando bastante. Então resolvi criar uma página de estilos para facilitar, o truque é bastante simples. Ao inves de ter uma página .css com os estilos defindos na sintaxe de css eu defini variáveis com cfset, por exemplo: cfset stinput = 'background-color: ##cc3300; background-alpha:56; border-color:##ff; border-cap-color:##ff;' E ao inves de incluir ela com link href=css.css rel=stylesheet type=text/css eu dei um cfinclude do código com cfinclude template=css.cfm E dentro do form eu usei cfinput type=text name=email style=#stinput# assim quando eu mudo algo na css.cfm todos meus campos no site mudam como se fosse uma style sheet externa. Fica aí minha dica pra quem estiver tentando personalizar um flashform. Felipe Ps.: Outra dica é um editor de estilos que apesar de ser para flex tem me ajudado bastante: http://www.markme.com/mc/archives/FlexStyleExplorer.html ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209220 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: SPAM-LOW: Re: cfchart not working on new server
Actually this is starting to make sense... If you add /CFIDE as a virtual dir and add GraphData.cfm to it, then IIS won't balk as per the other message in this thread (can't recall who posted it), but will allow the URL to be executed. Then, since the URL is actually a Jrun servlet mapping, Jrun itself never tries to execute the physical file because the servlet mapping fires. So by adding a virtual directory of CFIDE and adding that cfm template, you're satisfying IIS to let it pass the URL along to Jrun... which then handles the call without ever even looking at the physical files. If I were you, I'd fix the issue outlined in the message posted about the IIS issue not executing missing files rather than adding a CFIDE virtual directory to all your sites... Just my 2 cents. Laterz! J On 6/11/05, Allan Cliff [EMAIL PROTECTED] wrote: Yes, when i said mappings i meant virtual directories in IIS. We had exactly the same problem as Matthew did and creating that file and those virtual directories solved the problem. Allan -- --- - Buy SQLSurveyor! http://www.web-relevant.com/sqlsurveyor Never make your developers open Enterprise Manager again. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209221 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: SPAM-LOW: Re: cfchart not working on new server
The poster said that the option for chekcing for files was already unselected, so that's not the issue. I checked the URL the original post gave, http://www.christchurchnz.net/chart.cfm, and the image location therein: http://www.christchurchnz.net/CFIDE/GraphData.cfm?graphCache=wc50graphI D=Images/100015.JPG which returns a page that prompts to open or download rather than being processed by CF properly (as per the usual behaviour for a webserver connector issue). Take out the URL vars http://www.christchurchnz.net/CFIDE/GraphData.cfm and (correctly) the page provides a 500 error about an error in the graphing engine, so the Servlet mapping is already working correctly. This one has me stumped for the moment. -Original Message- From: Jared Rypka-Hauer - CMG, LLC [mailto:[EMAIL PROTECTED] Sent: Saturday, 11 June 2005 3:18 To: CF-Talk Subject: Re: SPAM-LOW: Re: cfchart not working on new server Actually this is starting to make sense... If you add /CFIDE as a virtual dir and add GraphData.cfm to it, then IIS won't balk as per the other message in this thread (can't recall who posted it), but will allow the URL to be executed. Then, since the URL is actually a Jrun servlet mapping, Jrun itself never tries to execute the physical file because the servlet mapping fires. So by adding a virtual directory of CFIDE and adding that cfm template, you're satisfying IIS to let it pass the URL along to Jrun... which then handles the call without ever even looking at the physical files. If I were you, I'd fix the issue outlined in the message posted about the IIS issue not executing missing files rather than adding a CFIDE virtual directory to all your sites... ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209222 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Changing Mail Spool Location
Anyone know if it is possible to spool mail to a different location from the vanilla cfrootmail/ folder? TIA This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209223 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Changing Mail Spool Location
Robertson-Ravo, Neil (RX) wrote: Anyone know if it is possible to spool mail to a different location from the vanilla cfrootmail/ folder? http://www1.oli.tudelft.nl/jochemd/index.cfm?PageID=13 Jochem ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209224 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: mx 6 licenses?
Except the FREE version of BlueDragon doesn't support HTTPS. They kinda hide it in the documentation... we found out the hard way. -Original Message- From: Jared Rypka-Hauer - CMG, LLC [mailto:[EMAIL PROTECTED] Sent: Friday, June 10, 2005 11:54 PM To: CF-Talk Subject: Re: mx 6 licenses? And, just to complicate matters... :) CFMX 7 is the same price as 6.1, so if you go with 7 you'll get an extra upgrade cycle and a lot of benefits in terms of functionality and power. Unless you're looking to pick up 6.0 licenses on the cheap just because it's a deprecated product, I'd highly recommend 7 just because of the deprecation likelihood of 6.1 in future upgrade cycles. If you need licensed versions of a CF engine, look at BlueDragon Standard... which happens to be quite speedy and powerful, but also happens to be free. Laterz, J On 6/10/05, James Holmes [EMAIL PROTECTED] wrote: Agreed - I stongly recommend against running CF 6.0. 6.1 is the way to go. -- --- - Buy SQLSurveyor! http://www.web-relevant.com/sqlsurveyor Never make your developers open Enterprise Manager again. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209225 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: chr(10) AND CFSCRIPT
well, that did not work. I keep getting invalid CFML construct. i believe i need to use #chr(10). Here what i am trying to do exactly. I have a shipping address populating a cell in an array. Now i want to have a carriage return after each line in the address in the same array cell. CODE: Q_ShipmentList.EK_CompName[j], a_shipment[3][2] Q_ShipmentList.EK_Attention[j], a_shipment[3][2] Q_ShipmentList.EK_Addr1[j], a_shipment[3][2] Q_ShipmentList.EK_Addr2[j], a_shipment[3][2] Q_ShipmentList.EK_Addr3[j], a_shipment[3][2] Q_ShipmentList.EK_City[j], a_shipment[3][2] Q_ShipmentList.EK_State[j], a_shipment[3][2] Q_ShipmentList.EK_Zip[j],a_shipment[3][2] You meant chr(13) chr(10) for the windows line ending, right? And the 'mac' line ending is only for Mac OS9 and earlier. Mac OSX (since it's *nix based) uses just the line feed. cheers, barneyb On 6/10/05, Jared Rypka-Hauer - CMG, LLC [EMAIL PROTECTED] wrote: -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209226 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
spelling and GRAMMAR check. . .
hello all, does anyone know of a good spelling AND grammar check tag for CF? i know of a couple good spelling check tags but none that also check grammar. if there is not one that includes a grammar check does anyone know of a spelling and grammar check API that i could integrate with? i guess it would need to be some type of COM or Java object. thanks! -- -chris.alvarado [application developer] ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209227 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Different in performance?
Hi, Is there a performance difference between this? cfif not structKeyExists(application, message) cfset application.message = createObject(component, message).init()/ /cfif and cfparam name=application.message default=#createObject('component', 'message').init()#/ The cfparam method seems to be much cleaner, but most people seem to use the cfif method. Is there a reason for that? Johnny ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209228 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Different in performance?
Yes, there is a HUGE difference. Check my post about it here: http://www.barneyb.com/blog/archives/000496.jsp In a nutshell, the CFPARAM tag will execute the 'default' attribute whether the result will be used or not, so if you use the CFPARAM method, you'll be instantiating your 'message' component on every request, and then immediately throwing the instance away, since you don't actually need to set the application.message variable. So not only will it be less performant to use CFPARAM, it'll also potentially lead to very subtle bugs if your component initialization code takes any actions, because they'll happen every request, even you only initialize the application variable a single time. cheers, barneyb On 6/11/05, Johnny Le [EMAIL PROTECTED] wrote: Hi, Is there a performance difference between this? cfif not structKeyExists(application, message) cfset application.message = createObject(component, message).init()/ /cfif and cfparam name=application.message default=#createObject('component', 'message').init()#/ The cfparam method seems to be much cleaner, but most people seem to use the cfif method. Is there a reason for that? Johnny ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209229 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: REPOST Re: FedEx Shipping custom tags
We use CFX_FEDEX for a long time and it works fine. What else can I say? I don't have any experience with the other tag. If people are selling it, I assume it works also. spent a week or so trying to work out the integration myself for my ecommerce software . . . I'm not sure I'd pay $250 for one though!... What is your salary per hour? If you earn below $250 a week, it might worth to waste one week of your time for unsuccessful project. Otherwise, consider to buy something that works. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209230 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Help with COM
Hi all. I'm trying to use a COM object to connect to CyberSource payment gateway. I'm converting their ASP script sample. Here is my problem. I'm trying to set a value within the object (oRequest). The ASP command for this is as follows. oRequest.Value(billTo_firstName) = Jane If I try to use this within cfscript or if I use cfset as follows: cfset oRequest.Value(billTo_firstName) = Jane I get the following error: Illegal left hand side of assignment near line 50, column 7. Left hand side cannot be a function call. I've tried everything in my power to get the property set. Nothing works. Any clues? -- Bud Schneehagen - Tropical Web Creations, Inc. _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Web Based Solutions / eCommerce Development Hosting http://www.twcreations.com/ - http://www.cf-ezcart.com/ Toll Free: 877.207.6397 - Local Int'l Phone/Fax: 386.789.0968 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209231 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
best way to invoke a cfc
is see a lot of ppl on here using different ways to invoke a cfc, any best practices? (on a shared server) the one thing i am really tired of is having the files on a local dev puter and having the cfc's to be called with the live settings and dw choking for a few minutes while it looks for component (while in code view), anyway around that that's practical? ~Dave the disruptor~ A criminal is a person with predatory instincts who has not sufficient capital to form a corporation. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209232 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Help with COM
Bud, I think you have to use their SetValue method: cfset oRequest.SetValue(billTo_firstName, Jane) Dan On 6/11/05, Bud [EMAIL PROTECTED] wrote: Hi all. I'm trying to use a COM object to connect to CyberSource payment gateway. I'm converting their ASP script sample. Here is my problem. I'm trying to set a value within the object (oRequest). The ASP command for this is as follows. oRequest.Value(billTo_firstName) = Jane If I try to use this within cfscript or if I use cfset as follows: cfset oRequest.Value(billTo_firstName) = Jane I get the following error: Illegal left hand side of assignment near line 50, column 7. Left hand side cannot be a function call. I've tried everything in my power to get the property set. Nothing works. Any clues? -- Bud Schneehagen - Tropical Web Creations, Inc. _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Web Based Solutions / eCommerce Development Hosting http://www.twcreations.com/ - http://www.cf-ezcart.com/ Toll Free: 877.207.6397 - Local Int'l Phone/Fax: 386.789.0968 ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209233 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Help with COM
Thanks Dan. I think you may have another tag in mind. Error: Failed attempting to find SETVALUE property/method on the object Bud, I think you have to use their SetValue method: cfset oRequest.SetValue(billTo_firstName, Jane) Dan On 6/11/05, Bud [EMAIL PROTECTED] wrote: Hi all. I'm trying to use a COM object to connect to CyberSource payment gateway. I'm converting their ASP script sample. Here is my problem. I'm trying to set a value within the object (oRequest). The ASP command for this is as follows. oRequest.Value(billTo_firstName) = Jane If I try to use this within cfscript or if I use cfset as follows: cfset oRequest.Value(billTo_firstName) = Jane I get the following error: Illegal left hand side of assignment near line 50, column 7. Left hand side cannot be a function call. I've tried everything in my power to get the property set. Nothing works. Any clues? -- Bud Schneehagen - Tropical Web Creations, Inc. _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Web Based Solutions / eCommerce Development Hosting http://www.twcreations.com/ - http://www.cf-ezcart.com/ Toll Free: 877.207.6397 - Local Int'l Phone/Fax: 386.789.0968 ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209234 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: REPOST Re: FedEx Shipping custom tags
Also. Just checked cf_FedEx on adminprotools.com. Here some observations: - For $49 you get only the ability to issue the rate and tracking requests. No actual shipping supported. You have to pay $149 for a full version that allows shipping operations. - Labels are browser-based, as far as I understand. CFX_FEDEX actually saves labels in various formats and also prints them. - Ground shipping manifests supported, as PNG file?? Not a document (text) file. - Not clear whether return labels supported or not. - Not clear what label formats are supported. - No trial version. You have to buy it in order to try. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209235 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: best way to invoke a cfc
On a shared server, it's important to ensure that a unique name is used. If you have a mapping or a custom tag path, putting a unique directory name in the calling path and then using the dotted notation (e.g. myuniquename.somecfc) helps. If not, you have to rely on the default searching mechanism and hope it gets the right one, so prefacing the CFC filename with your account name may help (e.g. myaccountname_somecfc.cfc). As for DreamWeaver, you could cache the cfc in the application scope, if that's appropriate, so that it is only instantiated once when you change it (but then when you do change it you have to manually delete it from the application scope again). Of course this has implications on a shared server when the code goes live, in that anyone on that server has access to your application scope if they want it. -Original Message- From: dave [mailto:[EMAIL PROTECTED] Sent: Sunday, 12 June 2005 8:19 To: CF-Talk Subject: best way to invoke a cfc is see a lot of ppl on here using different ways to invoke a cfc, any best practices? (on a shared server) the one thing i am really tired of is having the files on a local dev puter and having the cfc's to be called with the live settings and dw choking for a few minutes while it looks for component (while in code view), anyway around that that's practical? ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209236 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Portlets (JSR168 and WSRP) with CF
Has anyone delved in to JSR168 and WSRP with CF? One of our J2EE apps uses Portlets as a standard and we need to start looking at employing these standards across all our apps (where appropriate). Is there any existing work on which we can build? James Holmes Divisional Web Interface Development Coordinator Engineering, Science and Computing x4864 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209237 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: best way to invoke a cfc
well I was thinking that on a shared server it probably wouldn't be a real good idea to create an object out of it (just in case they take that way for security) and the dreamweaver one doesn't add it correctly, was just curious what ppl are using, since I see quite a lot of diff techniques. ~Dave the disruptor~ A criminal is a person with predatory instincts who has not sufficient capital to form a corporation. From: James Holmes [EMAIL PROTECTED] Sent: Saturday, June 11, 2005 10:55 PM To: CF-Talk cf-talk@houseoffusion.com Subject: RE: best way to invoke a cfc On a shared server, it's important to ensure that a unique name is used. If you have a mapping or a custom tag path, putting a unique directory name in the calling path and then using the dotted notation (e.g. myuniquename.somecfc) helps. If not, you have to rely on the default searching mechanism and hope it gets the right one, so prefacing the CFC filename with your account name may help (e.g. myaccountname_somecfc.cfc). As for DreamWeaver, you could cache the cfc in the application scope, if that's appropriate, so that it is only instantiated once when you change it (but then when you do change it you have to manually delete it from the application scope again). Of course this has implications on a shared server when the code goes live, in that anyone on that server has access to your application scope if they want it. -Original Message- From: dave [mailto:[EMAIL PROTECTED] Sent: Sunday, 12 June 2005 8:19 To: CF-Talk Subject: best way to invoke a cfc is see a lot of ppl on here using different ways to invoke a cfc, any best practices? (on a shared server) the one thing i am really tired of is having the files on a local dev puter and having the cfc's to be called with the live settings and dw choking for a few minutes while it looks for component (while in code view), anyway around that that's practical? ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209238 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFC's and limiting DB queries
Does someone have the link to the previous thread where Sean explained this? I can't find it and was paying scant attention when it was first posted. Would come in handy for me. Thanks, Will ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209239 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Sharepoint
I have been working with SharePoint a lot in the last six months. Has anyone consumed a SharePoint web service with ColdFusion? Is that possible? Mike ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209240 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
application and session scope components?
Hi, I have several components that are the same for all users throughout the site. So I put them in application scope. I just developed a component that is specific for each user. So I put it in session scope. The problem is that I need to pass this sesion scope component into those application scope components as a parameter. If I passed it into the init method, then it only gets the session of the first user who initiated those application components, right? If I used a set method to pass the session component in, doesn't that variable inside those components being overwritten every time a new user logs in? From what I understand, it seems like I have to turn all of these components into session scope components in order to make them function properly. Am I correct? Johnny ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209241 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: application and session scope components?
You should pass the session-scope component into each individual method call on the app-scope component that needs it, but never storing the session-scope component in an instance variable. That'll keep your app-scope components session-neutral. If you find that every method (or at least the vast majority) needs access to the session scope object, then you might consider a carefully constructed break in encapsulation. I.e. a getSessionObject() method inside your app-scope components (probably in a shared superclass, if you have one) that the app-scope cfcs can call to retrieve the session-scope object as needed. The fact that the app-scope components need a session-scope object and access it directly is a break in encapsulation, but by wrapping the break into a single method (so there's only one place that the break exists), you greatly reduce the negative effects that the break creates. cffunction name=getSessionObject access=private output=false returntype=path.to.my.session.object cfreturn session.myObject / /cffunction It's definitely not a perfect solution, but it is one that works without requiring a huge amount of code refactoring if you have to band-aid an already existing application, and don't want to have to go add a new parameter to every method, and every method invocation. API changes are ridiculously expensive, so a little hackishness is allowed to avoid them. cheers, barneyb On 6/11/05, Johnny Le [EMAIL PROTECTED] wrote: Hi, I have several components that are the same for all users throughout the site. So I put them in application scope. I just developed a component that is specific for each user. So I put it in session scope. The problem is that I need to pass this sesion scope component into those application scope components as a parameter. If I passed it into the init method, then it only gets the session of the first user who initiated those application components, right? If I used a set method to pass the session component in, doesn't that variable inside those components being overwritten every time a new user logs in? From what I understand, it seems like I have to turn all of these components into session scope components in order to make them function properly. Am I correct? Johnny -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209242 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
dreamweaver tag updater - cfparam types
Is is just my imagination, or did the tag updater for dreamweaver for CF7 add social_security_number and _remove_ the _much_ more frequently used string and struct types from the list of options for the type attribute? s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209243 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Cold Fusion Job Resources
Couple more suggestions: craigslist.com just seems to have more interesting jobs than many. bostonworks.boston.com is good if you're in that area. guru.com seems to be one of the better piecework sites, though I didn't end up actually setting myself up there. idealist.org is good if you're looking for that sort of thing, but it's not very high volume. indeed.com is an aggregator, and it's great. While it's quite helpful, I've found that for some reason not every job from the sources they track shows up, so it's also worth checking with at least some of them directly. FYI also, not everything they find shows up in their rss feed or email alerts; check the feed (easy in Firefox) and set up emails, but go to the site too. Good luck, Dave Merrill I don't seem to find a list of sites that are good resources for finding Cold Fusion work and wondering if anyone would like to contribute their list to this thread. I'll start out with some of the basic ones I've found several on: http://www.CareerBuilder.com http://www.Monster.com http://JustColdFusionJobs.com Also, I'm wondering if anyone has ever come across a 'master' job agent -- in other words, a job agent that you can specify keywords and it finds jobs on multiple sites (instead of registering with 20 separate job agents). Thanks! Dave ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:11:2675 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/11 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:11 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11 Donations Support: http://www.houseoffusion.com/tiny.cfm/54