Re: SSL certificate problem with 3rd party
If I remember correctly, the JVM keeps it's own cache of certificates. I'd search for the commands to remove a cert from the built-in java keystore. It's pretty simple using the keytool app but you might need to restart CF to make it take. -Jake On Thu, Jan 16, 2014 at 2:05 PM, Jason Durham jqdur...@gmail.com wrote: A payment processor changed one of their certificates which is causing CF to throw an exception when we try to connect via CFHTTP using SSL. The error message is: *I/O Exception: Name in certificate `internetsecure.com http://internetsecure.com' does not match host name `test.internetsecure.com http://test.internetsecure.com'* You can view the certificate by navigating to https://test.internetsecure.com. My browser doesn't seem to have problems with this cert, and I see a SAN that indicates this certificate should be valid for test.internetsecure.com. I've tried importing this cert into the keystore but received the same error. Can anyone provide assistance as to why CF 8.0.1 isn't happy with this certificate? Jason Durham ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357455 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Streaming PDF in CF8 / Performance Issues
Jeff, I've read there are issues with file/directory operations in CF when files are really large or the directory contains TONS of files. You might try a java alternative. I'm mobile right now, but I think it's something like this: createObject(java, java.io.File).init( filePath fileName ).exists(); -Jake On Wed, Aug 1, 2012 at 5:45 PM, Jeff Chastain jeff.chast...@admentus.comwrote: I am doing some performance test on a site running on ColdFusion 8 using FusionReactor. There is one script that consistently ends up on the top of the long running requests list. The script is very simple - it grabs a PDF file that already exists on the files system and streams it to the user. cfif fileExists( filePath fileName ) cfheader name=Content-Disposition value=attachment; filename=#fileName# cfcontent type=application/pdf file=#filePath##fileName# cfelse cfheader statuscode=410 statustext=Gone / pWe're sorry, but the page you have requested no longer exists on our site./p /cfif The PDF files in question are pretty small ... 1 to 2 MB. In some cases (but not all), the request logs in FusionReactor are showing this script running for 200+ seconds. Does anybody have any ideas why this would be happening and is there a better way to stream PDF files that are not web accessible (i.e. the user has to register, then they get the file streamed to them)? I am not looking to change the workflow - i.e. copying the file and sending a link by email etc. I have streamed files like this before and have never seen these kinds of performance issues. Thanks for any input! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352032 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: after a long hiatus back to talk about frameworks
FW/1 is nice. It has it's nuances but it allows for a very clean implementation as long as you stick to it. -Jake On Thu, May 10, 2012 at 11:38 AM, Mark A. Kruger mkru...@cfwebtools.comwrote: I'd agree that FW/1 is the natural FB successor - and it allows you to break it's mold without killing the whole thing (mostly because it's implemented as a single CFC - quite ingeneous). Mark Kruger - CFG CF Webtools www.cfwebtools.com www.coldfusionmuse.com O: 402.408.3733 x105 E: mkru...@cfwebtools.com Skype: markakruger -Original Message- From: Nathan Strutz [mailto:str...@gmail.com] Sent: Tuesday, May 08, 2012 11:18 AM To: cf-talk Subject: Re: after a long hiatus back to talk about frameworks I'm not afraid to poke the stormcloud :) Fusebox went unsupported for a number of years and there was some drama about who owned the source code (it predates modern open source licenses). There was a failed fork and then the community stepped in and created a barrage of better frameworks. Recently, Fusebox has been open-sourced (on github) and there is a small team of people working on the next version. It may be too little and too late, but still probably a worthy effort. Even still, I would not recommend going that way. Many people believe Framework/1 (fw1.riaforge.org) is the true successor to Fusebox. It implements a couple features the same way, and it was created by the FB 5 and 5.5 primary developer Sean Corfield. Depending on the size of what you plan to build, you may be able to shrink your selection. The more enterprise options are probably Mach-II, Model-Glue and ColdBox. They do a lot and have a lot going for them. ColdBox is the younger of the three, and probably best documented, Louis also does great training classes. Model-Glue hasn't seen a lot of action lately. Model-Glue and Mach-II are heavily XML based and (to me) can get overwhelming. The more casual options are probably cfwheels and FW/1, but like John Bliss said, go with whichever works with your way of thinking. (I hope I offended everyone with this ;) nathan strutz [www.dopefly.com] [hi.im/nathanstrutz] [about.me/nathanstrutz] On Mon, May 7, 2012 at 9:58 PM, Don danfar...@hotmail.com wrote: Hi, its been a while since I did any CF work. I am wondering what framework seems to be popular right now. I did a bit of fusebox and liked it. But am wondering about the others out there. I noticed CF builder 2 didn't have any support for it as did CFEclipse. I find that odd. Has FB gone 'out of fashion' ? I would like something that worked liked objects.. I can't remember if FB did that very well. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351101 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: FarCry CMS question
Check out the farcry developers group: http://groups.google.com/group/farcry-dev?pli=1 The URL's are parsed to friendly when the page/nav is created. In the admin there's a way to reprocess all friendly URLs but the exact location depends on your version of farcry. You have to be running either apache's re-write mod or ISAPI Rewrite for IIS to get this to work. Everything friendly should filter through the go.cfm file in your root. Look in farcry's wiki, there are rules for how to set up the parsing of friendly urls for apache and ISAPI. Hope that gets you going in the right direction. -Jake On Wed, May 9, 2012 at 12:30 PM, fun and learning funandlrnn...@gmail.comwrote: I hope someone with knowledge of farcry CMS sees this question I am new to farcry and looking at some existing code. I have a question on friendly URL. At what time of the application do the actual URL gets parsed to friendly URL. Suppose I have a href link as a href=www.example.com?objectid=123askjhdakjshdkasjhdGo to new page/a When I click the above link, the new page URL is a friendly URL. I checked in onApplicationStart, but the URL is constructed even before that. Can you let me know at what time is the URL parsed, and which function does it? Is it fixURL function in utils.cfc? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351086 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: FarCry CMS question
I think the table is farFU. I know there's a CFC with that name so it should have been scaffolded or whatever by default. Each object can have multiple friendly URLs (see the SEO tab for pretty much anything in the Site tab in the admin). It's been a while since I messed with this stuff. There used to be a fu.cfc but I don't think that's there anymore and go.cfm might be deprecated as well. In looking at the documentation, it looks like as of version 5, it uses furl instead of path in the URL which looks to be parsed in the core Application.cfc around line 581 for me which makes use of the parseURL method in farFU.cfc. Hope that helps. -Jake On Wed, May 9, 2012 at 12:41 PM, fun and learning funandlrnn...@gmail.comwrote: Jake, Thanks for answering. I already posted in the facry google groups 4 hours back, and the moderators still did not approve my question, so thought I'd take a chance here I already set the apache mod_Rewrite conditions. My question was more when the objectid is parsed to friendly URL. The friendly url converts the objectid into its respective marketing name. I want to check the query it is using to get the marketing name. I am guessing a query like below: select * from table1 where objectid = '#URL.objectid#' Check out the farcry developers group: http://groups.google.com/group/farcry-dev?pli=1 The URL's are parsed to friendly when the page/nav is created. In the admin there's a way to reprocess all friendly URLs but the exact location depends on your version of farcry. You have to be running either apache's re-write mod or ISAPI Rewrite for IIS to get this to work. Everything friendly should filter through the go.cfm file in your root. Look in farcry's wiki, there are rules for how to set up the parsing of friendly urls for apache and ISAPI. Hope that gets you going in the right direction. -Jake On Wed, May 9, 2012 at 12:30 PM, fun and learning funandlrnn...@gmail.comwrote: ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351089 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Adobe Abandons Flex
It became open source in version 3 I believe. It's been that way for quite a while now. -Jake On Tue, Nov 15, 2011 at 2:45 PM, Dave Watts dwa...@figleaf.com wrote: Everything else you said aside Scottfree does not mean open source The Flex SDK has been free I'm pretty sure it's always been open-source as well. You can certainly trace into source code of classes within the Flex class library. And the Flex SDK has always been available from here: http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348719 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Hosting an .apk file on cf7
You need a MIME type added to the web server: .apk - application/vnd.android.package-archive -Jake On Thu, Nov 10, 2011 at 11:34 AM, Dave Watts dwa...@figleaf.com wrote: We have our Android app built and the .apk file is on our CF7 server. I'm using cfheader and cfcontent to get the file to download via a link. But install on my phone fails. The app comes in as UNKNOWN and throws an error about unknown file size. When I click the link in a desktop browser, I get the correct file downloaded as expected. Has anyone done this yet? What am I missing? Code: cfheader name=Content-Disposition value=attachment; filename=myNewApp.apk cfcontent file=#expandPath('pathToFile/file.apk')# I'd recommend trying the download using just your web server, and comparing the HTTP response headers between the two downloads. I don't know if CFCONTENT returns a Content-Length response header - you might need that. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348568 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Capitalize
Do lcase() on the text in CF, then use text-transform:capitalize in css. - Sent from my Droid On Jul 2, 2011 7:40 AM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: I'm looking for a udf to capitalize uppercase text. There seem to be a few that does the same as a CSS text-transform, but I can't find one for text which is all in upper case. Jenny ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346063 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: (ot) Shameful
Now, that's funny - Sent from my Droid On May 10, 2011 9:26 PM, Raymond Camden rcam...@gmail.com wrote: Nope, it didn't work for me. I had to click the link and view it in my browser. If Adobe were truly committed to CF, I wouldn't need to actually click the link. Rather, uniformed penguins in sequin jackets would deliver the demos to me on feather-stuffed pillows while simultaneously singing a cappella versions of 1980 TV show theme songs. On Tue, May 10, 2011 at 7:48 PM, Russ Michaels r...@michaels.me.uk wrote: works for me also, are you sure your browser is not comatose ? On Wed, May 11, 2011 at 1:30 AM, Gerald Guido gerald.gu...@gmail.com wrote: Works on this end. Mac and PC. IE and FF. ID ten T error by chance?? Curious -G! On Tue, May 10, 2011 at 8:03 PM, Irvin Gomez ir...@pixel69.com wrote: The Adobe Coldfusion 9 demos do not work and have not worked for who knows how long. I guess that's the best way to show Adobe's commitment to its comatose product. http://www.adobe.com/products/coldfusion/demos/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344425 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Writing transparent gifs makes them grey
Cfimage has issues with gif files. Any chance of trying png files instead? -Sent from my Droid On Apr 19, 2011 5:30 PM, Leigh cfsearch...@yahoo.com wrote: Did you try saving it directly to a file via cfhttp? ie Using the path and file attributes? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343856 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: What does this URL mean?
There is probably a parameter format being used there. Register might be the name of the application being used here On Apr 9, 2011 7:37 PM, fun and learning funandlrnn...@gmail.com wrote: http://localhost/students/index.cfm/register?action=studentreg I did not understand the use of 'register' after index.cfm. Can anyone please help me understand what it could mean? There is a index.cfm file in students folder. Could register be a folder name? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343635 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SOT - Members only app
Farcry On Mar 24, 2011 5:36 PM, cfcom cf...@aceligent.com wrote: Can anyone recommend a good app for creating a simple and secure members section Thanks ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343261 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Javascript question
Look into jQuery's .each() method. It helps in loopin over things like that -Jake Sent from my Droid On Mar 13, 2011 9:51 AM, fun and learning funandlrnn...@gmail.com wrote: Hi All - I am trying to get the following working. It seemed to work initially, but somehow it stopped working I have a row like below tr id=row_1_4_2009_abc class=rowclick td/td /tr I am using jquery to get the id on click of a row: $(.rowclick).click(function() { var row_id = $(this).attr(id); var getAttributes = row_id.split(_); var setCommonAttr = getAttributes[1] + _ + getAttributes[2] + _ + getAttributes[3] + _ + getAttributes[4]; var new_row_id = document.getElementById(new_row_ + setCommonAttr).value; }); Can anyone let me know what is wrong with the above code. Tried different options but with no success ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342961 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
AES Encryption Limits
Hello All. I am working on a database driven session environment that is used on a shopping cart. The cart is not currently PCI complient so I am working on encrypting certain items. The session is stored in the DB as a WDDX packet in an ntext field. Rather than parsing the structure and encrypting just certain pieces of data, I was playing with the idea of encrypting the entire WDDX packet. This works fine in my tests, but I am worried about any possible limits I might reach. Theoretically, the WDDX string could be enormous as there is nothing limiting the size of carts in this system. Does anyone know if I'll potentially hit some kind of limit using this method of encryption? This will determin the path I take. If there is no limit, I'll just make my life easy and encrypt the entire thing. If there is a limit, I'll write some code to parse out the structure and only encrypt certain members. Thanks in advance. -Jake ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342140 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: AES Encryption Limits
In this system (and you know which one I'm talking about) the values aren't actually committed to the DB until there is something in the cart and that's where I would do the encrypt/decrypt. As close to the DB as possible to avoid deeper system changes. However, the only thing I really NEED to encrypt is the payment details like name, CC number and cc expiration date. Those aren't entered until later so I'd potentially be encrypting/decrypting data more than is needed. I'm using AES-128 bit because it is both the fastest and most secure according to the documentation I've come across so far. Now that I'm thinking about your response, maybe it would be better to write something that would parse out those few values that must be encrypted and decrypt in a similar fashion to avoid processor/memory spikes during the encryption process. I could still do that as close to the DB as possible and the code wouldn't be terribly difficult. I think I have my answer. Thanks! -Jake On Fri, Feb 11, 2011 at 10:40 AM, Mark A. Kruger mkru...@cfwebtools.comwrote: My one caution is that encryption is processor intensive. I wouldn't encrypt until you actually have a cart (like I wouldn't arbitrarily encrypt every session to start with). -mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Jake Churchill [mailto:reyna...@gmail.com] Sent: Friday, February 11, 2011 10:32 AM To: cf-talk Subject: AES Encryption Limits Hello All. I am working on a database driven session environment that is used on a shopping cart. The cart is not currently PCI complient so I am working on encrypting certain items. The session is stored in the DB as a WDDX packet in an ntext field. Rather than parsing the structure and encrypting just certain pieces of data, I was playing with the idea of encrypting the entire WDDX packet. This works fine in my tests, but I am worried about any possible limits I might reach. Theoretically, the WDDX string could be enormous as there is nothing limiting the size of carts in this system. Does anyone know if I'll potentially hit some kind of limit using this method of encryption? This will determin the path I take. If there is no limit, I'll just make my life easy and encrypt the entire thing. If there is a limit, I'll write some code to parse out the structure and only encrypt certain members. Thanks in advance. -Jake ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342142 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cffile within cflayout doesn't work?
You can't upload a file via an ajax window. It's a browsr restriction as far as I know. The trick is to embed a hidden iframe and do the file upload there. Also, there's a handy jquery plugin which takes care of this: http://jquery.malsup.com/form/ -Jake Sent from my Droid On Jan 31, 2011 8:01 AM, Tim Do t...@wng.com wrote: Has anyone run into an issue when uploading a file within a cflayout? After submitting, I get a element is undefined in form. When I take my form out of cflayout it works fine. Any ideas?? Thanks! Tim ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341714 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: mutiple checkboxes
Name your checkboxes the same for each row and you'll end up with a comma separated list in the form post. I.E. all checkboxes for ID 1 will be named siteID_1 and the values will be 100, 101 and 103. Then, if they check the first. And submit the form, you'll end up with siteID_1 = 100,101 -Jake On Jan 18, 2011 9:41 PM, Frank Liu fliu2...@gmail.com wrote: Hello, I have a table like this: IDSiteIDJobNumber_request approval 1 100 math teacher 4 2 100 science teacher3 3 100 english teacher2 4 101 summer helper 3 5 101 office assistant 1 6 103 office assistant 2 Then I created a form with those info and a checkbox with each siteID. (The form) IDSiteIDJobNumber_request approval 1 100 math teacher 4 checkbox 2 100 science teacher3 checkbox 3 100 english teacher2 checkbox 4 101 summer helper 3 checkbox 5 101 office assistant 1 checkbox 6 103 office assistant 2 checkbox If any checkboxes are checked, a Yes value will be assigned to approval field in the table. My problem is, for sites with more than one checkboxes (like siteID 100, 101), how can I know which one I ckecked, which one not checked based the on the unique ID? or how can I do it? Thanks ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341018 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CMS for CF
Farcry: http://www.farcrycore.org/ On Thu, Jan 13, 2011 at 10:37 AM, webmas...@pegweb.com wrote: I'm looking for a good open source content management system for Cold Fusion. Something like Joomla. Any suggestions out there? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340747 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMAIL Speed Issue
IIS on the local box is what relays and no params are needed On Thu, Nov 11, 2010 at 7:44 AM, Stephens, Larry V steph...@indiana.eduwrote: Do you use cfmail parameters for naming the server, user and password? I'm on HostMySite and I'm not forced to use these parameters but I've found it's at least 300x faster (a few seconds compared to 3-5 minutes) if I do. -Original Message- From: Jake Churchill [mailto:reyna...@gmail.com] Sent: Wednesday, November 10, 2010 8:18 PM To: cf-talk Subject: CFMAIL Speed Issue I'm having an odd issue with CFMAIL that comes and goes and Im not seeing a reason for it. Environment: 2 load balanced 64-bit windows 2003 servers with 8GB RAM and 2GHz Quad-core processors running CF8 I have a mailer process which processes 1000 messages at a time and alternates between the 2 web servers for relay (modifying the server attribute of the cfmail tag). Normally, this process can handle 1000 messages in under 15 seconds. From time to time (now being one of those times) it will take 3+ minutes to generate them. From what I can tell, the bottleneck is in the generating phase (where it actually creates the messages and drops them in the Spool directory). The background process which actually sends the email files off to the relay servers seems to be running normal. I've tried setting the spooler to the disk or to memory and the speed is the same (maybe slightly faster via the memory setting, but still takes several minutes to complete 1000 messages). I've got the following jvm settings: *java.args=-server -Xms3072m -Xmx5120m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=192m -XX:+UseParallelGC -Xbatch* Frankly I don't really know what some of that does but I know we are using up a crapload of memory which I assume would be a good thing. There's nothing else really running on these servers except IIS and CF8. I'm at a loss right now. Any ideas would be helpful. Thanks! -Jake ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339113 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMAIL Speed Issue
however, on one of the boxes there was a username/password set up in the mail section of cfadmin. I removed it and I'll see if that helps. Thanks for the suggestion. On Thu, Nov 11, 2010 at 8:02 AM, Jake Churchill reyna...@gmail.com wrote: IIS on the local box is what relays and no params are needed On Thu, Nov 11, 2010 at 7:44 AM, Stephens, Larry V steph...@indiana.eduwrote: Do you use cfmail parameters for naming the server, user and password? I'm on HostMySite and I'm not forced to use these parameters but I've found it's at least 300x faster (a few seconds compared to 3-5 minutes) if I do. -Original Message- From: Jake Churchill [mailto:reyna...@gmail.com] Sent: Wednesday, November 10, 2010 8:18 PM To: cf-talk Subject: CFMAIL Speed Issue I'm having an odd issue with CFMAIL that comes and goes and Im not seeing a reason for it. Environment: 2 load balanced 64-bit windows 2003 servers with 8GB RAM and 2GHz Quad-core processors running CF8 I have a mailer process which processes 1000 messages at a time and alternates between the 2 web servers for relay (modifying the server attribute of the cfmail tag). Normally, this process can handle 1000 messages in under 15 seconds. From time to time (now being one of those times) it will take 3+ minutes to generate them. From what I can tell, the bottleneck is in the generating phase (where it actually creates the messages and drops them in the Spool directory). The background process which actually sends the email files off to the relay servers seems to be running normal. I've tried setting the spooler to the disk or to memory and the speed is the same (maybe slightly faster via the memory setting, but still takes several minutes to complete 1000 messages). I've got the following jvm settings: *java.args=-server -Xms3072m -Xmx5120m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=192m -XX:+UseParallelGC -Xbatch* Frankly I don't really know what some of that does but I know we are using up a crapload of memory which I assume would be a good thing. There's nothing else really running on these servers except IIS and CF8. I'm at a loss right now. Any ideas would be helpful. Thanks! -Jake ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339114 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFMAIL Speed Issue
I'm having an odd issue with CFMAIL that comes and goes and Im not seeing a reason for it. Environment: 2 load balanced 64-bit windows 2003 servers with 8GB RAM and 2GHz Quad-core processors running CF8 I have a mailer process which processes 1000 messages at a time and alternates between the 2 web servers for relay (modifying the server attribute of the cfmail tag). Normally, this process can handle 1000 messages in under 15 seconds. From time to time (now being one of those times) it will take 3+ minutes to generate them. From what I can tell, the bottleneck is in the generating phase (where it actually creates the messages and drops them in the Spool directory). The background process which actually sends the email files off to the relay servers seems to be running normal. I've tried setting the spooler to the disk or to memory and the speed is the same (maybe slightly faster via the memory setting, but still takes several minutes to complete 1000 messages). I've got the following jvm settings: *java.args=-server -Xms3072m -Xmx5120m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=192m -XX:+UseParallelGC -Xbatch* Frankly I don't really know what some of that does but I know we are using up a crapload of memory which I assume would be a good thing. There's nothing else really running on these servers except IIS and CF8. I'm at a loss right now. Any ideas would be helpful. Thanks! -Jake ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339100 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF Blog software
Sounds like it's ttime to change who you host with. How are they blocking CFC instantiation like that? Sent from my Droid On Nov 9, 2010 10:36 AM, DURETTE, STEVEN J (ATTASIAIT) sd1...@att.com wrote: Hi all, So I haven't blogged in about a year because of different issues with my website provider... Any how I'm looking to get my blog going again, but I don't know how I should proceed. I used to use blogcfc, but my provider restricts a bunch of tags (below). Can anyone suggest which blog software might be good to use under these restrictions or if there are any work around tutorials for the latest versions of blogging code? I'd prefer to stick with something CF based. The restrictions I have are as follows: CF Tags not allowed: CFCOLLECTION CFCONTENT CFDUMP CFEXECUTE CFLOG CFOBJECT CFOBJECTCACHE CFREGISTRY CF Functions not allowed: SetProfileString CreateObject(COM) CreateObject(CORBA) CreateObject(JAVA) Thanks for your insights. Steve ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339012 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail Send Problem
This might have sommething to do with sending multipart MIME messages. Perhaps one person's client is set to only display plain text and the message does not contain that part. Sent from my Droid On Nov 9, 2010 12:23 PM, Sean Henderson shender...@followup.net wrote: Experiencing the same issue (blank message body) this past week (as of 11/09/10) as described in this post of 11/12/2003. No changes to the template(s) calling CFMail - just started sending blank message bodies. Spam score says negative 1 (-1) where a score of 3 or more is spam, so that's not it. CF says it left the building fine. Records in db say there was indeed message content. Thankfully only happening on our test system (in office), not in production (co-lo). Anyone figure this out? Was it an ISP/content filtering issue? Thanks, Sean stack: CFMX6.1 (j2sdk1.4.2_11), SQL2K Std, Win2K3 Std R2 SP2. ... weird problem occurring with an email send out using CFMail 6.1 from a SQL2000 db. Seems that SOME recipients of the message get a blank/empty message body (subject line, to and from fields are OK). ... doesn't seem to be email client specific Thanks, Mark ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339013 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: DirectoryWatcher Event Gateway
Thanks for the suggestion. I discussed DFS replication with the team and one member said that it was a dog and very difficult to debug. Have you had issues? All I need to do is keep an images directory in sync between 2 servers so I don't need some giant enterprise level piece of software, just something that does the job. -Jake On Fri, Nov 5, 2010 at 11:00 AM, WebSite CFTalk cft...@website.no wrote: You should try to setup dfs replication between the two servers / directory structures instead of using watch folders. That would be more efficient and would also give you near real time sync between the two servers. set and forget Mvh Helge Hetland WebSite AS Den 5. nov. 2010 kl. 16:50 skrev Jake Churchill reyna...@gmail.com: I'm using the directory watcher event gateway to sync files between 2 servers that are load balanced. The client uses both file upload tools and local shares to update files (all located in an images directory). They have 2 sites and the images directory on one site is pushing 2GB and the other is about 1.2GB. So, I have 2 directory watcher instances running, one for each image directory. This is the same directory watcher, I just load 2 different config files. When images are added to server 1, they are copied to server 2, same for changes and deletes. My question is the following: I've never used directory watchers before. I have these scheduled to run at 5 minute incremenets and when they run the processor usage increases to over 30%. It makes me nervous consistently using this much proc so I want to know if this is normal. Is there a more efficient way to sync images between servers using coldfusion? FYI, the images are not all in the images directory, there are about 20 sub-directories and the directory watchers run recursively. The server this is running on is quite powerful. It's a 64bit windows server 2003 with a quad-core proc and 8GB RAM. The JVM has been tuned for this machine. This is CF8 Standard. (Both machines are the same) Thanks for any input. -Jake ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338938 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
DirectoryWatcher Event Gateway
I'm using the directory watcher event gateway to sync files between 2 servers that are load balanced. The client uses both file upload tools and local shares to update files (all located in an images directory). They have 2 sites and the images directory on one site is pushing 2GB and the other is about 1.2GB. So, I have 2 directory watcher instances running, one for each image directory. This is the same directory watcher, I just load 2 different config files. When images are added to server 1, they are copied to server 2, same for changes and deletes. My question is the following: I've never used directory watchers before. I have these scheduled to run at 5 minute incremenets and when they run the processor usage increases to over 30%. It makes me nervous consistently using this much proc so I want to know if this is normal. Is there a more efficient way to sync images between servers using coldfusion? FYI, the images are not all in the images directory, there are about 20 sub-directories and the directory watchers run recursively. The server this is running on is quite powerful. It's a 64bit windows server 2003 with a quad-core proc and 8GB RAM. The JVM has been tuned for this machine. This is CF8 Standard. (Both machines are the same) Thanks for any input. -Jake ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338855 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Preserve HTML format when inserting into HTML
Woot! Found it: http://www.mail-archive.com/cf-talk@houseoffusion.com/msg312892.html I have _never_ seen this in use, but it works perfectly: cfset x.root.child[1].xmlCData = s Awesome! xmlCData? Who knew? And it takes care of the cdata tag for you as well. Very nice. Thanks for finding this!! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336932 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Preserve HTML format when inserting into HTML
But like I said earlier, I created a workaround so I'm not stressing about it. It's just odd. I have found the same problem with a different XML file. I am going to try to put together a proof of concept to see if other people besides me can recreate this issue. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336920 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Preserve HTML format when inserting into HTML
Ok, guys, I have a working proof of concept. At least on my server, this simple 4 line code example illustrates the problem. To recreate, dowload this file: http://techfeed.net/xmlHTMLTest.zip And then follow these steps. 1. Extract the zip to your ColdFusion sites directory. 2. BEFORE RUNNING THE .CFM, open up parkRegions.xml and note how the first region has normal (not escaped) HTML tags. 3. Run xmlHTMLTest.cfm (no output is generated, so you'll just see a blank page). 4. Open parkRegions.xml again and note how the first region now contains escaped HTML. At least, for me on my servers it does (I tried this code on two different servers). Can you see what I'm doing wrong? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336921 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Preserve HTML format when inserting into HTML
Ray, In addition to my previous email with proof of concept code, I am able to reproduce my problem using your code below by adding this cffile tag to the end of your code: cffile action=write file=#expandPath('foo.xml')# output=#toString(x)# Weird. I can't reproduce this: cfset s = font color=redbfoo/b/font cfxml variable=x root child name=one / /root /cfxml cfset x.root.child[1].xmlText = s cfoutput #x.root.child[1].xmltext# p #s# /cfoutput The value is NOT escaped in the XML, nor in the original variable. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336922 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Preserve HTML format when inserting into HTML
As far as I know, CF will not encode HTML unless you tell it to. Are you 100% sure you aren't using htmlEditFormat on the data? I have traced the XML value from start to end, and it appears that the place where the HTML is being converted is when I write the XML to disk. I am dumping the XML to the page all throughout the process, and it looks correct all the way until I write it to the file. Before the file write the XML has the plain HTML, but once written to the file the HTML is converted to entity characters. Here's what I'm doing: cffile action=write file=D:\parksMapFiles\parks.xml output=#toString(parksXML)# ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336852 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Preserve HTML format when inserting into HTML
As far as I know, CF will not encode HTML unless you tell it to. Are you 100% sure you aren't using htmlEditFormat on the data? I have traced the XML value from start to end, and it appears that the place where the HTML is being converted is when I write the XML to disk. I am dumping the XML to the page all throughout the process, and it looks correct all the way until I write it to the file. Before the file write the XML has the plain HTML, but once written to the file the HTML is converted to entity characters. Here's what I'm doing: cffile action=write file=D:\parksMapFiles\parks.xml output=#toString(parksXML)# ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336853 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Preserve HTML format when inserting into HTML
As far as I know, CF will not encode HTML unless you tell it to. Are you 100% sure you aren't using htmlEditFormat on the data? I have traced the XML value from start to end, and it appears that the place where the HTML is being converted is when I write the XML to disk. I am dumping the XML to the page all throughout the process, and it looks correct all the way until I write it to the file. Before the file write the XML has the plain HTML, but once written to the file the HTML is converted to entity characters. To write the XML to file I am using cffile and then for the output I use toString() on the xml object. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336854 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Preserve HTML format when inserting into HTML
When verifying the dumped text throughout the process, you're looking at the view source version, and not the one that's rendered by the browser, right? Sorry for the multiple replies earlier...I have no idea why that happened. Yes, that's correct I'm using view source. In fact, I even wrote the value to a file BEFORE inserting to the XML Object, and it looks fine in the file as well. It's only when I insert to the XML object that the HTML is converted. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336869 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Preserve HTML format when inserting into HTML
When you cfdump something, it escapes it. So if you view source it, you are seeing cfdump's escape. In other words, it isn't the REAL value. I suppose you probably saw my other response (I think we passed each other at the intersection), but if not... If I display the pre-xml value using CFOutput, the HTML looks fine. If I write the pre-xml value to a file, the HTML looks fine. If I insert the value to my XML object, the HTML gets escaped. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336876 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Preserve HTML format when inserting into HTML
So wait - you put the string into an XML object? Maybe you can pastebin more of the code. I have developed a workaround that avoids this problem, but for educational purposes here's the bit of code that seems to be hosing the HTML: cfset parksXML.Parks.Park[i].SiteAbstract.XmlText = editCopy editCopy is made up of various data, but this piece we are concerned with: font color=#045172 size=12bTrenner Park/b/fontbrbr Before the above XML insert this HTML is not escaped (as explained in a previous message). After the insert it looks like this: lt;font color=#045172 size=12gt;lt;bgt;Trenner Parklt;/bgt;lt;/fontgt;lt;brgt;lt;brgt; ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336882 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Preserve HTML format when inserting into HTML
Before the above XML insert this HTML is not escaped (as explained in a previous message). After the insert it looks like this: lt;font color=#045172 size=12gt;lt;bgt;Trenner Parklt;/bgt;lt;/fontgt;lt;brgt;lt;brgt; I should reiterate that I am not dumping the XML object and seeing this escaped HTML...I am writing the XML to a file and then I see the escaped HTML. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336883 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Preserve HTML format when inserting into HTML
Normally when you put HTML into an XML node, it has to be within cdata. So maybe CF is fixing the HTML for you? Yeah, I was just simplifying things, I do have a cdata tag wrapping the HTML. Doesn't help. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336890 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Preserve HTML format when inserting into HTML
I did something similar in a test page, but using the XML functions instead of cfxml. I was not able to reproduce it either...there's something odd about the original XML that is causing this, I guess. But like I said earlier, I created a workaround so I'm not stressing about it. It's just odd. Weird. I can't reproduce this: cfset s = font color=redbfoo/b/font cfxml variable=x root child name=one / /root /cfxml cfset x.root.child[1].xmlText = s cfoutput #x.root.child[1].xmltext# p #s# /cfoutput The value is NOT escaped in the XML, nor in the original variable. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336891 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Preserve HTML format when inserting into HTML
I have an XML object that was populated from an XML file. This XML comes from an external system that I do not control. Here is the bit of XML that I'm struggling with: parks park SiteAbstract ![CDATA[font color=#045172bLoveridge Bridge North/b/font]] /SiteAbstract /park /parks I know this is valid XML...at least it works in the system that uses it. I am trying to write an updated value to this SiteAbstract tag, and the result will show up in this external system. As you can see, the HTML inside the tag is NOT htmlencodedformat, it's just plain HTML. Since SiteAbstract is using the CDATA tag, this is fine. The trouble is that when I try to insert HTML into this tag, ColdFusion is converting the HTML to entity tags. Normally this would be fine, as people usually don't want plain HTML in XML. But with this external system I need to preserve the HTML as is. I have googled and dug in the docs for a while now and I can't find a way to force ColdFusion to leave the HTML as is. The only solution I have come up with (and this is NOT what I'd prefer to do) is to do cfloop file=myXMLfile.xml, search for the XML tag I need to update (this part will be painful) and then manually change the XML tag contents and save the XML to disk. Any better ideas? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336823 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfcontent to serve PDF files hanging
The only think I could think of is use application/pdf for the Content-Type (that is technically the correct mime type). -Jake On Tue, Aug 31, 2010 at 10:33 AM, Jason Fill jasonf...@gmail.com wrote: Our application uses cfcontent to serve back some PDF files and several times per day, the request for a pdf will just hang, like 300,000 + milliseconds to bring back a PDF that is already created. The code we are using is quite simple and each users file is fully generated before this call is made. cfcontent reset=true / cfheader name=Content-Type value=pdf cfheader name=Content-Disposition value=#type)#; filename=#userid#_file.pdf Has anyone ran into this before or have any ideas what might be going on? Thanks Jason ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336674 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
coldfusion 9 - script for search tags
Within CF9, is there a script equivalent for the search tags - cfcollection, cfindex, cfsearch? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336511 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Forums using CFCs?
Lol... Sorry, I didn't mean to start a debate on whether-or-not Galleon is CFC based (I never stated it wasn't). Yes, it is CFC-based (or cfD, or CFQ, with moo.cfc integration :) ) - what I was really looking for is options. It seems that your two choices for a coldfusion forum are CFMBB and Galleon - I've looked at both and to reiterate they aren't really what we're looking for. Basically I'm looking for a very simple CFC-based forum - I don't need nor want RSS, bbtext, attachments, etc but I do want something that has threads, replies, and scrubs input. Does anyone know of other forums for Coldfusion? think he was saying the others did not have the feature set he was looking for. that is why I posted my question!! because in reality his request does not really say much about what he is looking for except it should be simple and cfc based. and yes Galleon is CFC based. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336151 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Forums using CFCs?
Great list, thanks Raymond! As a quick FYI, RIAForge is having issues today. I've had to restart it a few times and won't have time to really dig until tonight. So, if it is down, say a few quick prayers and reload in 10 minutes. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336173 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Forums using CFCs?
I know I'm kicking a dead dog asking about forums, but I need current information so please bear with me. :) I'm currently working on a project where a forum is desired, and I'm hoping someone has developed something that we can use rather than reinventing the forum yet again :). This forum should be very simple - allow posts, reply to post, and some moderation/administration tools. It is important that whatever we use is heavily CFC-based - our framework is entirely OOP/CFC based and a series of CFMs would be very out-of-place. We have looked at Galleon and CFBB, and they're just not what we're looking for. Any suggestions would be appreciated! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336131 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
ColdFusion Blogging Engines
I'm looking at blog engines for a new site that I'm setting up and the server only has CF on it. I use WordPress for my own blog and I love it but I don't want to mess with PHP installation. I know it's pretty easy, I just wanted to take this opportunity to re-visit CF Blogging engines. I used BlogCFC before and (sorry Ray) I didn't like it very much. It gets the job done but it doesn't have the features of WordPress. Maybe newer versions do. So, my question is what blogging engines do people use (CF Based Blogging Engines). I'm currently leaning toward Mango but I wanted to get some input from other developers/bloggers out there. Thanks for any input. -Jake ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335260 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion Blogging Engines
I like having the plugin architecture that wordpress gives you (and mango has this as well). Also, the WYSIWYG editor in BlogCFC was not good. In fact, I don't remember if there even was one. I remember always writing any HTML myself. Beyond those specifics, wordpress just has a smooth UI and BlogCFC seemed kind of clunky. -Jake On Mon, Jul 12, 2010 at 10:58 AM, Will Swain w...@hothorse.com wrote: Haven't tried Mango. Have used blogCFC for a few blogs, and been happy with it. What sort of things doesn't it do that you'd want it to do, out of interest? Will -Original Message- From: Jake Churchill [mailto:reyna...@gmail.com] Sent: 12 July 2010 15:43 To: cf-talk Subject: ColdFusion Blogging Engines I'm looking at blog engines for a new site that I'm setting up and the server only has CF on it. I use WordPress for my own blog and I love it but I don't want to mess with PHP installation. I know it's pretty easy, I just wanted to take this opportunity to re-visit CF Blogging engines. I used BlogCFC before and (sorry Ray) I didn't like it very much. It gets the job done but it doesn't have the features of WordPress. Maybe newer versions do. So, my question is what blogging engines do people use (CF Based Blogging Engines). I'm currently leaning toward Mango but I wanted to get some input from other developers/bloggers out there. Thanks for any input. -Jake ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335264 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion Blogging Engines
Yeah, I agree. I'm no designer either, but I enjoy a slick UI. I'll try Mango and if that doesn't work out I'll probably fall back to BlogCFC. On Mon, Jul 12, 2010 at 11:54 AM, Will Swain w...@hothorse.com wrote: With you on the UI - but then as Ray is always saying, he's no designer. There is no built in WYSIWIG editor - but it's not to hard to add one. w -Original Message- From: Jake Churchill [mailto:reyna...@gmail.com] Sent: 12 July 2010 17:50 To: cf-talk Subject: Re: ColdFusion Blogging Engines I like having the plugin architecture that wordpress gives you (and mango has this as well). Also, the WYSIWYG editor in BlogCFC was not good. In fact, I don't remember if there even was one. I remember always writing any HTML myself. Beyond those specifics, wordpress just has a smooth UI and BlogCFC seemed kind of clunky. -Jake On Mon, Jul 12, 2010 at 10:58 AM, Will Swain w...@hothorse.com wrote: Haven't tried Mango. Have used blogCFC for a few blogs, and been happy with it. What sort of things doesn't it do that you'd want it to do, out of interest? Will -Original Message- From: Jake Churchill [mailto:reyna...@gmail.com] Sent: 12 July 2010 15:43 To: cf-talk Subject: ColdFusion Blogging Engines I'm looking at blog engines for a new site that I'm setting up and the server only has CF on it. I use WordPress for my own blog and I love it but I don't want to mess with PHP installation. I know it's pretty easy, I just wanted to take this opportunity to re-visit CF Blogging engines. I used BlogCFC before and (sorry Ray) I didn't like it very much. It gets the job done but it doesn't have the features of WordPress. Maybe newer versions do. So, my question is what blogging engines do people use (CF Based Blogging Engines). I'm currently leaning toward Mango but I wanted to get some input from other developers/bloggers out there. Thanks for any input. -Jake ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335266 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Programmatic manipulation of DSN settings
No, the admin api has been around for a few releases now On Mon, Jun 7, 2010 at 1:45 PM, Dan Baughman dan.baugh...@gmail.com wrote: Nice is that new to coldfusion 9? On Mon, Jun 7, 2010 at 12:33 PM, Dave Watts dwa...@figleaf.com wrote: Can you update, add, and delete datasources via code in ColdFusion? Yes, through the Admin API: http://help.adobe.com/en_US/ColdFusion/9.0/Admin/WSc3ff6d0ea77859461172e0811cbf364104-7fcf.html Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334342 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Not so simple date format question...
Just do something like this: cfset str = 20100420 / cfoutput #DateFormat(CreateDate(MID(str,1,4),MID(str,5,2),MID(str,7,2)),'mm/dd/')# /cfoutput On Tue, Apr 27, 2010 at 10:32 AM, Che Vilnonis ch...@asitv.com wrote: I'm working with an accounting database that stores order dates as a varchar (8) field. An example would be 20100420. Obviously, CF's dateformat chokes when used. Short of using a bunch of cfset statements with CF functions, how can I (in SQL preferrably or CF) easily format this string to 04/20/2010? Thanks, Che ~| 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:333158 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: FarCryCMS versus Mura
I have Farcry experience and worked at a place that did a Mura site and from my experience, they do the same basic thing. The thing that I saw is Farcry is a much more complete solution so if you are doing anything enterprise level, definitely go that route. If you just want a basic site with a few pages, Farcry might be overkill. I still use farcry for small sites though. -Jake On Fri, Mar 26, 2010 at 4:00 PM, Dave Burns cft...@burnsorama.com wrote: I have a customer who may want to migrate to a CMS and I've told him to consider FarCry or Mura although I have zero experience with either. I can't find many resources around that give a solid comparative review. Can anyone here either point me to one or, if you have experience with both, give me your thoughts on pros and cons of each? Thanks, Dave ~| 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:332351 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion Builder Released!
It's bundled with FlashBuilder 4 which is nice. That's actually a pretty decent price. On Mon, Mar 22, 2010 at 12:10 PM, Eric Roberts ow...@threeravensconsulting.com wrote: 299.00? WTF? What the heck is Adobe smoking? Looks like its back to CFEclipse for me! Eric -Original Message- From: Adrocknaphobia [mailto:adrocknapho...@gmail.com] Sent: Monday, March 22, 2010 11:46 AM To: cf-talk Subject: ColdFusion Builder Released! The subject says it all. If you haven't looked at ColdFusion Builder since the last public beta, you should check out the final release. There have been about 4 months of performance enhancements, bug fixes and tweaks since then. You can download a 60-day trial of ColdFusion Builder from Adobe.com. http://bit.ly/TryBolt -Adam ~| 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:331960 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion Builder Released!
There's a $249 version that doesn't have FlashBuilder On Mon, Mar 22, 2010 at 12:21 PM, Charlie Griefer charlie.grie...@gmail.com wrote: Yeah, assuming you have an interest in FlashBuilder. There was no way Adobe was going to please everybody (well, not without outright giving it away... which wouldn't have pleased the shareholders). For those who are interested in FlashBuilder (and I'm one of 'em), this is a pretty smokin' deal. For those who aren't... I can definitely see their point. On Mon, Mar 22, 2010 at 10:13 AM, Jake Churchill reyna...@gmail.com wrote: It's bundled with FlashBuilder 4 which is nice. That's actually a pretty decent price. On Mon, Mar 22, 2010 at 12:10 PM, Eric Roberts ow...@threeravensconsulting.com wrote: 299.00? WTF? What the heck is Adobe smoking? Looks like its back to CFEclipse for me! Eric -Original Message- From: Adrocknaphobia [mailto:adrocknapho...@gmail.com] Sent: Monday, March 22, 2010 11:46 AM To: cf-talk Subject: ColdFusion Builder Released! The subject says it all. If you haven't looked at ColdFusion Builder since the last public beta, you should check out the final release. There have been about 4 months of performance enhancements, bug fixes and tweaks since then. You can download a 60-day trial of ColdFusion Builder from Adobe.com. http://bit.ly/TryBolt -Adam ~| 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:331963 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion Builder Released!
Sorry, I think that's if you want FlashBuilder without ColdFusionBuilder On Mon, Mar 22, 2010 at 12:23 PM, Jake Churchill reyna...@gmail.com wrote: There's a $249 version that doesn't have FlashBuilder On Mon, Mar 22, 2010 at 12:21 PM, Charlie Griefer charlie.grie...@gmail.com wrote: Yeah, assuming you have an interest in FlashBuilder. There was no way Adobe was going to please everybody (well, not without outright giving it away... which wouldn't have pleased the shareholders). For those who are interested in FlashBuilder (and I'm one of 'em), this is a pretty smokin' deal. For those who aren't... I can definitely see their point. On Mon, Mar 22, 2010 at 10:13 AM, Jake Churchill reyna...@gmail.com wrote: It's bundled with FlashBuilder 4 which is nice. That's actually a pretty decent price. On Mon, Mar 22, 2010 at 12:10 PM, Eric Roberts ow...@threeravensconsulting.com wrote: 299.00? WTF? What the heck is Adobe smoking? Looks like its back to CFEclipse for me! Eric -Original Message- From: Adrocknaphobia [mailto:adrocknapho...@gmail.com] Sent: Monday, March 22, 2010 11:46 AM To: cf-talk Subject: ColdFusion Builder Released! The subject says it all. If you haven't looked at ColdFusion Builder since the last public beta, you should check out the final release. There have been about 4 months of performance enhancements, bug fixes and tweaks since then. You can download a 60-day trial of ColdFusion Builder from Adobe.com. http://bit.ly/TryBolt -Adam ~| 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:331964 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Eclipse and FTP Support...
CF Eclipse has a File Explorer View which supports FTP. I am working on a project now where the development server has a complex setup and it's just easier to code that way than set it up locally. On Mon, Mar 22, 2010 at 3:25 PM, Wil Genovese jugg...@visi.com wrote: Personally I never use FTP from within my IDE. That makes it to tempting to just edit code live and bypass the SVN and local dev testing. I think its a mater of enforcing best practices. Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing well. On Mar 22, 2010, at 3:19 PM, Christopher Stowell wrote: does anyone have a link(s) to FTP plugins for Eclipse? Which ones do you recommend? ~| 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:332020 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion Builder Released!
The standard edition does as well. The one priced at $299. There is one priced at $249 which does not include Coldfusion Builder On Mon, Mar 22, 2010 at 4:02 PM, Charlie Griefer charlie.grie...@gmail.comwrote: On Mon, Mar 22, 2010 at 1:55 PM, Casey Dougall ca...@uberwebsitesolutions.com wrote: On Mon, Mar 22, 2010 at 4:49 PM, Ian Skinner h...@ilsweb.com wrote: On 3/22/2010 1:35 PM, Eric Nicholas Sweeney wrote: Amen Chad - - I would like to See Flex in there as well. Flash Builder is the new name of what used to be called 'Flex' Builder. Does Flash builder include Coldfusion Builder, I'm confused on that one... The premium edition does. Adobe Flash Builder 4 Premium Edition adds professional testing tools, including profilers, network monitoring, and unit testing support, and includes a license for Adobe ColdFusion® Builder software. http://www.adobe.com/products/flex/buy/ -- Charlie Griefer http://charlie.griefer.com/ I have failed as much as I have succeeded. But I love my life. I love my wife. And I wish you my kind of success. ~| 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:332028 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion Builder Released!
https://store1.adobe.com/cfusion/store/index.cfm?store=OLS-USview=ols_prodcategory=/Applications/FlashBuilderPremiumdistributionMethod=FULLnr=0#store=OLS-USloc=en_usview=ols_prodcategory=/Applications/FlashBuilderPremium On Mon, Mar 22, 2010 at 4:24 PM, Charlie Griefer charlie.grie...@gmail.comwrote: You lost me, Jake :) There is no edition of FlashBuilder that I see priced at $299. There's standard ($249), which does not include CFBuilder, and Premium, which is priced at $699 and dies include CFBuilder. On Mon, Mar 22, 2010 at 2:13 PM, Jake Churchill reyna...@gmail.com wrote: The standard edition does as well. The one priced at $299. There is one priced at $249 which does not include Coldfusion Builder On Mon, Mar 22, 2010 at 4:02 PM, Charlie Griefer charlie.grie...@gmail.comwrote: On Mon, Mar 22, 2010 at 1:55 PM, Casey Dougall ca...@uberwebsitesolutions.com wrote: On Mon, Mar 22, 2010 at 4:49 PM, Ian Skinner h...@ilsweb.com wrote: On 3/22/2010 1:35 PM, Eric Nicholas Sweeney wrote: Amen Chad - - I would like to See Flex in there as well. Flash Builder is the new name of what used to be called 'Flex' Builder. Does Flash builder include Coldfusion Builder, I'm confused on that one... The premium edition does. Adobe Flash Builder 4 Premium Edition adds professional testing tools, including profilers, network monitoring, and unit testing support, and includes a license for Adobe ColdFusion® Builder software. http://www.adobe.com/products/flex/buy/ -- Charlie Griefer http://charlie.griefer.com/ I have failed as much as I have succeeded. But I love my life. I love my wife. And I wish you my kind of success. ~| 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:332034 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion Builder Released!
I think the statement they are trying to make is Flex and ColdFusion belong together, hence bundling the IDEs and all the intregration work that was done w/ CF9. I think once people get over this $300 issue, it'll really help Adobe. The fact of the matter is that Flex is huge and is not going anywhere anytime soon. Adobe is basically saying that flex is even better with CF so why not develop them together? On Mon, Mar 22, 2010 at 4:47 PM, Mary Jo Sminkey mary...@cfwebstore.comwrote: I'm not sure what I wrote that triggered that, but no, that's not what I mean at all...I just meant that if Adobe charges $300 for an original product, then a product that derives so much benefit from other currently functioning and successful programs should sell for less. For what it's worth, I think the product should sell for less (and separately than FlashBuilder if necessary to get it there) but not for this reason. If you really look at what CFB is doing, there's a lot that is not just building off what already exists and I have no doubt a lot of work went into making it. It's been rushed to market a tad premature perhaps, but it's certainly not just a CFEclipse retread. I just wish Adobe would see that for the language to be successful, they need to do more to attract developers. A low-priced IDE could have really helped in that respect. The pricing on this product seems once again solely focused on the existing market, not towards growing it. ~| 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:332048 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF-Based Content Management Systems
Definitely go with Farcry. http://www.farcrycms.org. There is a blogging plugin for it as well. -Jake On Thu, Mar 18, 2010 at 3:29 PM, Peter Donahue pdonah...@sbcglobal.netwrote: Good afternoon everyone, I just got off of the phone with a client that is considering using a content management system (CMS) to manage her Web site. The developer she hired to redesign her pages suggested using an Adobe product to insure that the CMS is robust and to be sure all features are accessible by disabled site visitors and managers. She also wishes to include a site blog as well. I believe there is CF blogging software and would appreciate some recommendations and sources for obtaining CF cms and blogging packages. Thanks in advance for your assistance. Peter Donahue ~| 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:331865 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: OT JS question
http://www.w3schools.com/jsref/jsref_parseInt.asp var value = 15; parseInt(value,10); On Thu, Mar 4, 2010 at 1:37 PM, Chad Gray cg...@careyweb.com wrote: Anyone know if there is an equivalent to CFs val() in Javascript? I want to check a JS variable and set it to zero if it is blank. Thanks ~| 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:331360 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFIF within CFmail?
first of all, your cfif syntax is incorrect... Here's what I'd do: cfparam name=ccEmail default= / cfif form.inttype eq K-12 cfset ccEmail = te...@test2.com / /cfif cfmail from=#FORM.email# to=t...@test.com cc=#ccEmail# Subject=New Jersey !--- EMAIL CONTENTS HERE --- /cfmail This is just cleaner. I didn't actually test this but i don't see any obvious problems with it. -Jake On Mon, Feb 22, 2010 at 8:57 AM, Orlini, Robert rorl...@hwwilson.comwrote: Hello, I'm trying to include a cfif within a cfmail. If a form element is K-12, then I want to add a cc to the cfmail part. Here is what I have in part: CFMAIL from=#FORM.email# To=t...@test.com cfif #form.intype#=K-12cc=te...@test2.com/Cfif Subject=New Jersey It generates an error. Is there a better way to do this? Thanks. RO HWW ~| 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:331015 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Random question
cfset randomCharacters = '0123456789abcdefghijklmnopqrstuvwxyz' / cfset randomString = '' / cfloop from=1 to=4 index=i cfset randomNumber = RandRange(1,LEN(randomCharacters)) / cfset randomString = randomString MID(randomCharacters,randomNumber,1) / /cfloop -Jake On Wed, Feb 10, 2010 at 12:50 PM, Les Irvin les.cft...@gmail.com wrote: How would I come up with a 4-character random string consisting of any letter or number? 1k3d, e4rf, 69e4, dfje, 3967, etc... Thanks in advance for your help, Les ~| 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:330555 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PDF Form Filling alternate in MS-Word???
You could check out the apache POI project. Not sure how much support they'll have for this sort of thing. You still might have to insert markers to look for (i.e. replace $$VAR1$$ with the contents of your first variable or something like that). Here's the link: http://poi.apache.org/ -Jake On Thu, Feb 4, 2010 at 9:09 AM, Gerald Guido gerald.gu...@gmail.com wrote: I have done this in the past using RTF format. About 1/2 way into it I wish I hadn't. It can be very tedious for large forms. You can try saving the document in .xml format but Word's XML parser is VERY picky and I never got it to work right. Hence the RTF approach. Basically I saved the document as RTF with markers where the variables would go and filled it in with CF variables and forced it to be downloaded as a .doc file cfsavecontent variable=MyDoc cfinclude template=../GoalsObjectivesPrint.txt /cfsavecontent cfheader name=Content-Disposition value=attachment; filename=grothplan.doc cfcontent type=application/unknowncfoutput#Trim(MyDoc)#/cfoutputcfsetting showdebugoutput=false HTH, G! On Thu, Feb 4, 2010 at 2:36 AM, Arsalan Tariq Keen arsalk...@hotmail.com wrote: Dear Experts, I want to know is there any way I can auto-fill my word documents with specific data at specific locations using ColdFusion. I have done this using PDF Forms, where I used to add texfields and then later populate them using CF. Is there anyway to achieve this using CF + MS-Word Regards, Arsalan ~| 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:330402 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfsavecontent and whitespace
I'm just wondering if anyone has come up with a solution for the extreme whitespace added by cfsavecontent. Scenario: I have a CFC which builds pieces of content for an email. The content is pieced together via a complex series of loops, and other CFC calls. I've tried every combination of cfsilent, cfsetting enablecfoutputonly=true and cfprocessingdirective suppresswhitespace=true that I can think of and nothing seems to work. The Enable Whitespace Management option in the administrator DOES work, but I don't want to turn that on because of the potential performance hit. Does anyone have any kind of suggestion for avoiding so much whitespace? -Jake ~| 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:330051 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfsavecontent and whitespace
Yes, output is turned off on both the CFC and the individual method. I ended up using a method like this: http://www.cflib.org/index.cfm?event=page.udfbyidudfid=812 Hope it doesn't affect performance too much. -Jake On Fri, Jan 22, 2010 at 3:13 PM, Justin Scott jscott-li...@gravityfree.comwrote: I'm just wondering if anyone has come up with a solution for the extreme whitespace added by cfsavecontent. Is output=no set on the CFC method? -Justin ~| 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:330054 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfmail through google
I don't know of a way to do it. I use the CF Administrator to set that up (there's a checkbox for it there) On Tue, Jan 19, 2010 at 7:37 PM, Matthew Smith chedders...@gmail.comwrote: I am trying to send out email through google's hosted email. I understand how to configure the port to 587, but how do I enable TLS encryption? I am working from the instructions here: http://mail.google.com/support/bin/answer.py?answer=77689 Here is what I have: CFMAIL server=smtp.gmail.com username=webs...@mysite.com password=password port=587 from=webs...@mysite.com to=myem...@gmail.com subject=Any Subject This is the body of the message. /CFMAIL ~| 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:329819 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfmail through google
Nice... those aren't in the docs On Tue, Jan 19, 2010 at 7:52 PM, Dave Watts dwa...@figleaf.com wrote: I am trying to send out email through google's hosted email. I understand how to configure the port to 587, but how do I enable TLS encryption? I am working from the instructions here: http://mail.google.com/support/bin/answer.py?answer=77689 Here is what I have: CFMAIL server=smtp.gmail.com username=webs...@mysite.com password=password port=587 from=webs...@mysite.com to=myem...@gmail.com subject=Any Subject This is the body of the message. /CFMAIL CFMAIL has a USETLS attribute which you can set. Here's a description: http://jamiekrug.com/blog/index.cfm/2009/2/13/cfmail-using-Gmail-SMTP Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite ~| 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:329821 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFLDAP SSL
I'm working on an SSL integration of CFLDAP for a client and am consistently getting Connection to LDAP server failed. All attributes are correct and for testing I'm attempting a simple query with * for attributes and maxrows of 10. Snippet below. Everything is straight from the IT staff that controls the LDAP server. I read this article: http://kb2.adobe.com/cps/191/tn_19139.html#enableCF which stated that you have to install the certificate of the remote LDAP server in the CF local keystore. Is that true? Is that the only way? Here's that snippet: cfldap action=query server=client.domain.com username=username password=password name=ldapResult attributes=* start=DN_PROPERTIES_COMMA_SEPARATED_LIST secure=CFSSL_BASIC maxrows=10 / ~| 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:328960 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: count array element occurences
Try this UDF: http://cflib.org/udf/REListFindNoCaseMultiple Here's the UDF code and a quick example: cfset list = '1,2,2,12,12,15' cfdump var=#REListFindNoCaseMultiple('12',list)# cfscript /** * When given a list of values, returns a list of element locations that match a given regular expression. * * @param reg_expr The regular expression for the search. (Required) * @param tlist The list. (Required) * @param delims List delimeter. Defaults to a comma. (Optional) * @return Returns a list of matches. * @author Robert Munn (robert.m...@alumni.tufts.edu) * @version 1, October 19, 2004 */ function REListFindNoCaseMultiple(reg_expr,tlist){ var results=; var expr_location = 0; var i = 1; var delims = ,; if(arrayLen(arguments) gt 2) delims = arguments[3]; for(; i lte listlen(tlist,delims); i=i+1){ expr_location = REFindNoCase(reg_expr,listgetat(tlist,i,delims)); if(expr_location gt 0) results=listappend(results,i); } return results; } /cfscript On Fri, Oct 16, 2009 at 12:49 PM, Richard White rich...@j7is.co.uk wrote: hi is there a way to count an array/list element occurences e.g. list=1,2,12,12 find occurences for '12' would return '2' thanks ~| 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:327285 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Files stay locked after processing them
I ran into a similar issue on CF8 and it ended up being a bug. There's a hotfix out there for it: http://kb2.adobe.com/cps/403/kb403411.html http://kb2.adobe.com/cps/403/kb403411.html-Jake On Thu, Oct 15, 2009 at 10:10 AM, Phillip B philthylab...@gmail.com wrote: I have an issue where image files will stay locked after I'm done with them. I get an image, make multiple sizes and then need to move the file to a new place. Problem is the files are being moved rather than copied because they are still locked. I'm using a directory-watcher event gateway to do this. Any suggestions? Phil ~| 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:327246 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cannot insert record with #createodbcdatetime(now())#
Try the SQL Server function GETDATE() instead of a queryparam On Tue, Oct 13, 2009 at 3:01 PM, Matthew Smith chedders...@gmail.comwrote: I get this error: Error Executing Database Query. [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC SQL Server Driver]Invalid precision value With this query: cfquery name=qry datasource=#this.DSN# result=qryResult INSERT INTO contest ( name,email,phone,age,score,addeddate ) VALUES ( cfqueryparam cfsqltype=CF_SQL_VARCHAR value=#ARGUMENTS.userName# /, cfqueryparam cfsqltype=CF_SQL_VARCHAR value=#ARGUMENTS.userEmail# /, cfqueryparam cfsqltype=CF_SQL_VARCHAR value=#ARGUMENTS.phone# /, cfqueryparam cfsqltype=CF_SQL_INTEGER value=#ARGUMENTS.age# /, cfqueryparam cfsqltype=CF_SQL_INTEGER value=#ARGUMENTS.score# /, cfqueryparam value=#createodbcdatetime(now())# cfsqltype=CF_SQL_TIMESTAMP ) /cfquery If I remove the addeddate column it works. I have done this before without issue. It is an odbc socket connection. ~| 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:327148 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: drop down box
This is just how dropdowns work. You need to add a blank element at the beginning. I usually do it manually like this: select name=somename option value=/option cfloop !-- more options here -- /cfloop /select Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -Original Message- From: Richard White [mailto:rich...@j7is.co.uk] Sent: Tuesday, September 22, 2009 11:04 AM To: cf-talk Subject: drop down box hi we want to have a drop down box on a form that has attribute 'required' and a message that displays if no value is select when the form is submitted however, using cfselect automatically makes the first option selected, but we want the user to physically select an option how can we code it so that no option is automatically selected when the page loads? thanks ~| 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:326491 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
(ot) International countries and states/provinces/administrative div. database
For the life of me I cannot find a complete international Countries/States database... The best I have found is the GeoDataSource World Cities database, but I'm having a hard time feeling comfortable with assuming a SELECT DISTINCT state,country would return a match for EVERY state,country in the world; also I'm missing abbreviation data from this database. Anyone have a good source for this data? P.S. I'm using the term 'state' loosely here - please assume I'm referring to the provinces, administrative divisions, etc of the world. Thanks in advance! ~| 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:326168 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: (ot) International countries and states/provinces/administrative div. database
What about the UN list? http://unstats.un. org/unsd/methods/m49/m49alpha.htm Thanks for the reply Roger. This does help with the country side of the data, do you know of a list like this for the states within a country (with abbreviations)? ~| 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:326173 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 Server Reboot
Usually there's an applicationTimeout flag set. I often set it to 2 days (createTimeSpan(2,0,0,0)). If that is the case, onApplicationStart will run the first time your application is accessed after that timeout. You'd want to factor that into it as well. You could also write out a file with an incrementing number every time the app runs or add something to a DB every time to get an idea as well. Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -Original Message- From: Byte Me [mailto:byteme...@verizon.net] Sent: Tuesday, September 08, 2009 2:49 PM To: cf-talk Subject: Coldfusion Server Reboot On average, how often should a CF server be rebooted, assuming the server is not being rebooted to fix a problem. I have an app that runs once, each time function OnApplicationStart runs, and I'm trying to get an idea of how often the app may run. Any info from any CF Admins would be appreciated. thanks ~| 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:326106 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 Server Reboot
It all depends on the application. Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -Original Message- From: Byte Me [mailto:byteme...@verizon.net] Sent: Tuesday, September 08, 2009 3:02 PM To: cf-talk Subject: Re: Coldfusion Server Reboot Thanks for the info. So do you think it would be out of the ordinary for most CF Admins to set createTimeSpan for 14 or more days? ~| 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:326108 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 + Flex
You can use Eclipse with a CFEclipse and FlexBuilder plugins. Personally I use Flexbuilder standalone for Flex and CFEclipse separately. Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -Original Message- From: Agha Mehdi [mailto:aghaime...@gmail.com] Sent: Friday, August 21, 2009 11:22 AM To: cf-talk Subject: Coldfusion + Flex What is the most common and best IDE people are using for Coldfusion and Flex combined? ~| 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:325591 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: .NET or JAVA? Which is a more natural step for a CF Developer
If you are out of a job, Adobe is (or at least was) giving away flex builder for free. It's for learning purposes only so you can't actually use it for anything work related. Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -Original Message- From: Will Swain [mailto:w...@hothorse.com] Sent: Wednesday, August 12, 2009 9:45 AM To: cf-talk Subject: RE: .NET or JAVA? Which is a more natural step for a CF Developer AFAIK, Flex is free, and the it's the flex builder ide that costs. You could theoretically build your flex apps in a free ide and use the free compiler to compile them. I'm sure if that's wrong someone will correct me. Will -Original Message- From: Phillip Vector [mailto:vec...@mostdeadlygame.com] Sent: 12 August 2009 15:22 To: cf-talk Subject: Re: .NET or JAVA? Which is a more natural step for a CF Developer I'm watching this convo and I'm convinced that I need to learn some Flex. But I went to the adobe site and saw only Flex Builder and it's only good for 60 days. No developer edition that I could find. Is there something I am missing? Is there a way to install flex on my desktop and play around with it without being limited to 60 days to learn it or is it a program that companies would have to buy with CF as well? ~| 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:325386 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: .NET or JAVA? Which is a more natural step for a CF Developer
The SDK includes a compiler. You have to run it through the command line though. Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -Original Message- From: Phillip Vector [mailto:vec...@mostdeadlygame.com] Sent: Wednesday, August 12, 2009 9:48 AM To: cf-talk Subject: Re: .NET or JAVA? Which is a more natural step for a CF Developer Any idea where I can find the free compiler? On Wed, Aug 12, 2009 at 7:44 AM, Will Swainw...@hothorse.com wrote: AFAIK, Flex is free, and the it's the flex builder ide that costs. You could theoretically build your flex apps in a free ide and use the free compiler to compile them. I'm sure if that's wrong someone will correct me. Will -Original Message- From: Phillip Vector [mailto:vec...@mostdeadlygame.com] Sent: 12 August 2009 15:22 To: cf-talk Subject: Re: .NET or JAVA? Which is a more natural step for a CF Developer I'm watching this convo and I'm convinced that I need to learn some Flex. But I went to the adobe site and saw only Flex Builder and it's only good for 60 days. No developer edition that I could find. Is there something I am missing? Is there a way to install flex on my desktop and play around with it without being limited to 60 days to learn it or is it a program that companies would have to buy with CF as well? ~| 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:325389 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: .NET or JAVA? Which is a more natural step for a CF Developer
Here's a link to what and how you can get flex free from Adobe: https://freeriatools.adobe.com/ Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -Original Message- From: Rob Parkhill [mailto:robert.parkh...@gmail.com] Sent: Wednesday, August 12, 2009 9:52 AM To: cf-talk Subject: Re: .NET or JAVA? Which is a more natural step for a CF Developer Flex SDK : http://www.adobe.com/products/flex/ http://www.adobe.com/products/flex/Rob On Wed, Aug 12, 2009 at 10:48 AM, Phillip Vector vec...@mostdeadlygame.comwrote: Any idea where I can find the free compiler? On Wed, Aug 12, 2009 at 7:44 AM, Will Swainw...@hothorse.com wrote: AFAIK, Flex is free, and the it's the flex builder ide that costs. You could theoretically build your flex apps in a free ide and use the free compiler to compile them. I'm sure if that's wrong someone will correct me. Will -Original Message- From: Phillip Vector [mailto:vec...@mostdeadlygame.com] Sent: 12 August 2009 15:22 To: cf-talk Subject: Re: .NET or JAVA? Which is a more natural step for a CF Developer I'm watching this convo and I'm convinced that I need to learn some Flex. But I went to the adobe site and saw only Flex Builder and it's only good for 60 days. No developer edition that I could find. Is there something I am missing? Is there a way to install flex on my desktop and play around with it without being limited to 60 days to learn it or is it a program that companies would have to buy with CF as well? ~| 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:325391 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: .NET or JAVA? Which is a more natural step for a CF Developer
I second this. I couldn't imagine learning flex without the tools flexbuilder provides. Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Wednesday, August 12, 2009 10:00 AM To: cf-talk Subject: Re: .NET or JAVA? Which is a more natural step for a CF Developer If you can point me to where that is (or if you have the install file for it), it would be appricated because everywhere on the site that I am looking, it says that it is only for 60 days and I can't seem to find a developers version anywhere. It's the first link on this page: http://www.adobe.com/products/flex/flexdownloads/ But I would really recommend that you start with Flex Builder. It's much easier, and it won't take you 60 days to figure out whether you're interested or not. You're much more likely to actually learn Flex with Flex Builder. After that, you may actually know enough about Flex to not use Flex Builder if you choose. 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:325396 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: code formatting in Eclipse IDE for coldfusion
Look up CFEclipse Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -Original Message- From: RamaDevi Dobbala [mailto:ramadobb...@gmail.com] Sent: Thursday, July 23, 2009 10:17 AM To: cf-talk Subject: code formatting in Eclipse IDE for coldfusion hi frnds, hi can we do the code formatting for coldfusion in Eclipse IDE, what settigns we need to do, if any one know please tell me. Rama ~| 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:324861 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CSS editor for eclipse galileo?
Hi everyone, does anyone have any recommendations for a CSS editor for eclipse galileo? I used to use aptana, but it just does WAAAY more than i need it to, and it seems to get in the way of CFEclipse at times (for example, when I have aptana cfeclipse installed i can no longer drag drop text). I'm okay with firing up an external editor if there's a good free one available. Thanks! ~| 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:323957 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Creating MS Word Documents
Hey, Paul, long time no talk. A guy I work with just demo'd the Apache POI project recently. He was doing it for Excel 2007 formatting but it handles pretty much all Office programs. I think there is a limited version of this built into CF8 (not sure if you are using that) but depending on what functionality you need, you might need the newest full version. Check it out here: http://poi.apache.org/ Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -Original Message- From: Paul Giesenhagen [mailto:p...@quilldesign.com] Sent: Tuesday, June 02, 2009 4:20 PM To: cf-talk Subject: Creating MS Word Documents Hello all! We have a project where we need to create MS Word documents on the fly via Coldfusion - has anyone had any experience with this. We need to adhere to strict output rules for this project and wondering if just creating HTML content will be enough. Has anyone used any tool for this before? Any suggestions would be most helpful. Thanks Paul Giesenhagen QuillDesign http://www.quilldesign.com Coldfusion Shopping Cart Software ~| 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:323095 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Query Modification
I 2nd this. I looked through the java stuff and I don't see a way to remove a column. Just add and manipulate them. Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -Original Message- From: Jason Fisher [mailto:ja...@wanax.com] Sent: Monday, June 01, 2009 2:13 PM To: cf-talk Subject: re: Query Modification Query of Queries would work really well, and would be very efficient ... why not do that? Query 'employees' has: firstName, lastName, title, email, phone, ext cfquery dbtype=query name=employees SELECT firstName, lastName, email FROM employees /cfquery That would get you there with very little overhead ... ~| 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:323040 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
documenting code
I'm looking to document our codebase. I'd like to use the documentation format that Java uses (http://java.sun.com/javase/6/docs/api/), Coldbox uses (http://www.coldboxframework.com/api/), and others... First off - what's the name of that documentation format? Secondly - I know someone has put together a CF tool for this already; can someone remind me what it's called? Thanks! ~| 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:322682 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFSELECT Default Value Problem...
Binding overwrites the entire option array. I'm not sure there's a way to stop that. What I'd do is just modify your getCATS() method to add the Select a Category option to the data returned. Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -Original Message- From: Les Mizzell [mailto:lesm...@bellsouth.net] Sent: Friday, May 15, 2009 9:44 AM To: cf-talk Subject: CFSELECT Default Value Problem... Hmmm - don't know why this doesn't want to work: cfselect name=theCATS id=theCATS bind=cfc:art.getCATS() bindonload=yes bindattribute=HTML queryPosition=Below option value=0Select a Category/option /cfselect This will display *just* the database output, and not the optional Select a Category option, which needs to always be first... If I remove the bindonload attribute - it will display ONLY the Select a Category option - and not the database output. I'm probably an idiot ~| 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:322552 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFSELECT Default Value Problem...
Except I think you'd loop from=2 because you already set the first value manually Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -Original Message- From: Les Mizzell [mailto:lesm...@bellsouth.net] Sent: Friday, May 15, 2009 10:13 AM To: cf-talk Subject: Re: CFSELECT Default Value Problem... Here's what I had to do to get it to work: !--- Convert results to array --- cfset result[1][1]= 0 cfset result[1][2]= Select a Group cfloop index=i from=1 to=#data.RecordCount# cfset i = i+1 cfset result[i][1]=data.groups_id[i] cfset result[i][2]=data.mgroup[i] /cfloop Still, seems convoluted! You should be able to define a default value!!! Oh well, maybe in CF9, huh? ~| 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:322559 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: dynamically create array using cfloop?
cfloop index=i from=0 to=20 cfset innerVal = '' cfloop index=j from=0 to=#i# cfset innerVal = innerVal '#j#|#j#' cfif j NEQ i cfset innerVal = innerVal , /cfif /cfloop sidewalls_Quantity[#i#]=[#innerVal#]br / /cfloop Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -Original Message- From: Paul Ihrig [mailto:pih...@gmail.com] Sent: Thursday, May 14, 2009 8:47 AM To: cf-talk Subject: dynamically create array using cfloop? hey guys i have an array like below to render a 2nd select box based on first select box it continues 0-20 var sidewalls_Quantity#rsTS8.specs_partnum#=new Array() sidewalls_Quantity#rsTS8.specs_partnum#[0]=[0|0] sidewalls_Quantity#rsTS8.specs_partnum#[1]=[0|0, 1|1] sidewalls_Quantity#rsTS8.specs_partnum#[2]=[0|0, 1|1, 2|2 ] sidewalls_Quantity#rsTS8.specs_partnum#[3]=[0|0, 1|1, 2|2, 3|3] sidewalls_Quantity#rsTS8.specs_partnum#[4]=[0|0, 1|1, 2|2, 3|3 , 4|4] i would like to just use cfloop to populate it and make maller code.. cfloop index=i from=0 to=20 sidewalls_Quantity[#i#]=[#i#|#i#]br / /cfloop outputs sidewalls_Quantity[0]=[0|0] sidewalls_Quantity[1]=[1|1] sidewalls_Quantity[2]=[2|2] sidewalls_Quantity[3]=[3|3] sidewalls_Quantity[4]=[4|4] sidewalls_Quantity[5]=[5|5] sidewalls_Quantity[6]=[6|6] which is close. but i think i need another loop to do the 0|0, 1|1, 2|2, 3|3 stuff.. any ideas.. thanks a ton! -paul ~| 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:322497 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: dynamically create array using cfloop?
You can put CF inside JS. You just have to look at the rendered source to make sure it's correct. It usually takes me a couple tries but it always works in the end. Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -Original Message- From: Paul Ihrig [mailto:pih...@gmail.com] Sent: Thursday, May 14, 2009 9:10 AM To: cf-talk Subject: Re: dynamically create array using cfloop? also.. i cant put cf inside js? or can i? the loop works fine out side script type=text/javascript/script ~| 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:322500 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Coldbox - mxunit testing database interaction
I'm just starting to get into Coldbox and I'm encountering some confusion as to how to *really* test my models and database interaction. So I have the following handler function which is fired upon form submission: cffunction name=editAction cfargument name=event type=any cfscript var rc = arguments.event.getCollection(); var demoModelObj = getModel('demoModel'); demoModelObj.editUserObj(rc); runEvent('demoApp.list'); /cfscript /cffunction ... which calls the following model function: cffunction name=editUserObj cfargument name=rc type=struct required=true hint=request collection / cfscript if (structKeyExists(rc,'userID')) { instance.usersObj.load(rc.userID); instance.usersObj.setAll(rc); instance.usersObj.save(); } /cfscript /cffunction This all works fine and dandy (at least for a 'hello world' coldbox application - I know this code is lacking in a number of places). So now I'm trying to set up a mxunit test to test the behaviors of the handler, but I'm coming to a blank when I try to come up with an assertion for this... I could bundle the whole test up in a cftransaction, and rollback when I'm done - I get that, but the problem is I don't see how to test this w/o writing twice as much code within the test. Take the following beginning of a unit test: cffunction name=testEditAction cfargument name=event type=any cfscript var event = ; var rc = ''; // set up fake form submission rc.userID = 1; rc.userName='testUser'; rc.password = 'testPass'; rc.departmentID_fk = 1; event = execute(demoApp.edit); rc = event.getCollection(); debug(rc); // what to do here? /cfscript /cffunction ... what kind of assertions can I make at the 'what to do here?' line? Is there an easy way to get at instance.usersObj from the model's method, or do I have to have my model return it (seems wrong to have the model return just to allow for debugging)? Am I totally missing the short-bus here? Any insight would be greatly appreciated! ~| 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:322453 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Coldbox - mxunit testing database interaction
Thanks for the response Matt. I'll repost this there. In the meantime for anyone else viewing this thread, what I'm struggling with is finding out if the save occurred successfully. Maybe the answer is that I should be unit testing the model directly and ignoring this test within the handler's unit tests. Here's what I'm thinking this unit test should look like (partial pseudo-code): cffunction name=testEditAction cfargument name=event type=any cfscript var event = ; var rc = ''; var testObj = ''; // set up fake form submission rc.userID = 1; rc.userName='testUser'; rc.password = 'testPass'; rc.departmentID_fk = 1; event = execute(demoApp.edit); rc = event.getCollection(); debug(rc); testObj = createObject('component','path.to.users'); testObj.load(rc.userID); assertEquals(testObj.get('username'),rc.username,'usernames are not equal.'); assertEquals(testObj.get('password'),rc.password,'passwords are not equal.'); /cfscript /cffunction ... but you can see how this is a MUCH bigger function than what I'm actually trying to test. If I used this approach in a more complex scenario, I could see it taking twice as long to write the test than it did to write the functionality I'm trying to test... Seems like a losing battle - I'm hoping I'm missing something? Thanks! Jake, I would highly recommend posting this question to the ColdBox and/or MXUnit groups (links below). You are almost guaranteed to get a much greater response from those than you will from CF-Talk. /0.02 I would offer a suggestion, but I'm honestly not exactly sure what you're trying to do, or specifically, what you're struggling with. But that might be just because I a) don't use any of the built-in model stuff, and b) don't really write controller unit tests. I write extensive tests on my model itself, but typically just browser test the controllers. HTH ~| 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:322457 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: table display: row number. without recordset
If you are looping, you can easily display the row number using the loop index. IE does not often recognize seudo-classes such as :first-child :before, etc. In fact, I think (might be wrong) that counter-increment is in a CSS version higher than IE knows. You can sometimes gain compliance in IE by changing your doctype to XHTML1.0 Strict (look up the exact syntax). This usually only works for me in IE7 though, version 6 doesn't provide much hope for the developer. Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -Original Message- From: Paul Ihrig [mailto:pih...@gmail.com] Sent: Monday, May 11, 2009 8:42 AM To: cf-talk Subject: table display: row number. without recordset i have a bit of css, that displays row number, excluding header. works in FF but note iE .. table { counter-reset: line-number; } td:first-child:before { content: counter(line-number) .; counter-increment: line-number; padding-right: 0.3em; } is there a way using coldfusion or JS/jquery to display the row number of a table? independent of a recordset... thanks -paul ~| 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:322374 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF CMS Opinions
Farcry has always been a great option for me. Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -Original Message- From: Brent Nicholas [mailto:brentnicho...@hotmail.com] Sent: Wednesday, May 06, 2009 11:19 AM To: cf-talk Subject: CF CMS Opinions Hi all, I'm looking at the following CMS systems. I don't need them to be super fancy, they just need to scale well and easy to use for end users. I'm curious about peoples thoughts, experiences, and hard lessons learned with them. I'm not looking for in depth responses, but more for tid bits that can raise awareness to issues that might not crop up until later or, most importantly help me assess these solutions with other people's experiences in mind. CMS's being reviewed: Speck CMS - http://www.speckcms.org/ Sava CMS - http://www.gosava.com/go/sava/ ColdBricks CMS - http://www.coldbricks.com/ FarCry CMS/Framework - http://www.farcrycore.org The CMS will be used to run a govt. public web site with moderate traffic. Thanks for your time and thoughts, Brent ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:37 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Regex - count of matches
I'm looking to get a count of the number of times a regex match can be found in a string. The best I can come up with is arrayLen(reMatch('expr','string')) which does work, but it seems like this approach is doing more work than it really needs to (I don't care about what the regex matched, I just want to know how many times a match was found). Anyone know of a more elegant solution to this? Thanks in advance! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321883 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
coldfusion framework - i forget the name...
I remember reading about a coldfusion framework out there - I quote framework because it was really more of a methodology. It was like 2 or 3 CFCs that laid out a fundamental OOP MVC framework, and I believe it was written by one of the fusebox authors if I remember right. I've tried googling, but I don't know enough about what I'm looking for to actually find it (keep hitting TONS of mach-ii, model-glue, fusebox, coldspring pages). Does anyone know what I'm talking about? :) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321561 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 framework - i forget the name...
Yes! Thanks! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321563 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cross browser CSS
Yes, it's possible. Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -Original Message- From: Scott Stewart [mailto:sstwebwo...@bellsouth.net] Sent: Friday, April 03, 2009 2:20 PM To: cf-talk Subject: cross browser CSS Hey all, Is it possible to combine Firefox, IE and Safari specific CSS into one stylesheet. The current assignment that I have has separate sheet sets for each browser. It's a pain in the neck to edit this. Thanks sas -- Scott Stewart ColdFusion Developer 4405 Oakshyre Way Raleigh, NC 27616 (h) 919.874.6229 (c) 703.220.2835 ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321304 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Button to support both IE and Firefox
Try swapping out lightgreen with the hex value of that color and add px after 150 and it'll probably work fine. -Original Message- From: Don L [mailto:do...@yahoo.com] Sent: Wednesday, April 01, 2009 11:16 AM To: cf-talk Subject: Button to support both IE and Firefox The following code for Button triggered download works with IE7 (hopefully IE6 8 as well) but not FireFox3, do you know how to make it supports both browsers? Getting rusty on this kind of stuff... Thanks. Don input type=button style=background-color:lightgreen;width=150 onclick=location.href='http://xyz.com/somefile.zip'; value= Download the File ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321175 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Button to support both IE and Firefox
I missed that but yes, width= should be width:. Here's the code that it should be: input type=button style=background-color:#HEXVAL;width:150px; onclick=window.location='http://xyz.com/somefile.zip'; value= Download the File HEXVAL should be the actual Hex value of the lightgreen color that you are looking for. -Original Message- From: BobSharp [mailto:bobsh...@ntlworld.com] Sent: Wednesday, April 01, 2009 11:05 AM To: cf-talk Subject: Re: Button to support both IE and Firefox input type=button style=background-color:lightgreen;width=150 onclick=location.href='http://xyz.com/somefile.zip'; value= Download the File two things I can see ... Should width= not be width: ? Does onclick need the semicolon ; ? - Original Message - From: Jake Churchill j...@cfwebtools.com To: cf-talk cf-talk@houseoffusion.com Sent: Wednesday, April 01, 2009 4:29 PM Subject: RE: Button to support both IE and Firefox Try swapping out lightgreen with the hex value of that color and add px after 150 and it'll probably work fine. -Original Message- From: Don L [mailto:do...@yahoo.com] Sent: Wednesday, April 01, 2009 11:16 AM To: cf-talk Subject: Button to support both IE and Firefox The following code for Button triggered download works with IE7 (hopefully IE6 8 as well) but not FireFox3, do you know how to make it supports both browsers? Getting rusty on this kind of stuff... Thanks. Don input type=button style=background-color:lightgreen;width=150 onclick=location.href='http://xyz.com/somefile.zip'; value= Download the File ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321181 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: (ot) about Vista
Windows_NT I'm running Vista Home Premium Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 Azadi Saryev wrote: 1 min of googling for 'vista echo %OS%' revealed: 1) that 'echo %OS%' returns Windows_NT on both XP and Vista 2) this bit if script: @echo off for /f tokens=3,4 %%a in ('ver') do set ver=%%a if %%b==6.0.6000 set ver=Vista Echo OS version is %ver% if %ver%==XP echo It is XP REM Adjust this line to what Ver reports. if %ver%==Vista echo it is Vista don't have vista (stay away!), so can't confirm #1 #2 was confirmed as working on ExpertsExchange (http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Batch/Q_22517996.html) Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Don L wrote: I need a quick favor from someone who has access to a Vista box. type echo %OS% from DOS prompt and let me know what you got. I'm a bad googler. Thanks. Don Chunshen Li ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320850 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4