RE: Image Saving
I'm fascinated by the my way or the highway content this subject tends to generate! lol I decided to store images for our in house dating site in the file system. My consideration was the bandwidth of the db handling images. We store about 1000 images currently (from about 4000 registered users). I also took this approach with a high quality (eye of the beholder?) photo share site I wrote (and dumped) a couple of years ago (which held all images in original format as well as thumbs), and am currently doing the same with shopping cart applications. Works for me :-) Jenny ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224946 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CF Hosting
Most of the web may be run of flinux server, but to date we have NEVER, NOT ONCE, had someone ask if we do Linux CF hosting. Every single customer/developer we have has developed on windows, and I can't imagine many cf developers running linux as their desktop OS. Russ -Original Message- From: Munson, Jacob [mailto:[EMAIL PROTECTED] Sent: 21 November 2005 15:29 To: CF-Talk Subject: RE: CF Hosting Never, we don't do linux as we are a windows house. The majority of people use windows anyway, especially for CF. I'll grant that most CF users use Windows, and even that most people use Windows. But in web servers it is a slim margin. Netcraft reports that ~71% of web servers run apache: http://survey.netcraft.com/Reports/200511/byserver/index.html I found an article that stated that 50% of Apache is on Linux: http://www.linuxplanet.com/linuxplanet/reports/6065/1/ IIS has ~20% of the web server market share (Netcraft). If you do the math, putting the Apache Windows installs together with the IIS installs, it adds up to 55% of the web servers in total. So, somewhere between 40-45% of the web is not on Windows (who knows what OS all the 'other' web servers are on?). The majority of the web is on Windows, but choosing to be a windows house, you are cutting out 40-45% of your potential market. If you had 10 customers come up to you tomorrow and ask for hosting, you'd have to turn away 4 or 5 of them because you don't offer Linux. From my experience, most of the hosts out there give their customers an option between Windows or Linux. Again, I realize that the large majority of CF sites are on Windows, so if you are focusing on CF hosting, then Windows is a good bet. :) - [INFO] -- Access Manager: This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A2 ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224948 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CSS table-type layout
Ray, Do yourself a favor. Check out sites on structural or semantic HTML. The idea being that HTML gives our content strucure and when you use the correct structure for your content (ie, tables for tabular data, H1...H5 for headings, lists for menus and other grouping of related items, fieldset and labels for forms, that these items give your site semantic meaning as well. Try this, get rid of your style sheets entirely for a moment and view your site. Ask yourself these questions? Can I understand the page without any external visual references? Does the page flow well? Can I get how items are related to each other? The other benefit to structural HTML is that your tags are then hooks to attach your CSS to. I have found that structural HTML makes it much easier for me to design CSS style sheets for rather than starting visually and making my HTML structure fit my CSS. I still use tables for tabular data. Heck, I even taught how to style tables in one of my talks at CFUNITED 06. Tables for tabular data are perfect, just remember to use proper HTML structure in them thead for headers tfoot for footers tbody for the body, colgroup and col to designate columns and their widths, th scope=cols for headers to relate your headers to your columns. Sandy Clark 4 Days Hands on CSS Class 11/29 - 12/2 Rockville, MD Held at Teratech http://www.teratech.com/training/oc_classes.cfm#CS201H -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 9:33 PM To: CF-Talk Subject: Re: CSS table-type layout All right, if Dave says use tables, then I'm using tables. :) Seriously, this is the way that I was leaning, and since I've written the email, I already have the page written in tables. I'm so much faster at that than css, just wanted to make sure that I was sane in my reasoning to use tables here. It was easy to fall back on the crutch. :) ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224947 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CF Hosting
Well there's one reason why I don't have any interest in doing Linux hosting, cozz your all snobs :-) But really, more hassle, more obnoxious customers, more support, for what? Less customers than will pay the salary of a Linux expert. As I said, we have had no customers ask for Linux, and as we only do CF, not PHP, then why bother. Russ -Original Message- From: Munson, Jacob [mailto:[EMAIL PROTECTED] Sent: 21 November 2005 16:15 To: CF-Talk Subject: RE: CF Hosting Very good points, Ken. However, for a hosting business, it is not hard to find a few Linux experts and open your doors to Linux hosters. In a one man shop, it is very smart to focus on your area of expertise. But businesses can take their revenues and expand into new areas if they chose to. As long as they keep the Linux guys separated from the Windows guys! ;) Personally, I have found at least 3 CF hosts that offered Linux. And those are the ones what are competing for my business (and others like me). The Windows only crowds will never get my business because I am a Linux snob (on the server side, I do use Windows for my desktop). If a Windows only host were to expand into Linux, they could try to undercut the current hosts with features and/or price and capture some of their market. Microsoft does this all the time. Take a look at Internet Explorer and the Xbox. Was the web browser and the gaming market an expertise for MS? No, but they wanted to make more money, so they decided to jump in. Currently IE has 85% of the web's market share. Xbox is in 2nd place in the console market (behind Sony), and I believe that the Xbox 360 will put them into first place (even though I am a Nintendo fan). I think it was well worth it for Microsoft expand their horizons. -Original Message- From: Ken Ferguson [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 9:01 AM To: CF-Talk Subject: Re: CF Hosting Still, sometimes it's more economically efficient to turn customers away than it is to offer something you won't be able to support as well. Sometimes it's very well worth it to concentrate on your areas of efficiency. If 10 potential customers approach me to build them an ecommerce app tomorrow, I'll have to turn several of them away because they'll want PHP or ASP. I'm sure I could deliver what they want in those languages, but it's not what I do and it's not what I want to do. It's not my area of maximum efficiency. It's therefore more prudent for me to turn away the non CF customers than to offer a choice of languages. Same thing as offering only Windows or only Linux... A lot of businesses have failed for trying to do things outside of their areas of efficiency--trying to do more than what they can do best. --Ferg [INFO] -- Access Manager: This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A2 ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224949 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Automated email
We allow that tag too at cfmxhosting, it's no big deal. We just check the cfadmin regularly to make sure people have not setup schedules at the same time as other people. Russ -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: 22 November 2005 02:22 To: CF-Talk Subject: Re: Automated email Good news - I can use the cfschedule tag ! Damn! Who's your host? ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224950 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: JavaScript Autofill
Thanks much Matthew and Bobby! The script works as I wanted. I need it to override whatever the user puts in there when the check the box and clear the fields when unchecked. -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 4:21 PM To: CF-Talk Subject: RE: JavaScript Autofill input type=checkbox onclick=if ( this.checked ) {copyData()}else{document.forms[0].reset();} If you have any other forms on the page BEFORE this form, increment forms[0] accordingly. ...:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 3:53 PM To: CF-Talk Subject: RE: JavaScript Autofill One more thing Matthew. What do I add to this code so that when I uncheck the box the values disappear as well?? -Original Message- From: Orlini, Robert Sent: Monday, November 21, 2005 3:49 PM To: 'cf-talk@houseoffusion.com' Subject: RE: JavaScript Autofill Perfect Matthew. Thanks. Got to brush up more on JavaScript. -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 3:35 PM To: CF-Talk Subject: RE: JavaScript Autofill You have two fields with the id lname. Generally, you should only use an id once per page. That JavaScript hurts my eyes so I haven't bothered trying to understand it. Are you trying to copy a set of values from a set of hidden fields to a set of visible fields? Something like this is low tech but very easy to understand script function copyData() { document.getElementById('field1').value = document.getElementById('default1').value; document.getElementById('field2').value = document.getElementById('default2').value; document.getElementById('field3').value = document.getElementById('default3').value; } /script form input type=hidden id=default1 value=Spare input type=hidden id=default2 value=Spare input type=hidden id=default3 value=Spare input type=checkbox onclick=if ( this.checked ) copyData() Field 1: input name=field1 type=text id=field1 Field 2: input name=field2 type=text id=field2 Field 3: input name=field3 type=text id=field3 /form -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: Tuesday, 22 November 2005 9:01 a.m. To: CF-Talk Subject: OT: JavaScript Autofill I have a JavaScript that I hoped would autofill some fields when a user clicks a checkbox, but it doesn't. I will admit I not a JavaScript programmer and copied and tweaked some code. The bold areas I edited to try to make it work but autofilling with the word spare, but it doesn't do anything. Anyone can help here please? Thanks in advance. script type=text/javascript language=javascript function setname(box) { var f = box.form, b_which = box.checked, from_el, to_el, i = 0; var fld_name = new Array('lname'); while (from_el = f[fld_name[i]]) { to_el = f[fld_name[i++]]; to_el.value = b_which ? from_el.value : ''; if (to_el.readOnly != null) to_el.readOnly = b_which ? true : false; else to_el.onfocus = b_which ? function() {this.blur(); } : null; } } /script form input name=lname type=hidden id=lname value=Spare input type=checkbox name=spare onclick=setname(this) Name: input name=lname type=text id=lname /form Robert O. at HWW -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.4/176 - Release Date: 11/20/2005 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224951 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Multi-tier affiliate program
HI Mike. I know AFF_Manager. I wrote a chunk of this program... I am not sure they are still selling copies but affmanager.com *if it looks like something you are interested in will contact owner ato try and get you a copy. kp -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 8:28 PM To: CF-Talk Subject: Multi-tier affiliate program Does anyone know of a multi-tier affiliate program written in CF? at least 2 tiers and preferably 3? Thanks ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224952 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Monitor CF Sever Directories
That is super. Thanks a bunch, Artur. jl On 11/22/05, Artur Kordowski [EMAIL PROTECTED] wrote: Hi John, to get total size, free space, files folders dates you can use the FileSystemObject CFC. It use the Windows COM API that makes you possible to get File System informations. You can download it here: http://download.newsight.de/FileSystemObject.zip A documentation is included. I hope it helps you. Cheers, Artur -Original Message- From: John Lucania [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 2:00 AM To: CF-Talk Subject: Monitor CF Sever Directories How do you monitors the files systems (total size vs free space and the name of files with date of created/modified, size, and extension in the directories) of all directories on all drives on the CF server? jl ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224954 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Why do I need a Custom Tag Path for Components?
Thanks to everyone. Here is one more question. If I call a component without fully qualifing it, what would be the expected outcome. For example, if I call a component like this: CreateObject(component, myComponent); And NOT like this: CreateObject(component, myCFC.myComponent); How will the component be located? Will ColdFusion search the mappings or the CustomTag Path, or both? From what I have learned, I would presume the following: 1. Search the local directory for the component myComponent.cfc). 2. Locate the component myComponent.cfc in the specified mapping. Since the component name is not fully qualified, then this will fail immediately and move to the next step. 3. Search the CustomTag Paths. Search each directory in the CustomTag Path and their subdirectories. Do I have this correct? -- Thanks, Troy ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224953 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Why do I need a Custom Tag Path for Components?
When people talk about the webroot, what are they referring to? Are they referring to the WebServer's web root, like in the case of IIS it might be C:\iis\wwwroot\ Or would this be another location unique to the ColdFusion Application Servers? Our ColdFusion Application Servers are configured with multiple instances of JRun/ColdFusionMX7. Would this mean that each ColdFusion Application Server would contain it's own webroot? Would this be the webroot for the ColdFusion Application Servers? D:\JRunServers\cfusion1-ear\cfusion1a-war D:\JRunServers\cfusion1-ear\cfusion1b-war D:\JRunServers\cfusion2-ear\cfusion2-war2 D:\JRunServers\cfusion3-ear\cfusion3-war3 D:\JRunServers\cfusion4-ear\cfusion4-war4 -- Thanks, Troy ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224955 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Using FoxPro in ColdFusion
Thanks Andy, I just fixed this, literally. As I started typing my test page popped up with the results I needed. I needed to change the user for the ColdFusion MX ODBC Server Service. I also changed the user for the ColdFusion MX Application Server and ColdFusion MX ODBC Agent services as well for consistency. Once I did that, I was able to access the FoxPro database, but it is slow across the WAN. I have to test the connection on a web server on the same subnet as the FoxPro data server. I'll let the group know how it turned out. Thanks again. Russel Madere Webmaster 504.832.9835 SunShine Pages by EATEL www.sunshinepages.com -Original Message- From: Andrew Tyrone [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 3:26 PM To: CF-Talk Subject: RE: Using FoxPro in ColdFusion [snip] It sounds like you used the Administrator account on the machine, which by default, if I remember correctly, has no network access rights. For testing, you can create a user, make them a member of Domain Admins, and run the service(s) under this account. I haven't used the full version of JRUN for probably 8 years, so I can't tell you what services need what permissions. --Andy ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224956 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CF Hosting
Most of the web may be run of flinux server, but to date we have NEVER, NOT ONCE, had someone ask if we do Linux CF hosting. There is a very good reason for that. You have a website. And from your website it is obvious you don't do Linux. I heard about you guys from someone a couple of weeks ago and went and checked your site. When I didn't see Linux, I went away. So very literally you lost me as a customer. I'm sure you guys are all very cool guys, and I'm sure your service is top notch, etc. But I don't do Windows web hosting, and there are millions of others like me according to the surveys/stats I've seen. But it's your choice, if you don't want to offer Linux hosting, that's fine. You'll still have a successful business, and people like me will be just as happy with our Linux hosts. - This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224957 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Oracle errors in ColdFusion 5
On Monday 21 November 2005 17:25, Scott Stewart wrote: Were getting an error in ColdFusion 5 that I'm stumped on. Do you have anything funny in your CF DSN settings ? What if you create a DSN from scratch ? What is the content of the cfquery tag ? -- Tom Chiverton Advanced ColdFusion Programmer ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224958 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CF Hosting
It's true... even though our servers are running windows, the only reason is that our apps need sql server. If I were to start fresh, I would design something that's linux compatible. We have several servers with crystaltech, and when we decided to add capacity and load balancing, they lost us, because a. they didn't support linux which we used for our dedicated mail server and b. they didn't support hardware load balancing which HMS threw in for free. I had asked crystaltech whether they do linux hosting, but only because I was already a customer and didn't want to leave if possible. If I was a new customer, I would've just looked at the website, seen that they don't offer linux hosting and let my fingers do the walking... Russ -Original Message- From: Munson, Jacob [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 10:46 AM To: CF-Talk Subject: RE: CF Hosting Most of the web may be run of flinux server, but to date we have NEVER, NOT ONCE, had someone ask if we do Linux CF hosting. There is a very good reason for that. You have a website. And from your website it is obvious you don't do Linux. I heard about you guys from someone a couple of weeks ago and went and checked your site. When I didn't see Linux, I went away. So very literally you lost me as a customer. I'm sure you guys are all very cool guys, and I'm sure your service is top notch, etc. But I don't do Windows web hosting, and there are millions of others like me according to the surveys/stats I've seen. But it's your choice, if you don't want to offer Linux hosting, that's fine. You'll still have a successful business, and people like me will be just as happy with our Linux hosts. - This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224959 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Why do I need a Custom Tag Path for Components?
When people talk about the webroot, what are they referring to? Are they referring to the WebServer's web root, like in the case of IIS it might be C:\iis\wwwroot\ Yes, that's what they're talking about. CF doesn't know anything about the web root, generally, although there may be a root mapping which corresponds to the web root in many cases. 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! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224960 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Why do I need a Custom Tag Path for Components?
If I call a component without fully qualifing it, what would be the expected outcome. For example, if I call a component like this: CreateObject(component, myComponent); And NOT like this: CreateObject(component, myCFC.myComponent); How will the component be located? Will ColdFusion search the mappings or the CustomTag Path, or both? Neither. It will assume that myComponent.cfc is in the same directory as the calling page. 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! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224961 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: form posting question
Evening, I have to submit a cfform with an input type of button, not submit. The cfform has a button which will delete the record displayed but I needed to put a warning alert up. Anyhow, I need to be able to tell the value of the button, the same thing as: cfif isdefined('form.submit') cfif form.submit eq 'Save' cfc call here /cfif /cfif but, using an input of type button. cfinput type=button name=buttonDelete value=Delete / How can I tell the value of this button on the action page? Thanks, Kiley it should be form.buttonDelete with a value of Delete. If any form object is named it goes into the form scope. You can always use the cfdump with the form scope to see what's in there. hth, larry -- Larry C. Lyons Web Analyst BEI Resources American Type Culture Collection email: llyons(at)atcc(dot)org tel: 703.365.2700.2678 -- ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224962 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: form posting question
I tried cfdump var=#form#, and my buttonDelete input field didn't exist in the struct. I guess you can't use that, at least I'm not sure how. But here's something I got to work: cfinput type=button name=buttonDelete value=Delete onclick=buttonDeleteValue.value='Delete' / input type=hidden name=buttonDeleteValue value= And then in your action page check the value of buttonDeleteValue. -Original Message- From: Kiley Simpson [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 8:10 PM To: CF-Talk Subject: form posting question Evening, I have to submit a cfform with an input type of button, not submit. The cfform has a button which will delete the record displayed but I needed to put a warning alert up. Anyhow, I need to be able to tell the value of the button, the same thing as: cfif isdefined('form.submit') cfif form.submit eq 'Save' cfc call here /cfif /cfif but, using an input of type button. cfinput type=button name=buttonDelete value=Delete / How can I tell the value of this button on the action page? Thanks, Kiley ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224963 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: form posting question
I tried cfdump var=#form#, and my buttonDelete input field didn't exist in the struct. The value for an INPUT with TYPE=button is not passed to the action page. This INPUT type is really just intended as a place from which you can attach JavaScript event handlers. 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! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224964 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Parsing XML with ? xml:stylesheet ...
I've got some xml files that have the following header before the main data: ?xml version=1.0 ? ?xml:stylesheet type=text/xsl href=supplier.xsl ? !DOCTYPE purchaseorder SYSTEM supplier.dtd All of this is valid and is parsed by the client's supplier and xmlparse() will happily parse this, but only if I remove the ?xml:stylesheet ... ? tag. Should xmlparse() be able to handle this? If it can't, any suggestions on how I can parse this without having to hack apart the xml? Regards Stephen ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224965 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Parsing XML with ? xml:stylesheet ...
I've got some xml files that have the following header before the main data: ?xml version=1.0 ? ?xml:stylesheet type=text/xsl href=supplier.xsl ? !DOCTYPE purchaseorder SYSTEM supplier.dtd All of this is valid and is parsed by the client's supplier and xmlparse() will happily parse this, but only if I remove the ?xml:stylesheet ... ? tag. I don't think it's valid, actually. I think the syntax for linking to a stylesheet is xml-stylesheet, not xml:stylesheet. The colon is used for namespace prefixes. http://www.w3.org/TR/xml-stylesheet/ 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! ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224966 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Question regarding closing tags
I have noticed in many code samples that I see/learn from, the use of a forward-slash in this fashion cfset variables.myVar = someValue / I understand that this represents that this particular tag has no closing tag. Is this a habit I should adopt in my coding and if so, should I use this syntax on every cf tag that does have its respective closing tag. For example, the cfparam tag cfparam name=scope.myVar default= / thanks in advance charlie Charlie Hanlon Web Apps Developer Food Service Enablers, Inc. www.fsenablers.com The People. The Platform. The Products. Make the Difference ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224967 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Question regarding closing tags
I have noticed in many code samples that I see/learn from, the use of a forward-slash in this fashion cfset variables.myVar = someValue / I understand that this represents that this particular tag has no closing tag. Is this a habit I should adopt in my coding and if so, should I use this syntax on every cf tag that does have its respective closing tag. This is a habit a lot of folks have from playing with a lot of XML and/or valid XHTML. It is not in the CF syntax, but I haven't ever seen ColdFusion barf because of it. CFEclipse doesn't like it sometimes (syntax hilighting problems). Personally, I think it's a waste of time. :) [INFO] -- Access Manager: This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A2 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224968 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Question regarding closing tags
It's pure preference. Some people like it because it maintains consistency in their markup (XHTML tags are self-closing, so apply the same technique to your CFML tags). It has no impact (good or bad) on performance (that I'm aware of). It's neither right nor wrong to do it or not to do it. I like it. Others don't. It's completely a matter of whatever floats yer boat :) On 11/22/05, Charlie Hanlon [EMAIL PROTECTED] wrote: I have noticed in many code samples that I see/learn from, the use of a forward-slash in this fashion cfset variables.myVar = someValue / I understand that this represents that this particular tag has no closing tag. Is this a habit I should adopt in my coding and if so, should I use this syntax on every cf tag that does have its respective closing tag. For example, the cfparam tag cfparam name=scope.myVar default= / thanks in advance charlie Charlie Hanlon Web Apps Developer Food Service Enablers, Inc. www.fsenablers.com The People. The Platform. The Products. Make the Difference ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224969 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Parsing XML with ? xml:stylesheet ...
I've got some xml files that have the following header I don't think it's valid, actually. I think the syntax for linking to a stylesheet is xml-stylesheet, not xml:stylesheet. The colon is used for namespace prefixes. http://www.w3.org/TR/xml-stylesheet/ Cheers Dave. That is exactly the problem! Never trust that someone else is actually doing these things correctly! lol Many Thanks Stephen ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224970 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Question regarding closing tags
You will have to watch out for Custom tags and CFModule, as closing the tag this way will execute the file twice On 22/11/05, Charlie Griefer [EMAIL PROTECTED] wrote: It's pure preference. Some people like it because it maintains consistency in their markup (XHTML tags are self-closing, so apply the same technique to your CFML tags). It has no impact (good or bad) on performance (that I'm aware of). It's neither right nor wrong to do it or not to do it. I like it. Others don't. It's completely a matter of whatever floats yer boat :) On 11/22/05, Charlie Hanlon [EMAIL PROTECTED] wrote: I have noticed in many code samples that I see/learn from, the use of a forward-slash in this fashion cfset variables.myVar = someValue / I understand that this represents that this particular tag has no closing tag. Is this a habit I should adopt in my coding and if so, should I use this syntax on every cf tag that does have its respective closing tag. For example, the cfparam tag cfparam name=scope.myVar default= / thanks in advance charlie Charlie Hanlon Web Apps Developer Food Service Enablers, Inc. www.fsenablers.com The People. The Platform. The Products. Make the Difference ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224971 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: form posting question
I found the same thing, dumping the form variables shows the button isn't there. I would like to have two buttons (for lack of a better word) on the same cfform. One being Save and the other Delete. The page posts to itself and I would like to detect which button was clicked, the run the appropriate cfc. If I include another hidden input, it will detect it even though it wasn't clicked. Ultimately, I need a method to alert the user he/she has clicked delete. The only way I found is to use a button and it's onClick. In javascript, it's pretty straightforward and easy. Actionscript and form handlers, to me, is much trickier. asfusion has lots of examples but none with form posts. Has anyone run into this? -- cfform format=flash - alert the user before the form posts. At 09:22 AM 11/22/2005, you wrote: I tried cfdump var=#form#, and my buttonDelete input field didn't exist in the struct. I guess you can't use that, at least I'm not sure how. But here's something I got to work: cfinput type=button name=buttonDelete value=Delete onclick=buttonDeleteValue.value='Delete' / input type=hidden name=buttonDeleteValue value= And then in your action page check the value of buttonDeleteValue. -Original Message- From: Kiley Simpson [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 8:10 PM To: CF-Talk Subject: form posting question Evening, I have to submit a cfform with an input type of button, not submit. The cfform has a button which will delete the record displayed but I needed to put a warning alert up. Anyhow, I need to be able to tell the value of the button, the same thing as: cfif isdefined('form.submit') cfif form.submit eq 'Save' cfc call here /cfif /cfif but, using an input of type button. cfinput type=button name=buttonDelete value=Delete / How can I tell the value of this button on the action page? Thanks, Kiley ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224972 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: form posting question
ug, that's bad news. I think I will have to abandon cfforms format=flash. Warning before a delete is such a common thing to do I can't really tell my customer to, just be careful. I wish macromedia would address this very common and, should be, simple operation. At 09:27 AM 11/22/2005, you wrote: I tried cfdump var=#form#, and my buttonDelete input field didn't exist in the struct. The value for an INPUT with TYPE=button is not passed to the action page. This INPUT type is really just intended as a place from which you can attach JavaScript event handlers. 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! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224973 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
unbelievable flash form problem
I'm not even sure what to say about this, or how anyone else can replicate it. I've got a flash form with a bunch of different elements. It has two buttons. I was styling one button, got it looking how I wanted and copied the style to the other button. reload the browser: Nothing wtf? tried again, same result wtf? copied and renamed the good button to below the problem button, changed the onclick to be the same. Now I have two buttons where I wanted one, but at least the second looks right. thats good tried to comment out the problem button, reload the browser: nothing wtf? uncomment it, form loads 2 buttons try deleting it, reload the browser: nothing wtf! restart coldfusion... same problem rename the file... same problem wtf! anyone got any ideas? it hasn't been a good morning Anthony ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224974 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: unbelievable flash form problem
May or may not be part of your problem but when dealing with any flash, I always set my browsers to not cache anything so I know I'm always looking at the latest file. ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Anthony Prato [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 12:13 PM To: CF-Talk Subject: unbelievable flash form problem I'm not even sure what to say about this, or how anyone else can replicate it. I've got a flash form with a bunch of different elements. It has two buttons. I was styling one button, got it looking how I wanted and copied the style to the other button. reload the browser: Nothing wtf? tried again, same result wtf? copied and renamed the good button to below the problem button, changed the onclick to be the same. Now I have two buttons where I wanted one, but at least the second looks right. thats good tried to comment out the problem button, reload the browser: nothing wtf? uncomment it, form loads 2 buttons try deleting it, reload the browser: nothing wtf! restart coldfusion... same problem rename the file... same problem wtf! anyone got any ideas? it hasn't been a good morning Anthony ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224975 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Can I Remove These Hotfixes?
So I've been having a huge headache trying to figure out why our production cluster won't replicate sessions correctly while our internal cluster rolls along when a member is removed. We are currently running CF 6,1,0,83762 (Enterpise Edition), which is officially the ColdFusion MX 6.1 Updater. In doing a diff between our internal happy system and our external ticked off system, I noticed some hotfixes in the WEB-INF/cfusion/lib directory that look like they shouldn't be there. Internally, we have: WEB-INF/cfusion/lib/hf53685_61.jar WEB-INF/cfusion/lib/hf52806_61.jar In production, we have: WEB-INF/cfusion/lib/hf53685_61.jar WEB-INF/cfusion/lib/hf52806_61.jar WEB-INF/cfusion/lib/hf53566_61.jar Note the hf53566_61.jar difference, which is a web service headers hotfix -- nothing session scope related. My question overall is whether or not the _61.jar files even need to be in there anymore, seeing as I'm technically on _611? Can I remove any hotfix that ends in _61.jar from my system or does the 6.1.1 updater lay down *_61.jar files as part of the install process? And should only the _611.jar files be deployed with the 83762 version? Regards, Dave. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224976 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: unbelievable flash form problem
Have you checked both buttons aren't the same name? At 10:13 AM 11/22/2005, you wrote: I'm not even sure what to say about this, or how anyone else can replicate it. I've got a flash form with a bunch of different elements. It has two buttons. I was styling one button, got it looking how I wanted and copied the style to the other button. reload the browser: Nothing wtf? tried again, same result wtf? copied and renamed the good button to below the problem button, changed the onclick to be the same. Now I have two buttons where I wanted one, but at least the second looks right. thats good tried to comment out the problem button, reload the browser: nothing wtf? uncomment it, form loads 2 buttons try deleting it, reload the browser: nothing wtf! restart coldfusion... same problem rename the file... same problem wtf! anyone got any ideas? it hasn't been a good morning Anthony ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224977 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: unbelievable flash form problem
Another thing I've noticed about flash forms. You have to be careful where you put your comments. Eg... dont do something like... cfgrid !---my comment--- query= etc... / ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 12:20 PM To: CF-Talk Subject: RE: unbelievable flash form problem May or may not be part of your problem but when dealing with any flash, I always set my browsers to not cache anything so I know I'm always looking at the latest file. ...:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Anthony Prato [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 12:13 PM To: CF-Talk Subject: unbelievable flash form problem I'm not even sure what to say about this, or how anyone else can replicate it. I've got a flash form with a bunch of different elements. It has two buttons. I was styling one button, got it looking how I wanted and copied the style to the other button. reload the browser: Nothing wtf? tried again, same result wtf? copied and renamed the good button to below the problem button, changed the onclick to be the same. Now I have two buttons where I wanted one, but at least the second looks right. thats good tried to comment out the problem button, reload the browser: nothing wtf? uncomment it, form loads 2 buttons try deleting it, reload the browser: nothing wtf! restart coldfusion... same problem rename the file... same problem wtf! anyone got any ideas? it hasn't been a good morning Anthony ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224978 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: unbelievable flash form problem
Anthony Prato wrote: anyone got any ideas? turn on flash debugging. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224979 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Multi-tier affiliate program
Mary Jo, who frequents this list, wrote cfwebstore, which has a built-in affiliate program, although I'm not sure of how may tiers, maybe she might have something for you Naw, it's a pretty basic one, just one tier. And definitely is not intended to be used as a stand-alone apart from the product. I might integrate something more sophisticated at some point, but it's not one of the more commonly requested things. -- Mary Jo Sminkey http://www.cfwebstore.com ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224980 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Shopping Cart - Coupon/Discount
i am a bit stumped as to whether i should be looking at one set of tables to handle all the options above, or whether i should create to distinct sets to handle either a discount scenario or a free product scenario. From my own experience, I would say to go with a different set of tables/settings. One for discounts and one for promotions (free items). You could certainly try to do it in one table, but the information you need for each of these, and the calculations involved are somewhat different. -- Mary Jo Sminkey http://www.cfwebstore.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224981 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Question regarding closing tags
It can affect custom tags that dont check for the execution mode at the beginning of the tag. Eg... cf_mytag / and cf_mytag will act differently (on 6.1 at least) if the custom tag doesnt check the executionmode. If you notice a problem (like the tag appears to execute twice) Just throw this in the top of the tag... cfif thistag.executionMode NEQ start cfexit method=exittag / /cfif And you will be able to use either the / or the with no problems. ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 11:51 AM To: CF-Talk Subject: Re: Question regarding closing tags It's pure preference. Some people like it because it maintains consistency in their markup (XHTML tags are self-closing, so apply the same technique to your CFML tags). It has no impact (good or bad) on performance (that I'm aware of). It's neither right nor wrong to do it or not to do it. I like it. Others don't. It's completely a matter of whatever floats yer boat :) On 11/22/05, Charlie Hanlon [EMAIL PROTECTED] wrote: I have noticed in many code samples that I see/learn from, the use of a forward-slash in this fashion cfset variables.myVar = someValue / I understand that this represents that this particular tag has no closing tag. Is this a habit I should adopt in my coding and if so, should I use this syntax on every cf tag that does have its respective closing tag. For example, the cfparam tag cfparam name=scope.myVar default= / thanks in advance charlie Charlie Hanlon Web Apps Developer Food Service Enablers, Inc. www.fsenablers.com The People. The Platform. The Products. Make the Difference ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224982 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: easy cfgrid question
It's not empty. The email value is visible on the grid. -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 7:35 PM To: CF-Talk Subject: RE: easy cfgrid question Because your email field is empty maybe? Try alert(Enter an email address); instead ...:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Nick Han [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 10:01 PM To: CF-Talk Subject: RE: easy cfgrid question Bobby, I am getting a blank value in the alert box with either alert(employee_grid.dataProvider[employee_grid.selectedIndex]['user_emai l'].text); or alert(employee_grid.dataProvider[employee_grid.selectedIndex]['user_emai l']); I don't see the value passed from the cfgrid. -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 6:49 PM To: CF-Talk Subject: RE: easy cfgrid question cfsavecontent variable=onchange if (employee_grid.dataProvider[employee_grid.selectedIndex]['user_email'] == '') { alert('Please enter an email address'); } /cfsavecontent cfform name=GridForm action=cfgrid3.cfm format=flash timeout=200 cfgrid name=employee_grid query=empdata selectmode=edit insert=yes delete=yes rowheaders=no format=flash height=200 onchange=#onchange# / br cfinput type=Submit name=test value=Submit /cfform This is just an example, its not going to work for what you are trying to do. You wont want to do it on change but rather submit and youll want to loop over all of the dataprovider checkin the emails, not just a specific one. But this should give you a good idea of how to reference them. Hope it helps. (I also couldn't think of the length check function in flash but youll want atleast that rather than == '') .:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224983 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Can I Remove These Hotfixes?
If you have applied an updater that has those fixes, then u can delete the files and remove them form the class path -Original Message- From: Dave Carabetta [mailto:[EMAIL PROTECTED] Sent: 22 November 2005 17:21 To: CF-Talk Subject: Can I Remove These Hotfixes? So I've been having a huge headache trying to figure out why our production cluster won't replicate sessions correctly while our internal cluster rolls along when a member is removed. We are currently running CF 6,1,0,83762 (Enterpise Edition), which is officially the ColdFusion MX 6.1 Updater. In doing a diff between our internal happy system and our external ticked off system, I noticed some hotfixes in the WEB-INF/cfusion/lib directory that look like they shouldn't be there. Internally, we have: WEB-INF/cfusion/lib/hf53685_61.jar WEB-INF/cfusion/lib/hf52806_61.jar In production, we have: WEB-INF/cfusion/lib/hf53685_61.jar WEB-INF/cfusion/lib/hf52806_61.jar WEB-INF/cfusion/lib/hf53566_61.jar Note the hf53566_61.jar difference, which is a web service headers hotfix -- nothing session scope related. My question overall is whether or not the _61.jar files even need to be in there anymore, seeing as I'm technically on _611? Can I remove any hotfix that ends in _61.jar from my system or does the 6.1.1 updater lay down *_61.jar files as part of the install process? And should only the _611.jar files be deployed with the 83762 version? Regards, Dave. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224984 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: unbelievable flash form problem
Another thing I've noticed about flash forms. You have to be careful where you put your comments. Eg... don't do something like... cfgrid !---my comment--- query= etc... / While I haven't tried that, I wouldn't expect it to work in regular CF code - you can't put one CFML tag within another tag. 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! ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224985 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Can I Remove These Hotfixes?
On 11/22/05, Snake [EMAIL PROTECTED] wrote: If you have applied an updater that has those fixes, then u can delete the files and remove them form the class path Well yeah, I figured that. I was more wondering if it's safe to say that *any* hotfix with a *_61.jar name can be removed if MX 6.1 Updater 1 (version 83762) is sucessfully installed. That's a bit easier than fishing through the release notes for each one. Regards, Dave. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224986 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: unbelievable flash form problem
Ok, debugging is on now, it gets more wierd... here are the buttons: - cfinput type=button name=filterIt value=Apply Filter onclick=getHistoryData(); cfinput type=button name=thissucks value=Apply Filter onclick=getHistoryData(); style=cornerRadius: 0; borderThickness: 0; color: ##44; -- the bottom is the one styled how I like. I've given up on commenting out, I am just trying to delete the first button (remember it works fine with both) I get the flash debugging message: --- 1 Error found. Error Branch between 6380 and 39329 around line 0 exceeds 32K span. If possible, please refactor this component. not sure what i'm supposed to do with that now :) I just don't see how deleteing something could increase the size of the form. CRTL+Z and the form loads again. UPDATE! it gets better! I am now able to copy the style to the first button, but now when I delete either I get the message above. -soon to be bald On 11/22/05, Paul Hastings [EMAIL PROTECTED] wrote: Anthony Prato wrote: anyone got any ideas? turn on flash debugging. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224987 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: easy cfgrid question
I apparently pasted the wrong code (although there is not much difference between it and this) since my alert() is different here... but this is what I have up and running fine... cfset empdata = querynew(user_last_name,user_first_name,user_email) / cfset queryaddrow(empdata) / cfset querysetcell(empdata, user_first_name, Bobby) / cfset querysetcell(empdata, user_last_name, Hartsfield) / cfset querysetcell(empdata, user_email, [EMAIL PROTECTED]) / cfset queryaddrow(empdata) / cfset querysetcell(empdata, user_first_name, Bobby) / cfset querysetcell(empdata, user_last_name, Hartsfield) / cfset querysetcell(empdata, user_email, [EMAIL PROTECTED]) / cfsavecontent variable=onchange if(employee_grid.dataProvider[employee_grid.selectedIndex]['user_email']=='' ) { alert('Please enter an email address'); } /cfsavecontent cfform name=GridForm action=cfgrid3.cfm format=flash timeout=200 cfgrid name=employee_grid query=empdata selectmode=edit insert=yes delete=yes rowheaders=no format=flash height=200 onchange=#onchange# / br cfinput type=Submit name=test value=Submit /cfform When you change selections, the SELECTED index's user_email is checked against '' **be sure to check for wrapping of the if(){} statement caused by email reformatting** It should be 4 lines...wrapping it will cause it to fail. if() { alert(); } Dont mind the query object above the first cfsavecontent tag... its just a mock up query rather than making a real database/table. ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Nick Han [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 12:39 PM To: CF-Talk Subject: RE: easy cfgrid question It's not empty. The email value is visible on the grid. -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 7:35 PM To: CF-Talk Subject: RE: easy cfgrid question Because your email field is empty maybe? Try alert(Enter an email address); instead :.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Nick Han [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 10:01 PM To: CF-Talk Subject: RE: easy cfgrid question Bobby, I am getting a blank value in the alert box with either alert(employee_grid.dataProvider[employee_grid.selectedIndex]['user_emai l'].text); or alert(employee_grid.dataProvider[employee_grid.selectedIndex]['user_emai l']); I don't see the value passed from the cfgrid. -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 6:49 PM To: CF-Talk Subject: RE: easy cfgrid question cfsavecontent variable=onchange if (employee_grid.dataProvider[employee_grid.selectedIndex]['user_email'] == '') { alert('Please enter an email address'); } /cfsavecontent cfform name=GridForm action=cfgrid3.cfm format=flash timeout=200 cfgrid name=employee_grid query=empdata selectmode=edit insert=yes delete=yes rowheaders=no format=flash height=200 onchange=#onchange# / br cfinput type=Submit name=test value=Submit /cfform This is just an example, its not going to work for what you are trying to do. You wont want to do it on change but rather submit and youll want to loop over all of the dataprovider checkin the emails, not just a specific one. But this should give you a good idea of how to reference them. Hope it helps. (I also couldn't think of the length check function in flash but youll want atleast that rather than == '') ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224988 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Question regarding closing tags
yeah, pre-MX (CF 5), cfdump var=#foo# / would dump twice since it was implemented as a (built in) custom tag :) but good point, definitely worth pointing out. On 11/22/05, JediHomer [EMAIL PROTECTED] wrote: You will have to watch out for Custom tags and CFModule, as closing the tag this way will execute the file twice On 22/11/05, Charlie Griefer [EMAIL PROTECTED] wrote: It's pure preference. Some people like it because it maintains consistency in their markup (XHTML tags are self-closing, so apply the same technique to your CFML tags). It has no impact (good or bad) on performance (that I'm aware of). It's neither right nor wrong to do it or not to do it. I like it. Others don't. It's completely a matter of whatever floats yer boat :) On 11/22/05, Charlie Hanlon [EMAIL PROTECTED] wrote: I have noticed in many code samples that I see/learn from, the use of a forward-slash in this fashion cfset variables.myVar = someValue / I understand that this represents that this particular tag has no closing tag. Is this a habit I should adopt in my coding and if so, should I use this syntax on every cf tag that does have its respective closing tag. For example, the cfparam tag cfparam name=scope.myVar default= / thanks in advance charlie Charlie Hanlon Web Apps Developer Food Service Enablers, Inc. www.fsenablers.com The People. The Platform. The Products. Make the Difference ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224989 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: unbelievable flash form problem
I'd also like to add that the entire file, html and all is only 15k. I deleted both buttons listed before and replaced them with an unstyled button. Then I copied/renamed the unstyled button 20 times. The move loads fine with all 20 buttons but breaks again if I try to add a style to any of them. below the bottons I put a formgroup=panel with a ton of styles and the form still loads fine. It's only styling the buttons when I have a problem. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224992 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Can I Remove These Hotfixes?
On 11/22/05, Dave Carabetta [EMAIL PROTECTED] wrote: On 11/22/05, Snake [EMAIL PROTECTED] wrote: If you have applied an updater that has those fixes, then u can delete the files and remove them form the class path Well yeah, I figured that. I was more wondering if it's safe to say that *any* hotfix with a *_61.jar name can be removed if MX 6.1 Updater 1 (version 83762) is sucessfully installed. That's a bit easier than fishing through the release notes for each one. Just as a quick follow-up, I realized that the hf*.jar files in the WEB-INF/cfusion/lib directory should really be in the jrun4/servers/lib directory. That being said, I'll leave out there the question as to whether *_61.jar files are even needed anymore if running on 6.1 Updater 1. Regards, Dave. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224993 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: form posting question
Why are you checking the value for the buttonDelete form element in the first place??? Surely you're not using more than one button with that same name are you? I tried cfdump var=#form#, and my buttonDelete input field didn't exist in the struct ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224991 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: unbelievable flash form problem
I havent tried it either, but I've noticed it fails from seeing other people try it recently ;) ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 12:45 PM To: CF-Talk Subject: RE: unbelievable flash form problem Another thing I've noticed about flash forms. You have to be careful where you put your comments. Eg... don't do something like... cfgrid !---my comment--- query= etc... / While I haven't tried that, I wouldn't expect it to work in regular CF code - you can't put one CFML tag within another tag. 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! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224990 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: unbelievable flash form problem
While I haven't tried that, I wouldn't expect it to work in regular CF code - you can't put one CFML tag within another tag. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Later versions of CF do allow comments inside tags. This allows the selective switching on and off of parameters which I have found useful in debugging on occasion. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224994 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: easy cfgrid question
Bobby, I had this all along, alert(employee_grid.dataProvider[employee_grid.selectedIndex]['User_Emai l']). Flash displayed the field data file but when used ActionScript to reference fields, it's case-sensitiveshould have known..haha. Thanks. -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 9:58 AM To: CF-Talk Subject: RE: easy cfgrid question I apparently pasted the wrong code (although there is not much difference between it and this) since my alert() is different here... but this is what I have up and running fine... cfset empdata = querynew(user_last_name,user_first_name,user_email) / cfset queryaddrow(empdata) / cfset querysetcell(empdata, user_first_name, Bobby) / cfset querysetcell(empdata, user_last_name, Hartsfield) / cfset querysetcell(empdata, user_email, [EMAIL PROTECTED]) / cfset queryaddrow(empdata) / cfset querysetcell(empdata, user_first_name, Bobby) / cfset querysetcell(empdata, user_last_name, Hartsfield) / cfset querysetcell(empdata, user_email, [EMAIL PROTECTED]) / cfsavecontent variable=onchange if(employee_grid.dataProvider[employee_grid.selectedIndex]['user_email'] =='' ) { alert('Please enter an email address'); } /cfsavecontent cfform name=GridForm action=cfgrid3.cfm format=flash timeout=200 cfgrid name=employee_grid query=empdata selectmode=edit insert=yes delete=yes rowheaders=no format=flash height=200 onchange=#onchange# / br cfinput type=Submit name=test value=Submit /cfform When you change selections, the SELECTED index's user_email is checked against '' **be sure to check for wrapping of the if(){} statement caused by email reformatting** It should be 4 lines...wrapping it will cause it to fail. if() { alert(); } Don't mind the query object above the first cfsavecontent tag... its just a mock up query rather than making a real database/table. ...:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Nick Han [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 12:39 PM To: CF-Talk Subject: RE: easy cfgrid question It's not empty. The email value is visible on the grid. -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 7:35 PM To: CF-Talk Subject: RE: easy cfgrid question Because your email field is empty maybe? Try alert(Enter an email address); instead .:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Nick Han [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 10:01 PM To: CF-Talk Subject: RE: easy cfgrid question Bobby, I am getting a blank value in the alert box with either alert(employee_grid.dataProvider[employee_grid.selectedIndex]['user_emai l'].text); or alert(employee_grid.dataProvider[employee_grid.selectedIndex]['user_emai l']); I don't see the value passed from the cfgrid. -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 6:49 PM To: CF-Talk Subject: RE: easy cfgrid question cfsavecontent variable=onchange if (employee_grid.dataProvider[employee_grid.selectedIndex]['user_email'] == '') { alert('Please enter an email address'); } /cfsavecontent cfform name=GridForm action=cfgrid3.cfm format=flash timeout=200 cfgrid name=employee_grid query=empdata selectmode=edit insert=yes delete=yes rowheaders=no format=flash height=200 onchange=#onchange# / br cfinput type=Submit name=test value=Submit /cfform This is just an example, its not going to work for what you are trying to do. You wont want to do it on change but rather submit and youll want to loop over all of the dataprovider checkin the emails, not just a specific one. But this should give you a good idea of how to reference them. Hope it helps. (I also couldn't think of the length check function in flash but youll want atleast that rather than == '') ...:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224995 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
SOLVED Re: unbelievable flash form problem
well sort of solved, more like hacked found this post saying something about flex making wierd compile decisions and one solution is to add a bunch of junk code http://groups.google.com/group/macromedia.flex.general_discussion/browse_thread/thread/a12575ea5ea1c758/506b79e825fe4116?lnk=stq=around+line+0+exceeds+32K+spanrnum=2hl=en#506b79e825fe4116 so that is what I did and it works fine, i now have 1 styled button followed by a bunch of junk code On 11/22/05, Anthony Prato [EMAIL PROTECTED] wrote: I'd also like to add that the entire file, html and all is only 15k. I deleted both buttons listed before and replaced them with an unstyled button. Then I copied/renamed the unstyled button 20 times. The move loads fine with all 20 buttons but breaks again if I try to add a style to any of them. below the bottons I put a formgroup=panel with a ton of styles and the form still loads fine. It's only styling the buttons when I have a problem. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224996 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Shopping Cart - Coupon/Discount
Thanks mary, I think this is the way I will head - 2 different table setups. mike -Original Message- From: Mary Jo Sminkey [mailto:[EMAIL PROTECTED] Sent: Wednesday, 23 November 2005 5:37 a.m. To: CF-Talk Subject: Re: Shopping Cart - Coupon/Discount i am a bit stumped as to whether i should be looking at one set of tables to handle all the options above, or whether i should create to distinct sets to handle either a discount scenario or a free product scenario. From my own experience, I would say to go with a different set of tables/settings. One for discounts and one for promotions (free items). You could certainly try to do it in one table, but the information you need for each of these, and the calculations involved are somewhat different. -- Mary Jo Sminkey http://www.cfwebstore.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224997 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: easy cfgrid question
cfformitem type=script function doubleCheck(){ var msg = 'The massage you want to display'; var alertSettings:Object = {title:'Warning!', message: msg, headerHeight:27, x: 60, y: 10} errorpopup = mx.managers.PopUpManager.createPopUp(this, FormErrorException, true, alertSettings); } /cfformitem and in the grid onchange=(employee_grid.selectedItem.email == '') ? doubleCheck() : Void; If you are using the CF7.0.1 it would work fine if not change the cfformitem to a save content and do the test in the savecontent code something like this: cfsavecontent variable=onchange if (employee_grid.selectedItem.email == '') { var msg = 'The massage you want to display'; var alertSettings:Object = {title:'Warning!', message: msg, headerHeight:27, x: 60, y: 10} errorpopup = mx.managers.PopUpManager.createPopUp(this, FormErrorException, true, alertSettings); } /cfsavecontent and in the grid onchange=#onchange# On 11/22/05, Nick Han [EMAIL PROTECTED] wrote: It's not empty. The email value is visible on the grid. -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 7:35 PM To: CF-Talk Subject: RE: easy cfgrid question Because your email field is empty maybe? Try alert(Enter an email address); instead ...:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Nick Han [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 10:01 PM To: CF-Talk Subject: RE: easy cfgrid question Bobby, I am getting a blank value in the alert box with either alert(employee_grid.dataProvider[employee_grid.selectedIndex]['user_emai l'].text); or alert(employee_grid.dataProvider[employee_grid.selectedIndex]['user_emai l']); I don't see the value passed from the cfgrid. -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 6:49 PM To: CF-Talk Subject: RE: easy cfgrid question cfsavecontent variable=onchange if (employee_grid.dataProvider[employee_grid.selectedIndex]['user_email'] == '') { alert('Please enter an email address'); } /cfsavecontent cfform name=GridForm action=cfgrid3.cfm format=flash timeout=200 cfgrid name=employee_grid query=empdata selectmode=edit insert=yes delete=yes rowheaders=no format=flash height=200 onchange=#onchange# / br cfinput type=Submit name=test value=Submit /cfform This is just an example, its not going to work for what you are trying to do. You wont want to do it on change but rather submit and youll want to loop over all of the dataprovider checkin the emails, not just a specific one. But this should give you a good idea of how to reference them. Hope it helps. (I also couldn't think of the length check function in flash but youll want atleast that rather than == '') .:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224998 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Serving .htm as cfm on linux
I am trying to set up a way to serve .htm pages as cfm pages. The why is not important, that is what I want to do. I am running CF 7 on Suse 9.3 and Apache 2. I was hoping I could just change the AddHandler option and add .htm to the list. When I do that I get: [an error occurred while processing this directive] The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script. [an error occurred while processing this directive] and this shows up in the apache log: [Tue Nov 22 10:59:43 2005] [notice] jrApache[14208: 13243] could not open /opt/coldfusionmx7/runtime/lib/wsconfig/2/jrunserver.store: Permission denied [Tue Nov 22 10:59:43 2005] [error] [client 70.244.170.77] Directory index forbidden by rule: /srv/www/htdocs/portal/web/ [Tue Nov 22 10:59:43 2005] [notice] jrApache[14208: 13243] JRun will not accept request. Check JRun web server configuration and JRun mappings on JRun server. [Tue Nov 22 10:59:43 2005] [error] [client 70.244.170.77] unable to include include/top.html in parsed file /usr/share/apache2/error/ HTTP_FORBIDDEN.html.var [Tue Nov 22 10:59:43 2005] [notice] jrApache[14208: 13243] JRun will not accept request. Check JRun web server configuration and JRun mappings on JRun server. [Tue Nov 22 10:59:43 2005] [error] [client 70.244.170.77] unable to include include/bottom.html in parsed file /usr/share/apache2/error/ HTTP_FORBIDDEN.html.var I have been banging my head against this for several hours and google hasn't revealed any insight. Anyone out there have any? Thanks in advance, Dave LoadModule jrun_module /opt/coldfusionmx7/runtime/lib/wsconfig/2/ mod_jrun20.so IfModule mod_jrun20.c JRunConfig Verbose false JRunConfig Apialloc false JRunConfig Ssl false JRunConfig Ignoresuffixmap false JRunConfig Serverstore /opt/coldfusionmx7/runtime/lib/wsconfig/ 2/jrunserver.store JRunConfig Bootstrap 127.0.0.1:51011 #JRunConfig Errorurl optionally redirect to this URL on errors AddHandler jrun-handler .cfm .cfc .cfml .jsp .jws /IfModule ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224999 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: form posting question
You'll have to ask the person that asked the original question. I was just trying some stuff as an attempt to answer the question. I think their problem has boiled down to a perceived limitation with flash forms, and how you can or can't validate things. -Original Message- From: Ken Ferguson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 11:08 AM To: CF-Talk Subject: Re: form posting question Why are you checking the value for the buttonDelete form element in the first place??? Surely you're not using more than one button with that same name are you? I tried cfdump var=#form#, and my buttonDelete input field didn't exist in the struct --- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225000 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: unbelievable flash form problem
I had some problem like yours a time ago, what i learned is the the 32K (or 64K sometimes) refer to i single line of mxma script. So lets understend what´s going under the hood here: When you do a flash form, coldfusion gets your code, process it and passes to it´s internal flex compiler (yes coldfusion has a flex compiler inside) and that´s where it can´t have a component with more than 32K. Looks like your getHistoryData() function is almost at that limit so when you set any style it get´s over (to change the style flex has to call the style method). One solution, is to clean (if possible) your getHistoryData() function or break it in two diferent functions. Paste it here so we can help you. Or take your button out of any cfformgroup tag type horizontal or vertical. Felipe On 11/22/05, Anthony Prato [EMAIL PROTECTED] wrote: I'd also like to add that the entire file, html and all is only 15k. I deleted both buttons listed before and replaced them with an unstyled button. Then I copied/renamed the unstyled button 20 times. The move loads fine with all 20 buttons but breaks again if I try to add a style to any of them. below the bottons I put a formgroup=panel with a ton of styles and the form still loads fine. It's only styling the buttons when I have a problem. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225001 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Scheduled Tasks Not Running
Here is a bit more information on my Scheduled Tasks Not Running conundrum... I have a series of scheduled tasks that are set to run at various times of the day. Since the migration to version 7, these tasks have stopped running. All of them. When I check the box that outputs the results to a file, I get a text file that says nothing more than Connection Failure. I have tried everything imaginable regarding the username and password for the task. It makes no difference. When I navigate to the CFM page in question, and open it in my browser (either on the server itself or from a client machine), the page operates correctly and generates an email just like it should. I just can't make it run as a scheduled event. If I had to guess, I would surmise that it has something to do with the fact that Integrated Authentication is enabled on most of the website, including the page being called. The CFIDE directory (where the scheduled tasks are running from), however, has Integrated Authentication intentionally turned OFF. The CFIDE directory has to have Integrated Authentication turned off in order for the Report Builders RDS connectivity to work. What is my next step in troubleshooting the problem? ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please delete it from your system. This footnote also confirms that this email message has been swept for the presence of computer viruses. Thank You, Viahealth ** ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225002 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Scheduled Tasks Not Running
Which type of CFMX7? Stand alone, Enterprise, Multi-instance? -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225003 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Scheduled Tasks Not Running
CFMX 7.01 Standalone, registered version. Windows Server 2k3 IIS ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225004 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Scheduled Tasks Not Running
Not sure how this would affect a move to MX7, but IIRC the username and password provided in a scheduled task can only work with basic authentication, not integrated. To use integrated the ColdFusion service would need to be run as a user that can be a service and have the appropriate permissions to access the resources of the scheduled task. This is off a very vague memory, so take it with a very large grain of salt and watch your blood pressure from sodium intake. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225005 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: form posting question
nope. but i ultimately need to have 2 buttons, one a Save the other Delete. I want the Delete to pop a warning to the user. The onClick of the Delete has a #showAlert# call but if the button is of type Submit, the form posts regardless if the user responds to the alert. I am hacking my through a very simple feature: alert the user if the delete is clicked. It's a cfform with format=flash. Any ideas? At 11:08 AM 11/22/2005, you wrote: Why are you checking the value for the buttonDelete form element in the first place??? Surely you're not using more than one button with that same name are you? I tried cfdump var=#form#, and my buttonDelete input field didn't exist in the struct ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225006 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: form posting question
Try this: cfinput type=submit name=buttonDelete value=Delete onclick=return confirm('Are you sure?'); I'm not sure if this works with flash forms though. -Original Message- From: Kiley Simpson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 11:57 AM To: CF-Talk Subject: Re: form posting question nope. but i ultimately need to have 2 buttons, one a Save the other Delete. I want the Delete to pop a warning to the user. The onClick of the Delete has a #showAlert# call but if the button is of type Submit, the form posts regardless if the user responds to the alert. I am hacking my through a very simple feature: alert the user if the delete is clicked. It's a cfform with format=flash. Any ideas? At 11:08 AM 11/22/2005, you wrote: Why are you checking the value for the buttonDelete form element in the first place??? Surely you're not using more than one button with that same name are you? --- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225007 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: form posting question
confirm doesn't work with cfforms I'm afraid. I have a massive hack to solve this if anyone is interested. It is posting to another page and doing the check there, I really wanted to remain on the same page. At 01:11 PM 11/22/2005, you wrote: Try this: cfinput type=submit name=buttonDelete value=Delete onclick=return confirm('Are you sure?'); I'm not sure if this works with flash forms though. -Original Message- From: Kiley Simpson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 11:57 AM To: CF-Talk Subject: Re: form posting question nope. but i ultimately need to have 2 buttons, one a Save the other Delete. I want the Delete to pop a warning to the user. The onClick of the Delete has a #showAlert# call but if the button is of type Submit, the form posts regardless if the user responds to the alert. I am hacking my through a very simple feature: alert the user if the delete is clicked. It's a cfform with format=flash. Any ideas? At 11:08 AM 11/22/2005, you wrote: Why are you checking the value for the buttonDelete form element in the first place??? Surely you're not using more than one button with that same name are you? --- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225008 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: form posting question
I think this will work for you. It allows you to use an alert as a confirm in flash forms. http://www.asfusion.com/blog/entry/alert-box-for-cfform --Ferg Kiley Simpson wrote: confirm doesn't work with cfforms I'm afraid. I have a massive hack to solve this if anyone is interested. It is posting to another page and doing the check there, I really wanted to remain on the same page. At 01:11 PM 11/22/2005, you wrote: Try this: cfinput type=submit name=buttonDelete value=Delete onclick=return confirm('Are you sure?'); I'm not sure if this works with flash forms though. -Original Message- From: Kiley Simpson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 11:57 AM To: CF-Talk Subject: Re: form posting question nope. but i ultimately need to have 2 buttons, one a Save the other Delete. I want the Delete to pop a warning to the user. The onClick of the Delete has a #showAlert# call but if the button is of type Submit, the form posts regardless if the user responds to the alert. I am hacking my through a very simple feature: alert the user if the delete is clicked. It's a cfform with format=flash. Any ideas? At 11:08 AM 11/22/2005, you wrote: Why are you checking the value for the buttonDelete form element in the first place??? Surely you're not using more than one button with that same name are you? --- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225009 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: form posting question
Hi Ferg, This is a very cool example. I doesn't prevent a form post though. That's the part I don't know how to do. Very cool site! At 01:35 PM 11/22/2005, you wrote: I think this will work for you. It allows you to use an alert as a confirm in flash forms. http://www.asfusion.com/blog/entry/alert-box-for-cfform --Ferg Kiley Simpson wrote: confirm doesn't work with cfforms I'm afraid. I have a massive hack to solve this if anyone is interested. It is posting to another page and doing the check there, I really wanted to remain on the same page. At 01:11 PM 11/22/2005, you wrote: Try this: cfinput type=submit name=buttonDelete value=Delete onclick=return confirm('Are you sure?'); I'm not sure if this works with flash forms though. -Original Message- From: Kiley Simpson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 11:57 AM To: CF-Talk Subject: Re: form posting question nope. but i ultimately need to have 2 buttons, one a Save the other Delete. I want the Delete to pop a warning to the user. The onClick of the Delete has a #showAlert# call but if the button is of type Submit, the form posts regardless if the user responds to the alert. I am hacking my through a very simple feature: alert the user if the delete is clicked. It's a cfform with format=flash. Any ideas? At 11:08 AM 11/22/2005, you wrote: Why are you checking the value for the buttonDelete form element in the first place??? Surely you're not using more than one button with that same name are you? --- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225010 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: unbelievable flash form problem
actually the function is pretty short function getHistoryData() { !--- get all the search criteria items --- var filterArguments = {}; !--- grids --- filterArguments.clinicid = clinicList.selectedItem.clinicid filterArguments.drugid = drugList.selectedItem.drugid !--- dates --- filterArguments.startDate = startDate.text; filterArguments.endDate = endDate.text; !--- radio button --- filterArguments.tranTypes = tranTypes.selectedData; !--- show clock cursor --- mx.managers.CursorManager.setBusyCursor(); !--- call service --- drug_history.myGlobalObjects.drug_history.getDrugHistory(filterArguments); !--- change the current pane --- explorer.selectedIndex=2; } Those who have the problem, my workaround was to add bogus code after the button. I did not change the function, the line of code with the button or the style. On 11/22/05, Felipe Fernandes [EMAIL PROTECTED] wrote: I had some problem like yours a time ago, what i learned is the the 32K (or 64K sometimes) refer to i single line of mxma script. So lets understend what´s going under the hood here: When you do a flash form, coldfusion gets your code, process it and passes to it´s internal flex compiler (yes coldfusion has a flex compiler inside) and that´s where it can´t have a component with more than 32K. Looks like your getHistoryData() function is almost at that limit so when you set any style it get´s over (to change the style flex has to call the style method). One solution, is to clean (if possible) your getHistoryData() function or break it in two diferent functions. Paste it here so we can help you. Or take your button out of any cfformgroup tag type horizontal or vertical. Felipe On 11/22/05, Anthony Prato [EMAIL PROTECTED] wrote: I'd also like to add that the entire file, html and all is only 15k. I deleted both buttons listed before and replaced them with an unstyled button. Then I copied/renamed the unstyled button 20 times. The move loads fine with all 20 buttons but breaks again if I try to add a style to any of them. below the bottons I put a formgroup=panel with a ton of styles and the form still loads fine. It's only styling the buttons when I have a problem. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225011 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: form posting question
well, change the event handler to post or not post based on the results of the alert confirm. --Ferg Kiley Simpson wrote: Hi Ferg, This is a very cool example. I doesn't prevent a form post though. That's the part I don't know how to do. Very cool site! At 01:35 PM 11/22/2005, you wrote: I think this will work for you. It allows you to use an alert as a confirm in flash forms. http://www.asfusion.com/blog/entry/alert-box-for-cfform --Ferg Kiley Simpson wrote: confirm doesn't work with cfforms I'm afraid. I have a massive hack to solve this if anyone is interested. It is posting to another page and doing the check there, I really wanted to remain on the same page. At 01:11 PM 11/22/2005, you wrote: Try this: cfinput type=submit name=buttonDelete value=Delete onclick=return confirm('Are you sure?'); I'm not sure if this works with flash forms though. -Original Message- From: Kiley Simpson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 11:57 AM To: CF-Talk Subject: Re: form posting question nope. but i ultimately need to have 2 buttons, one a Save the other Delete. I want the Delete to pop a warning to the user. The onClick of the Delete has a #showAlert# call but if the button is of type Submit, the form posts regardless if the user responds to the alert. I am hacking my through a very simple feature: alert the user if the delete is clicked. It's a cfform with format=flash. Any ideas? At 11:08 AM 11/22/2005, you wrote: Why are you checking the value for the buttonDelete form element in the first place??? Surely you're not using more than one button with that same name are you? --- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225012 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Serving .htm as cfm on linux
Why would you want to do that? (just kidding) I think in MX6+ you've got to make some changes to an xml file. I haven't done this in a while, but I used to use different file extensions for my apps and it seems to me that once we entered the MX era, you had to touch the xml. I'll poke around a bit and see if I can find any of my notes from last year... --Ferg David Livingston wrote: I am trying to set up a way to serve .htm pages as cfm pages. The why is not important, that is what I want to do. I am running CF 7 on Suse 9.3 and Apache 2. I was hoping I could just change the AddHandler option and add .htm to the list. When I do that I get: [an error occurred while processing this directive] The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script. [an error occurred while processing this directive] and this shows up in the apache log: [Tue Nov 22 10:59:43 2005] [notice] jrApache[14208: 13243] could not open /opt/coldfusionmx7/runtime/lib/wsconfig/2/jrunserver.store: Permission denied [Tue Nov 22 10:59:43 2005] [error] [client 70.244.170.77] Directory index forbidden by rule: /srv/www/htdocs/portal/web/ [Tue Nov 22 10:59:43 2005] [notice] jrApache[14208: 13243] JRun will not accept request. Check JRun web server configuration and JRun mappings on JRun server. [Tue Nov 22 10:59:43 2005] [error] [client 70.244.170.77] unable to include include/top.html in parsed file /usr/share/apache2/error/ HTTP_FORBIDDEN.html.var [Tue Nov 22 10:59:43 2005] [notice] jrApache[14208: 13243] JRun will not accept request. Check JRun web server configuration and JRun mappings on JRun server. [Tue Nov 22 10:59:43 2005] [error] [client 70.244.170.77] unable to include include/bottom.html in parsed file /usr/share/apache2/error/ HTTP_FORBIDDEN.html.var I have been banging my head against this for several hours and google hasn't revealed any insight. Anyone out there have any? Thanks in advance, Dave LoadModule jrun_module /opt/coldfusionmx7/runtime/lib/wsconfig/2/ mod_jrun20.so IfModule mod_jrun20.c JRunConfig Verbose false JRunConfig Apialloc false JRunConfig Ssl false JRunConfig Ignoresuffixmap false JRunConfig Serverstore /opt/coldfusionmx7/runtime/lib/wsconfig/ 2/jrunserver.store JRunConfig Bootstrap 127.0.0.1:51011 #JRunConfig Errorurl optionally redirect to this URL on errors AddHandler jrun-handler .cfm .cfc .cfml .jsp .jws /IfModule ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225013 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Question regarding closing tags
I think people doing this way want to be stick to XHTML syntax which is a stricter way of writing HTML IMHO doing this for CF is a bit excessive, since CFML does not belong to HTML, but to SGML, like HTML and XHTML. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225014 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Serving .htm as cfm on linux
This is talking about IIS, but it does mention the XML file changes. http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18289 --Ferg Ken Ferguson wrote: Why would you want to do that? (just kidding) I think in MX6+ you've got to make some changes to an xml file. I haven't done this in a while, but I used to use different file extensions for my apps and it seems to me that once we entered the MX era, you had to touch the xml. I'll poke around a bit and see if I can find any of my notes from last year... --Ferg ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225015 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: form posting question
Ken here it goes: cfdump var=#form# cfsavecontent variable=actionRemove var myform = myform var teste = teste var confirm = function (evt) { if (evt.detail == mx.controls.Alert.OK) { myform.action = 'ok' _root.submitForm(); } } alert(Are you sure?, Warning, mx.controls.Alert.OK | mx.controls.Alert.CANCEL, confirm); /cfsavecontent cfform method=post format=flash name=myform cfinput type=button name=buttonDelete value=Delete onclick=#actionRemove# cfinput type=button name=buttonsave value=Save onclick=myform.action = 'Save'; submitForm(); cfinput type=hidden name=action /cfform Felipe On 11/22/05, Ken Ferguson [EMAIL PROTECTED] wrote: I think this will work for you. It allows you to use an alert as a confirm in flash forms. http://www.asfusion.com/blog/entry/alert-box-for-cfform --Ferg Kiley Simpson wrote: confirm doesn't work with cfforms I'm afraid. I have a massive hack to solve this if anyone is interested. It is posting to another page and doing the check there, I really wanted to remain on the same page. At 01:11 PM 11/22/2005, you wrote: Try this: cfinput type=submit name=buttonDelete value=Delete onclick=return confirm('Are you sure?'); I'm not sure if this works with flash forms though. -Original Message- From: Kiley Simpson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 11:57 AM To: CF-Talk Subject: Re: form posting question nope. but i ultimately need to have 2 buttons, one a Save the other Delete. I want the Delete to pop a warning to the user. The onClick of the Delete has a #showAlert# call but if the button is of type Submit, the form posts regardless if the user responds to the alert. I am hacking my through a very simple feature: alert the user if the delete is clicked. It's a cfform with format=flash. Any ideas? At 11:08 AM 11/22/2005, you wrote: Why are you checking the value for the buttonDelete form element in the first place??? Surely you're not using more than one button with that same name are you? --- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225016 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: form posting question
kiley jus be carefull to do not use the word 'Delete' in place of 'Del' because it will throw an error of illegal actionscript use. Here it goes: cfdump var=#form# cfsavecontent variable=actionRemove var myform = myform var teste = teste var confirm = function (evt) { if (evt.detail == mx.controls.Alert.OK) { myform.action = 'Del' _root.submitForm(); } } alert(Are you sure?, Warning, mx.controls.Alert.OK | mx.controls.Alert.CANCEL, confirm); /cfsavecontent cfform method=post format=flash name=myform cfinput type=button name=buttonDelete value=Delete onclick=#actionRemove# cfinput type=button name=buttonsave value=Save onclick=myform.action = 'Save'; submitForm(); cfinput type=hidden name=action /cfform ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225017 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: form posting question
i have two buttons, one a Save, the other a Delete. if the input is button and has the onClick=showAlert#, the alert pops up fine. but the action page doesn't know which input type was clicked, either the save or the delete. if it's a button the form does not post to the for variables. this is the real crux of the problem. if the input is a submit, it blows by the alert and just processes anyhow. the example is close but not quite there. thanks for your suggestion though. At 01:51 PM 11/22/2005, you wrote: well, change the event handler to post or not post based on the results of the alert confirm. --Ferg Kiley Simpson wrote: Hi Ferg, This is a very cool example. I doesn't prevent a form post though. That's the part I don't know how to do. Very cool site! At 01:35 PM 11/22/2005, you wrote: I think this will work for you. It allows you to use an alert as a confirm in flash forms. http://www.asfusion.com/blog/entry/alert-box-for-cfform --Ferg Kiley Simpson wrote: confirm doesn't work with cfforms I'm afraid. I have a massive hack to solve this if anyone is interested. It is posting to another page and doing the check there, I really wanted to remain on the same page. At 01:11 PM 11/22/2005, you wrote: Try this: cfinput type=submit name=buttonDelete value=Delete onclick=return confirm('Are you sure?'); I'm not sure if this works with flash forms though. -Original Message- From: Kiley Simpson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 11:57 AM To: CF-Talk Subject: Re: form posting question nope. but i ultimately need to have 2 buttons, one a Save the other Delete. I want the Delete to pop a warning to the user. The onClick of the Delete has a #showAlert# call but if the button is of type Submit, the form posts regardless if the user responds to the alert. I am hacking my through a very simple feature: alert the user if the delete is clicked. It's a cfform with format=flash. Any ideas? At 11:08 AM 11/22/2005, you wrote: Why are you checking the value for the buttonDelete form element in the first place??? Surely you're not using more than one button with that same name are you? --- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225018 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: unbelievable flash form problem
If you got a workaround, it´s ok, but if you want to find th problem you can try do dump the form with pre cfdump var=#myform#/pre (or whatever is your form name) and look to the code pointed by the error message and find what is getting so big. Felipe On 11/22/05, Anthony Prato [EMAIL PROTECTED] wrote: actually the function is pretty short function getHistoryData() { !--- get all the search criteria items --- var filterArguments = {}; !--- grids --- filterArguments.clinicid = clinicList.selectedItem.clinicid filterArguments.drugid = drugList.selectedItem.drugid !--- dates --- filterArguments.startDate = startDate.text; filterArguments.endDate = endDate.text; !--- radio button --- filterArguments.tranTypes = tranTypes.selectedData; !--- show clock cursor --- mx.managers.CursorManager.setBusyCursor(); !--- call service --- drug_history.myGlobalObjects.drug_history.getDrugHistory(filterArguments); !--- change the current pane --- explorer.selectedIndex=2; } Those who have the problem, my workaround was to add bogus code after the button. I did not change the function, the line of code with the button or the style. On 11/22/05, Felipe Fernandes [EMAIL PROTECTED] wrote: I had some problem like yours a time ago, what i learned is the the 32K (or 64K sometimes) refer to i single line of mxma script. So lets understend what´s going under the hood here: When you do a flash form, coldfusion gets your code, process it and passes to it´s internal flex compiler (yes coldfusion has a flex compiler inside) and that´s where it can´t have a component with more than 32K. Looks like your getHistoryData() function is almost at that limit so when you set any style it get´s over (to change the style flex has to call the style method). One solution, is to clean (if possible) your getHistoryData() function or break it in two diferent functions. Paste it here so we can help you. Or take your button out of any cfformgroup tag type horizontal or vertical. Felipe On 11/22/05, Anthony Prato [EMAIL PROTECTED] wrote: I'd also like to add that the entire file, html and all is only 15k. I deleted both buttons listed before and replaced them with an unstyled button. Then I copied/renamed the unstyled button 20 times. The move loads fine with all 20 buttons but breaks again if I try to add a style to any of them. below the bottons I put a formgroup=panel with a ton of styles and the form still loads fine. It's only styling the buttons when I have a problem. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225019 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: form posting question
THAT'S IT!!! Thank you, thank you. This is fantastic My action page is very small now cfif isDefined('form.action') cfif form.action eq 'save' save cfc cflocation url=index.cfm cfelseif form.action eq 'okDelete' delete cfc cflocation url=index.cfm cfelseif form.action eq 'create' create cfc cflocation url=index.cfm?actionCreate=true /cfif /cfif As you pointed out, Delete is bad so I used okDelete. Your solution is perfect. I can't thank you enough. This has been blowing my mind for too long. I'm going to go post this on macromedia's forum now, there were some suggestions there and some people trying the same thing with no luck. Many many thanks. Kiley At 01:53 PM 11/22/2005, you wrote: Ken here it goes: cfdump var=#form# cfsavecontent variable=actionRemove var myform = myform var teste = teste var confirm = function (evt) { if (evt.detail == mx.controls.Alert.OK) { myform.action = 'ok' _root.submitForm(); } } alert(Are you sure?, Warning, mx.controls.Alert.OK | mx.controls.Alert.CANCEL, confirm); /cfsavecontent cfform method=post format=flash name=myform cfinput type=button name=buttonDelete value=Delete onclick=#actionRemove# cfinput type=button name=buttonsave value=Save onclick=myform.action = 'Save'; submitForm(); cfinput type=hidden name=action /cfform Felipe ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225020 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: unbelievable flash form problem
wow nice! very cool trick thanks felipe On 11/22/05, Felipe Fernandes [EMAIL PROTECTED] wrote: If you got a workaround, it´s ok, but if you want to find th problem you can try do dump the form with pre cfdump var=#myform#/pre (or whatever is your form name) and look to the code pointed by the error message and find what is getting so big. Felipe On 11/22/05, Anthony Prato [EMAIL PROTECTED] wrote: actually the function is pretty short function getHistoryData() { !--- get all the search criteria items --- var filterArguments = {}; !--- grids --- filterArguments.clinicid = clinicList.selectedItem.clinicid filterArguments.drugid = drugList.selectedItem.drugid !--- dates --- filterArguments.startDate = startDate.text; filterArguments.endDate = endDate.text; !--- radio button --- filterArguments.tranTypes = tranTypes.selectedData; !--- show clock cursor --- mx.managers.CursorManager.setBusyCursor(); !--- call service --- drug_history.myGlobalObjects.drug_history.getDrugHistory(filterArguments); !--- change the current pane --- explorer.selectedIndex=2; } Those who have the problem, my workaround was to add bogus code after the button. I did not change the function, the line of code with the button or the style. On 11/22/05, Felipe Fernandes [EMAIL PROTECTED] wrote: I had some problem like yours a time ago, what i learned is the the 32K (or 64K sometimes) refer to i single line of mxma script. So lets understend what´s going under the hood here: When you do a flash form, coldfusion gets your code, process it and passes to it´s internal flex compiler (yes coldfusion has a flex compiler inside) and that´s where it can´t have a component with more than 32K. Looks like your getHistoryData() function is almost at that limit so when you set any style it get´s over (to change the style flex has to call the style method). One solution, is to clean (if possible) your getHistoryData() function or break it in two diferent functions. Paste it here so we can help you. Or take your button out of any cfformgroup tag type horizontal or vertical. Felipe On 11/22/05, Anthony Prato [EMAIL PROTECTED] wrote: I'd also like to add that the entire file, html and all is only 15k. I deleted both buttons listed before and replaced them with an unstyled button. Then I copied/renamed the unstyled button 20 times. The move loads fine with all 20 buttons but breaks again if I try to add a style to any of them. below the bottons I put a formgroup=panel with a ton of styles and the form still loads fine. It's only styling the buttons when I have a problem. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225021 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
How is the application.home set?
The jvm.config references a variable called application.home. Where does this variable get set? -- Thanks, Troy ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225022 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: unbelievable flash form problem
Let me now take back what I said about fixing the problem. It turns out I was using the debug=true url paramter like the post I mentioned suggested. When I remove this url parameter the form breaks and gives the same message. I used Felipe's trick to dump out both forms. I then did a diff and the only difference is the line: formScope.send(/occmeds/intranet/drug_history_A.cfm, _self, POST); formScope.send(/occmeds/intranet/drug_history_A.cfm?debug=true, _self, POST); The files are the same size otherwise, the one with debug works. Any ideas? ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225023 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Question regarding closing tags
On 11/22/05, Claude Schneegans [EMAIL PROTECTED] wrote: I think people doing this way want to be stick to XHTML syntax which is a stricter way of writing HTML IMHO doing this for CF is a bit excessive, since CFML does not belong to HTML, but to SGML, like HTML and XHTML. Close, but no ;) You're right, CFML is really an SGML language, though I'm so rusty on the SGML spec to say if CFML is fully compliant. XHTML isn't an SGML language, it's a fully XML based language. It isn't just a stricter way to write HTML, it has a full XML Doctype. It's only strict because of the technology it's built on (XML). -nathan strutz http://www.dopefly.com/ ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225024 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
OT: Prevent form submission if radio button and text field are not filled out
Anyone have any ideas? I've cut out a portion of a form on which I'm working: http://www.andyandjaime.com/uploads/radiojs.html It's supposed to pop an alert box (and disable the form) when you click check out IF a) You've got either of the top two options (troop check or troop debit) selected AND b) The tax exempt number is not filled in This part works fine, but it's ALSO supposed to reactivate the form once you've filled both of those requirements and it's not doing that. Does anyone have any ideas as to what's wrong? I'm sure it's something simple, but I don't know what it might be. !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225025 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: SOLUTION: CF webservice consumed via .NET
Hi Matt, Your solution to accessing CF QueryBean from .net is simply wonderful. I would also appreciate if you can share that .net class it with me - that would make things much easier. Thanks again, DK [EMAIL PROTECTED] I'll write it, but it'll be next week before I can get to it. You should be able to use the simple code I've posted to get ahead with your work. I'll send it to you when I'm finished with it. - Matt Small ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225026 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OT: Prevent form submission if radio button and text field are not filled out
Are you saying you need a DHTML script to reactivate the submit button if the Troop T.E.N. value is not null and either Troop radio button is selected? At 03:02 PM 11/22/2005, you wrote: Anyone have any ideas? I've cut out a portion of a form on which I'm working: http://www.andyandjaime.com/uploads/radiojs.html It's supposed to pop an alert box (and disable the form) when you click check out IF a) You've got either of the top two options (troop check or troop debit) selected AND b) The tax exempt number is not filled in This part works fine, but it's ALSO supposed to reactivate the form once you've filled both of those requirements and it's not doing that. Does anyone have any ideas as to what's wrong? I'm sure it's something simple, but I don't know what it might be. !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225027 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OT: Prevent form submission if radio button and text field are not filled out
Well, I'm not really sure what I'm saying. I just need for the form to submit if both of the criteria are met. If you select one of the bottom two, the full form works just fine. !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Kiley Simpson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 4:18 PM To: CF-Talk Subject: Re: OT: Prevent form submission if radio button and text field are not filled out Are you saying you need a DHTML script to reactivate the submit button if the Troop T.E.N. value is not null and either Troop radio button is selected? At 03:02 PM 11/22/2005, you wrote: Anyone have any ideas? I've cut out a portion of a form on which I'm working: http://www.andyandjaime.com/uploads/radiojs.html It's supposed to pop an alert box (and disable the form) when you click check out IF a) You've got either of the top two options (troop check or troop debit) selected AND b) The tax exempt number is not filled in This part works fine, but it's ALSO supposed to reactivate the form once you've filled both of those requirements and it's not doing that. Does anyone have any ideas as to what's wrong? I'm sure it's something simple, but I don't know what it might be. !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225029 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Question regarding closing tags
Personally I don't do it for XHTML purposes...I've noticed a lot of us that come from ECMA (C/Java/Actionscript) background tend to use it. For me, I'm used to spotting blocks of code surrounded by braces ( { and } ). Using the / helps to show me what's a statement and what's a block. -Joe On 11/22/05, Claude Schneegans [EMAIL PROTECTED] wrote: I think people doing this way want to be stick to XHTML syntax which is a stricter way of writing HTML IMHO doing this for CF is a bit excessive, since CFML does not belong to HTML, but to SGML, like HTML and XHTML. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225028 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Question regarding closing tags
though I'm so rusty on the SGML spec to say if CFML is fully compliant. Actually, it is not quite compliant: CFSET x = some text I think is an example, but most other tags are SGML compliant. I don't think Allaire ever claimed it was, I think the main purpose was to make it HTML like, but since HTML is SGML compliant, then,... XHTML isn't an SGML language, it's a fully XML based language. Ok, but isn't XML SGML compliant? -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225030 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Question regarding closing tags
On 11/22/05, Claude Schneegans [EMAIL PROTECTED] wrote: though I'm so rusty on the SGML spec to say if CFML is fully compliant. Actually, it is not quite compliant: CFSET x = some text I think is an example, but most other tags are SGML compliant. I'm not sure how that proves CFML's non-SGML-ness. HTML allowed non-valued tag attributes, like td nowrap I don't think Allaire ever claimed it was, I think the main purpose was to make it HTML like, but since HTML is SGML compliant, then,... XHTML isn't an SGML language, it's a fully XML based language. Ok, but isn't XML SGML compliant? Ooh good one. You're right. -nathan strutz http://www.dopefly.com/ ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225031 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OT: Prevent form submission if radio button and text field are not filled out
function testPayMethod() { f = document.payform; var radioCheck = false; var firstEl = 0; var lastEl = 3; for (i=firstEl;ilastEl;i++) { if (f.elements[i].checked == true) { radioCheck = true; } } if (!radioCheck) { //No radio buttons were selected alert('select at least one radio'); return false; } else if ((f.elements[0].checked | f.elements[1].checked) f.trooptaxnumber.value.length == 0) { //One of the first two radios was selected but no text in the text field alert(one of the first 2 are selected, but nothing is in the text field); return false; } else { //Everything is fine return true; } } The function returns either true or false so make your form's onsubmit this... Onsubmit=return testPayMethod(); The firstEl is the position of the first radio button and lastEl is the position of the last radio button. Should make it easier to move the radios around in the form or add more later. This is probably gonna come through all garbled but ill give it a shot. :/ ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 5:22 PM To: CF-Talk Subject: RE: OT: Prevent form submission if radio button and text field are not filled out Well, I'm not really sure what I'm saying. I just need for the form to submit if both of the criteria are met. If you select one of the bottom two, the full form works just fine. !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Kiley Simpson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 4:18 PM To: CF-Talk Subject: Re: OT: Prevent form submission if radio button and text field are not filled out Are you saying you need a DHTML script to reactivate the submit button if the Troop T.E.N. value is not null and either Troop radio button is selected? At 03:02 PM 11/22/2005, you wrote: Anyone have any ideas? I've cut out a portion of a form on which I'm working: http://www.andyandjaime.com/uploads/radiojs.html It's supposed to pop an alert box (and disable the form) when you click check out IF a) You've got either of the top two options (troop check or troop debit) selected AND b) The tax exempt number is not filled in This part works fine, but it's ALSO supposed to reactivate the form once you've filled both of those requirements and it's not doing that. Does anyone have any ideas as to what's wrong? I'm sure it's something simple, but I don't know what it might be. !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225032 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Question regarding closing tags
CFSET x = some text I'm not sure how that proves CFML's non-SGML-ness. HTML allowed non-valued tag attributes, like td nowrap CFSET x = some text looks like an SGML tag, however x here is not an attribute defined in the DTD, it can be any variable name choosen by the user and, although I may be wrong, I'm not sure this is correct in SGML. Otherwise, CFML is pretty SGML compliant. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225033 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Serving .htm as cfm on linux
Ken thanks for the link. I found the apache version here and this did it. http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm? catid=143threadid=1039875enterthread=y Thanks, Dave On Nov 22, 2005, at 2:58 PM, Ken Ferguson wrote: This is talking about IIS, but it does mention the XML file changes. http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18289 --Ferg Ken Ferguson wrote: Why would you want to do that? (just kidding) I think in MX6+ you've got to make some changes to an xml file. I haven't done this in a while, but I used to use different file extensions for my apps and it seems to me that once we entered the MX era, you had to touch the xml. I'll poke around a bit and see if I can find any of my notes from last year... --Ferg ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225034 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Question regarding closing tags
Whether the syntax is compliant or not, I can't speak on. However, an SGML parser will get confused because of tags like CFELSE and CFELSEIF which break the contents of a CFIF tag into separate blocks, without actually making separate blocks. So it's definitely not good SGML from a semantic perspective. cheers, barneyb On 11/22/05, Claude Schneegans [EMAIL PROTECTED] wrote: CFSET x = some text I'm not sure how that proves CFML's non-SGML-ness. HTML allowed non-valued tag attributes, like td nowrap CFSET x = some text looks like an SGML tag, however x here is not an attribute defined in the DTD, it can be any variable name choosen by the user and, although I may be wrong, I'm not sure this is correct in SGML. Otherwise, CFML is pretty SGML compliant. -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 100 invites. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225035 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Scheduled Tasks Not Running
How did you setup the scheduled tasks. If u used cfschedule, then try setting them up via the cfadmin instead and see if they work. -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: 22 November 2005 19:41 To: CF-Talk Subject: RE: Scheduled Tasks Not Running Not sure how this would affect a move to MX7, but IIRC the username and password provided in a scheduled task can only work with basic authentication, not integrated. To use integrated the ColdFusion service would need to be run as a user that can be a service and have the appropriate permissions to access the resources of the scheduled task. This is off a very vague memory, so take it with a very large grain of salt and watch your blood pressure from sodium intake. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225036 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CF Hosting
I add a voice for HMS (Smarterlinux). When I looked for hosts, Linux was one of my criteria, even though my desktop is Windblows. On 11/22/05, Russ [EMAIL PROTECTED] wrote: It's true... even though our servers are running windows, the only reason is that our apps need sql server. If I were to start fresh, I would design something that's linux compatible. We have several servers with crystaltech, and when we decided to add capacity and load balancing, they lost us, because a. they didn't support linux which we used for our dedicated mail server and b. they didn't support hardware load balancing which HMS threw in for free. I had asked crystaltech whether they do linux hosting, but only because I was already a customer and didn't want to leave if possible. If I was a new customer, I would've just looked at the website, seen that they don't offer linux hosting and let my fingers do the walking... -- CFAJAX docs and other useful articles: http://jr-holmes.coldfusionjournal.com/ ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225037 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
js popup ? damn that ie!!!!!
trying to utalize a self sizing popup window, see it here: http://65.36.226.10/content/reelspecs.cfm on available colors. works everywhere but ie of course code is: head section: !-- popup script -- script type=text/javascript function PopupPic(sPicURL) { window.open( popup.cfm?+sPicURL, , resizable=1,HEIGHT=200,WIDTH=200); } /script link: javascript:PopupPic('#request.homepage#/images/reelcolors/canyon/CanyonBigGame_Front_Black.jpg') popup page: script type=text/javascript var arrTemp=self.location.href.split(?); var picUrl = (arrTemp.length0)?arrTemp[1]:; var NS = (navigator.appName==Netscape)?true:false; function FitPic() { iWidth = (NS)?window.innerWidth:document.body.clientWidth; iHeight = (NS)?window.innerHeight:document.body.clientHeight; iWidth = document.images[0].width - iWidth; iHeight = document.images[0].height - iHeight; window.resizeBy(iWidth, iHeight); self.focus(); }; /script /head body bgcolor=#00 onload='FitPic();' topmargin=0 marginheight=0 leftmargin=0 marginwidth=0 script type=text/javascript document.write( img src=' + picUrl + ' border=0 ); /script Is it possible to work in ie or should i just get made, piss and moan, scream, kick things and flip bill the bird? ~Dave the disruptor~ good sites - make money getting rid of ie :) http://explorerdestroyer.com/ http://www.killbillsbrowser.com/ ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225038 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CF Hosting
host my site goes above and beyond any host i have ever used, I will never use anyone else again, period! Getting my own dedicated server there in a month or so :) and a big hehe at winblows Rock on bill! ( u shmuck!!) ~Dave the disruptor~ good sites - make money getting rid of ie :) http://explorerdestroyer.com/ http://www.killbillsbrowser.com/ From: James Holmes [EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 8:46 PM To: CF-Talk cf-talk@houseoffusion.com Subject: Re: CF Hosting I add a voice for HMS (Smarterlinux). When I looked for hosts, Linux was one of my criteria, even though my desktop is Windblows. On 11/22/05, Russ wrote: It's true... even though our servers are running windows, the only reason is that our apps need sql server. If I were to start fresh, I would design something that's linux compatible. We have several servers with crystaltech, and when we decided to add capacity and load balancing, they lost us, because a. they didn't support linux which we used for our dedicated mail server and b. they didn't support hardware load balancing which HMS threw in for free. I had asked crystaltech whether they do linux hosting, but only because I was already a customer and didn't want to leave if possible. If I was a new customer, I would've just looked at the website, seen that they don't offer linux hosting and let my fingers do the walking... -- CFAJAX docs and other useful articles: http://jr-holmes.coldfusionjournal.com/ ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225039 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
re: js popup ? damn that ie!!!!!
and no im not drinking i just cant type 4 crap lol arggg ~Dave the disruptor~ good sites - make money getting rid of ie :) http://explorerdestroyer.com/ http://www.killbillsbrowser.com/ From: dave [EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 8:49 PM To: CF-Talk cf-talk@houseoffusion.com Subject: js popup ? damn that ie! trying to utalize a self sizing popup window, see it here: http://65.36.226.10/content/reelspecs.cfm on available colors. works everywhere but ie of course code is: head section: function PopupPic(sPicURL) { window.open( popup.cfm?+sPicURL, , resizable=1,HEIGHT=200,WIDTH=200); } link: javascript:PopupPic('#request.homepage#/images/reelcolors/canyon/CanyonBigGame_Front_Black.jpg') popup page: var arrTemp=self.location.href.split(?); var picUrl = (arrTemp.length0)?arrTemp[1]:; var NS = (navigator.appName==Netscape)?true:false; function FitPic() { iWidth = (NS)?window.innerWidth:document.body.clientWidth; iHeight = (NS)?window.innerHeight:document.body.clientHeight; iWidth = document.images[0].width - iWidth; iHeight = document.images[0].height - iHeight; window.resizeBy(iWidth, iHeight); self.focus(); }; marginheight=0 leftmargin=0 marginwidth=0 document.write( ); Is it possible to work in ie or should i just get made, piss and moan, scream, kick things and flip bill the bird? ~Dave the disruptor~ good sites - make money getting rid of ie :) http://explorerdestroyer.com/ http://www.killbillsbrowser.com/ ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225040 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: js popup ? damn that ie!!!!!
I havent been through your JS yet, figured id offer an option. If you are just displaying an image, could you not just get the height and width of the image and use that for the height and width of the popup call? I use imagecr3 to do just that on occasion. That, of course will only work if you only want to display an image and dont mind the margins. I'll take a look at your js in a bit if you dont want to do that. ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: dave [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 8:47 PM To: CF-Talk Subject: js popup ? damn that ie! trying to utalize a self sizing popup window, see it here: http://65.36.226.10/content/reelspecs.cfm on available colors. works everywhere but ie of course code is: head section: !-- popup script -- script type=text/javascript function PopupPic(sPicURL) { window.open( popup.cfm?+sPicURL, , resizable=1,HEIGHT=200,WIDTH=200); } /script link: javascript:PopupPic('#request.homepage#/images/reelcolors/canyon/CanyonBigGa me_Front_Black.jpg') popup page: script type=text/javascript var arrTemp=self.location.href.split(?); var picUrl = (arrTemp.length0)?arrTemp[1]:; var NS = (navigator.appName==Netscape)?true:false; function FitPic() { iWidth = (NS)?window.innerWidth:document.body.clientWidth; iHeight = (NS)?window.innerHeight:document.body.clientHeight; iWidth = document.images[0].width - iWidth; iHeight = document.images[0].height - iHeight; window.resizeBy(iWidth, iHeight); self.focus(); }; /script /head body bgcolor=#00 onload='FitPic();' topmargin=0 marginheight=0 leftmargin=0 marginwidth=0 script type=text/javascript document.write( img src=' + picUrl + ' border=0 ); /script Is it possible to work in ie or should i just get made, piss and moan, scream, kick things and flip bill the bird? ~Dave the disruptor~ good sites - make money getting rid of ie :) http://explorerdestroyer.com/ http://www.killbillsbrowser.com/ ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225041 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CSS table-type layout
This is about the best site I know for CSS layout examples: http://www.pmob.co.uk/ I learnt my own css on www.w3schools.com Jenny ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225042 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: js popup ? damn that ie!!!!!
Dave, It looks like you only want to open a window that sizes to the image within it (I could be wrong). If that's the case, then here's something I've used before, and it is cross browser compatible (from memory it works in IE, NS, FF and Opera). It may or may not suit your needs, but there's a demo on the page you can try. http://javascript.internet.com/page-details/auto-resizable-pop-up.html Mark ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225043 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
datasource problems
Hi, I've had a problem on creating a new cart site. I copied files from the first site into a second on my development pc, created a new db and the cf db connection in cf admin. Then I decided to replace the dsn from to statis an application set variable, took 2 mins on a search and replace. I then pushed the site up to my production server. It runs fine, but I'm confused that when I open queries to change them it says no datasource is defined. There must be somewhere I went wrong? Jenny ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225044 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: datasource problems
DB Type? Jennifer Gavin-Wear wrote: Hi, I've had a problem on creating a new cart site. I copied files from the first site into a second on my development pc, created a new db and the cf db connection in cf admin. Then I decided to replace the dsn from to statis an application set variable, took 2 mins on a search and replace. I then pushed the site up to my production server. It runs fine, but I'm confused that when I open queries to change them it says no datasource is defined. There must be somewhere I went wrong? Jenny ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225045 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54