Re: Need Help Coding Database Interactions
I've learned from years in the trenches. I'm by no means an expert. (My degree is Art History and African Cultural Studies - if that tells you anything.) Read CF-Talk, CFDJ, various blogs. Learn by doing. Pick up some books when you need to. It'll come. What do you need to do with the structure that your insertNewsSubscriptions method returns? On 2/13/06, Aaron Roberson [EMAIL PROTECTED] wrote: One more thing... My insertNewsSubscriptions method returns a structure. If I instantiate the method within the user method, how do I return the struct and should I add the results to the struct that the user method returns? -Aaron Thank you very much. Wether or not I invoke or instantiate, am I correct in assuming that I should pass the userID to the newsmanager after inserting the user into the users table? Otherwise, the db may not let me insert the userID in the linking table without a corresponding userID in the users table. Another thing: In this scenario, should I instantiate an object of the newsmanager component? I have been reading in my Java book that there is a difference between a method class and a method instance. A method class, as you probably know, is not an instance. Does this apply to CFC's in CFML? Thanks again, ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232187 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-Dev] £ sign in cfmail
I have has similar problems when exporting CF to Word and other text-based documents. It was replacing certain characters like the pound sign out. This was particularlly annoying as I was doing a currency-intesive document and the Yen and other were working, but not the pound. I was able to fix this when I set the charset to Windows-1252. Hope that might help. ... Ben Nadel Web Developer Nylon Technology 6 West 14th Street New York, NY 10011 212.691.1134 212.691.3477 fax www.nylontechnology.com Programming is my money job. My real passion is eating. -Original Message- From: Snake [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 10:50 AM To: CF-Talk Subject: FW: [CF-Dev] £ sign in cfmail I am posting this for a colleague. --- Hi everyone, I hope someone can help me with this problem as its really doing my head in! My client sends out adverts in either plaintext or HTML format and we use a template to create each version which is then mass-mailed. I am having problems representing the pound sign in the emails. It was easy to fix the problem in the HTML emails, as I just replaced the ASCII code with the HTML code. However, it is not so easy for the text emails. When a text email that contains a £ sign is viewed in Outlook Express it looks fine on screen; but if you view the source (ALT+ Enter, Click message source) you will see that where the pound sign should be, there are A3s instead!! This may not seem a problem as the email display is fine, but my client runs macros that look at the message source and import data from it, and the rogue characters are causing all sorts of problems. I am using charset ISO8859-1 in the cfmail tag and I have tried various other charsets as well, with no success. We didnt have this problem with CF5, the £ sign was intact both in the display and in the message source. Has anyone got any ideas please? Thanks Regards Hooman ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232188 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: cfquery param vs cfif + N
With cfparam, you have built-in type checking. It also can help to avoid loads of cfif statements because you KNOW the variable is there, you just need to check it's value. !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Duncan [mailto:[EMAIL PROTECTED] Sent: Monday, February 13, 2006 4:25 PM To: CF-Talk Subject: cfquery param vs cfif + N What is the difference of doing this: cfif getClient.saveAsUnicode eq 1N/cfif'#address#', over this: cfqueryparam value=#address# cfsqltype=cf_sql_varchar Is there a performance gain? How does CF handle this differently? Does cfqueryparam behave the same in 5,6 and 7? Does SQL do anything differently? Any general points would also be grateful. I am just trying to understand the differences better - I know everyone goes around saying you must use cfqueryparam beacuse its better, security etc etc. So I am just trying to validate this a bit. -- Duncan I Loxton [EMAIL PROTECTED] ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232189 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
Errors when adding a verity collection
I've just got CFMX7.1 installed on a fresh RedHat Enterprise 4 setup. When I go to add a verity collection, I get this error: Unable to create collection test. Unable to create collection test. An error occurred while creating the collection: com.verity.api.administration.ConfigurationException: Failed to retrieve style path. (-6044) I've checked and the style path does exist and is readable and writeable by nobody (the user k2admin is running as). Any ideas? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232190 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: Session Based Timer?
Set a SESSION.start variable containg a date/time object when she starts , then on clicking end compare Now() to that object? !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Eric J. Hoffman [mailto:[EMAIL PROTECTED] Sent: Monday, February 13, 2006 9:51 PM To: CF-Talk Subject: Session Based Timer? Okay, I am hitting some roadblocks on something that I thought would be simple, and wonder if anyone has something like this or advice for completion? I have an incoming call, and when the rep accepts the call, she hits a button on the screen. I can see that start or mark a startpoint in a session variable. Now she moves around her screens,looks this up and that, places an order...and when complete, she would hit the button again marked End. How would I capture that time difference; I assume screen to screen to screen issues are avoided by doing this...and I would like to output that session variable on the screen as she traverses to see it is working and counting upso screen one: 5 seconds. screen two: 35 seconds. The screen itself needs no javascript to actually count up. :) Thank you for any insight! I know this should be relatively simple. Eric J. Hoffman Managing Partner 2081 Industrial Blvd StillwaterMN55082 mail: [EMAIL PROTECTED] www: www.ejhassociates.com tel: 651.207.1526 fax: 651.207.1536 mob: 651.245.2717 This message contains confidential information and is intended only for [EMAIL PROTECTED] If you are not cf-talk@houseoffusion.com you should not disseminate, distribute or copy this e-mail. Please notify [EMAIL PROTECTED] immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Eric J. Hoffman therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232191 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
Numeric field woes
Hi all, I'm using CFMX and Access 2K (I know, I know). I was collecting some numeric data as text just because I was not doing any processing of it (getting averages, etc.), and I wanted to allow for extra characters (e.g., dashes, commas, etc.). Now that I need to do some math operations on the data, I'm treating the fields as numeric both by changing the field type on Access, and by not including the single quotes in the CF queries. My problems: 1 - Now each time a decimal point is followed by zeroes (e.g., 4.00), my zeroes dissapear from the Access field/table (the number changes to 4). The last zero dissapears from a number like 4.10 (it changes to 4.1), but the zero is kept in mid position (e.g., 4.01 stays the same). I tried setting the Access field to large integer, two decimal spaces, etc., to no avail. Is there a way to format the CFMX query so that it somehow forces the zeroes into the Access field? 2 - Each time one of the new numeric fields contains a comma and the field gets sent to the database, the system returns a generic error. Again, is there a specific way of formatting that field in the query so that commas are accepted (since they are normal components of a number?). The decimal point does not throw an error, so I would expect the comma to behave in a similar fashion... Thanks in advance for any pointers/ideas/suggestions. Regards, Roberto Perez ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232192 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: ADA compliance and PDF
FYI, in CF7, reports and documents produced in FlashPaper2 format are accessible. More on creeating accessible documents and reports in CF7 here: http://www.macromedia.com/macromedia/accessibility/features/coldfusion/docs.html Our VPAT (filed for ColdFusion MX 7 508 compliance) with specific details of each feature is here: http://www.macromedia.com/macromedia/accessibility/tools/vpat/coldfusion.html HTH Damon ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232193 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: ADA compliance and PDF
Thanks Damon. This is an interesting possible solution. Checking it out right now. [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: FYI, in CF7, reports and documents produced in FlashPaper2 format are accessible. More on creeating accessible documents and reports in CF7 here: http://www.macromedia.com/macromedia/accessibility/features/coldfusion/docs.html Our VPAT (filed for ColdFusion MX 7 508 compliance) with specific details of each feature is here: http://www.macromedia.com/macromedia/accessibility/tools/vpat/coldfusion.html HTH Damon ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232195 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: Need Help Coding Database Interactions
What do you need to do with the structure that your insertNewsSubscriptions method returns? Basically, I would just like some confirmation that it has been inserted. I have used a struct to return both an instert status (success or failure) and the new recordID for other set methods. Since this is a linking table, I suppose I don't really need to return a struct. Any suggestions? Thanks, Aaron P.S. James, I subscribed to CFDJ but I have not received a single email newsletter as of yet. Thanks for the link... I am going to follow up on why my subscriptions are not arriving! On 2/14/06, Deanna Schneider [EMAIL PROTECTED] wrote: I've learned from years in the trenches. I'm by no means an expert. (My degree is Art History and African Cultural Studies - if that tells you anything.) Read CF-Talk, CFDJ, various blogs. Learn by doing. Pick up some books when you need to. It'll come. What do you need to do with the structure that your insertNewsSubscriptions method returns? On 2/13/06, Aaron Roberson [EMAIL PROTECTED] wrote: One more thing... My insertNewsSubscriptions method returns a structure. If I instantiate the method within the user method, how do I return the struct and should I add the results to the struct that the user method returns? -Aaron Thank you very much. Wether or not I invoke or instantiate, am I correct in assuming that I should pass the userID to the newsmanager after inserting the user into the users table? Otherwise, the db may not let me insert the userID in the linking table without a corresponding userID in the users table. Another thing: In this scenario, should I instantiate an object of the newsmanager component? I have been reading in my Java book that there is a difference between a method class and a method instance. A method class, as you probably know, is not an instance. Does this apply to CFC's in CFML? Thanks again, ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232197 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
Calendar
Hi, Does anyone know of a good Calendar plug in for cf, please? To be used with an on line bookings system. Thanks, Jenny ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232196 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
Spell Checking a Textarea
Hi, Does anyone know or have an example of how to call Microsoft Word's Spell Checker thru VBScript. My users would like a me to add a textbox on a page with the spellcheck button that opens up Words Spell Checker. I have seen this done on ASPX pages but not on a CFM page. I know that there are editors (for textareas) that include spell checkers but they would like to use Word since it already has the companies dictionary added to it. Thanks Mario == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html == ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232198 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: Calendar
Jenny, Not sure if this will do. I wrote it some time ago and I am sure it will need some tweaking. Disregard the pricing info, for it is free now (with little or no support) if you are interested feel free to contact me offline. http://www.centuron.net/Products/OnlineCalendar_FullAd.cfm Brian -Original Message- From: Jennifer Gavin-Wear [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 10:33 AM To: CF-Talk Subject: Calendar Hi, Does anyone know of a good Calendar plug in for cf, please? To be used with an on line bookings system. Thanks, Jenny ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232199 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: Session Based Timer?
you could use gettickcount() to get the miliseconds.. it'd be pretty easy to store in a DB for later calculations.. Get a tick count when the start button is pushed, and get another when the end button is pushed. Then subtract the 2.. On 2/14/06, Andy Matthews [EMAIL PROTECTED] wrote: Set a SESSION.start variable containg a date/time object when she starts , then on clicking end compare Now() to that object? !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Eric J. Hoffman [mailto:[EMAIL PROTECTED] Sent: Monday, February 13, 2006 9:51 PM To: CF-Talk Subject: Session Based Timer? Okay, I am hitting some roadblocks on something that I thought would be simple, and wonder if anyone has something like this or advice for completion? I have an incoming call, and when the rep accepts the call, she hits a button on the screen. I can see that start or mark a startpoint in a session variable. Now she moves around her screens,looks this up and that, places an order...and when complete, she would hit the button again marked End. How would I capture that time difference; I assume screen to screen to screen issues are avoided by doing this...and I would like to output that session variable on the screen as she traverses to see it is working and counting upso screen one: 5 seconds. screen two: 35 seconds. The screen itself needs no javascript to actually count up. :) Thank you for any insight! I know this should be relatively simple. Eric J. Hoffman Managing Partner 2081 Industrial Blvd StillwaterMN55082 mail: [EMAIL PROTECTED] www: www.ejhassociates.com tel: 651.207.1526 fax: 651.207.1536 mob: 651.245.2717 This message contains confidential information and is intended only for [EMAIL PROTECTED] If you are not cf-talk@houseoffusion.com you should not disseminate, distribute or copy this e-mail. Please notify [EMAIL PROTECTED] immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Eric J. Hoffman therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232200 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
Recurring Events ? ex. 3rd thursday
I can't seem to wrap my head around this. Does anyone know how you loop through every third Thursday of the month in a year or every second Tuesday and so on? Emmet ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232201 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: CSS Positioning
I want to play around with using CSS instead of using tables to position things. Does anyone have some sites that they use as an example of this that I can go off of. Bob ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232202 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: Recurring Events ? ex. 3rd thursday
There are some functions on cflib that let you get X weekday of the month... -Original Message- From: Emmet McGovern [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 11:17 AM To: CF-Talk Subject: Recurring Events ? ex. 3rd thursday I can't seem to wrap my head around this. Does anyone know how you loop through every third Thursday of the month in a year or every second Tuesday and so on? Emmet ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232203 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: CSS Positioning
This would be a great place to start with CSS: http://css.maxdesign.com.au/ !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Robert Everland III [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 9:56 AM To: CF-Talk Subject: OT: CSS Positioning I want to play around with using CSS instead of using tables to position things. Does anyone have some sites that they use as an example of this that I can go off of. Bob ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232204 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: Calendar
Many thanks Brian, looks promising, will take a proper look tomorrow. I couldn't see a download link? Jenny -Original Message- From: Brian Polackoff [mailto:[EMAIL PROTECTED] Sent: 14 February 2006 15:42 To: CF-Talk Subject: RE: Calendar Jenny, Not sure if this will do. I wrote it some time ago and I am sure it will need some tweaking. Disregard the pricing info, for it is free now (with little or no support) if you are interested feel free to contact me offline. http://www.centuron.net/Products/OnlineCalendar_FullAd.cfm Brian -Original Message- From: Jennifer Gavin-Wear [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 10:33 AM To: CF-Talk Subject: Calendar Hi, Does anyone know of a good Calendar plug in for cf, please? To be used with an on line bookings system. Thanks, Jenny ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232205 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: Recurring Events ? ex. 3rd thursday
not thoroughly tested... cfscript function getEveryNthDay(dow,nth,yy) { /** * returns an array of dates containing every (nth) day of week for a given year * * @param dow the day of the week to return (integer...sunday = 1 / saturday = 7) * @param nth every (nth) day of the week (integer...1-5 are valid argument values) * @param yythe year to check * * @return an array of dates. * @author Charlie Griefer ([EMAIL PROTECTED]) * @version 1.0, February 14, 2006 */ var containerArray = arrayNew(1); var mm = ; var dd = ; var startDate = ; var dateFound = 0; if (val(dow) LT 1 OR val(dow) GT 7) { return false; } for (mm=1; mm LTE 12; mm=mm+1) { dateFound = 0; for (dd=1; dd LTE daysInMonth(createDate(yy, mm, 1)); dd=dd+1) { startDate = createDate(yy, mm, dd); if (dayOfWeek(startDate) EQ dow) { dateFound = dateFound + 1; if (dateFound EQ nth) { arrayAppend(containerArray, startDate); } } } } return containerArray; } /cfscript 3rd friday of each month (tuesday = 6): br /br / cfdump var=#getEveryNthDay(6, 3, 2006)# On 2/14/06, Emmet McGovern [EMAIL PROTECTED] wrote: I can't seem to wrap my head around this. Does anyone know how you loop through every third Thursday of the month in a year or every second Tuesday and so on? Emmet ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232206 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 Positioning
Best places would be the CSS discussion list wiki http://css-discuss.incutio.com/ A List Apart - Jeffrey Zeldman http://www.alistapart.com/ Good article is http://www.mezzoblue.com/archives/2003/11/17/css_best_pra/index.php Good luck and don't be afraid to ask questions Sandy Clark -Original Message- From: Robert Everland III [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 10:56 AM To: CF-Talk Subject: OT: CSS Positioning I want to play around with using CSS instead of using tables to position things. Does anyone have some sites that they use as an example of this that I can go off of. Bob ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232207 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: ADA compliance and PDF
Damon, Is there any work being done to allow tagged PDF's to be created by CFMX? Now that the merger is done, I'd love to see this happen. Sandy Clark -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 8:54 AM To: CF-Talk Subject: Re: ADA compliance and PDF FYI, in CF7, reports and documents produced in FlashPaper2 format are accessible. More on creeating accessible documents and reports in CF7 here: http://www.macromedia.com/macromedia/accessibility/features/coldfusion/docs. html Our VPAT (filed for ColdFusion MX 7 508 compliance) with specific details of each feature is here: http://www.macromedia.com/macromedia/accessibility/tools/vpat/coldfusion.htm l HTH Damon ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232208 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
OT: IIS and a cgi script.
trying to run a cgi script on IIS 6 (win 2003 svr). can see the script in the virtual directory. when i try and run it i'm getting file not found. have set the v/dir to have read/exec/scripts all flagged on. called the v/dir /cgi-bin so am assuming it should get found at mysite/cgi-bin/script.cgi am i missing something, please? Jenny ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232209 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: Recurring Events ? ex. 3rd thursday
ermm.. 3rd friday of each month (tuesday = 6): shoulda oughtta have read: 3rd friday of each month (friday = 6): :) -- Charlie Griefer ...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you. But first they must catch you, digger, listener, runner, prince with a swift warning. Be cunning and full of tricks and your people shall never be destroyed. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232210 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
Freeze panes
Evening, I am trying to add excel style freeze panes fucntionality to a datagrid I have built. I have done it in the following way. The table column headers is tables 1 and 2(one for static headers, one for scrollable) The row titles is table 3. The data is table4. Constructed like +--- - table 1 + table 2- - table 3 + table 4 - - + - - + - - + - Which each table in a DIV. The intention being that when you scroll table 4 up and down, tables 1 and 2 stay static and table 3 scrolls. When you scroll table 4 left and right, table 3 stays static and table 2 scrolls. Now the problem is, even before getting into the Javascript, I can't get the columns to line up between the headers (table2) and the data (table4) because they are in different tables, and table cells just make up their own mind what width they are going to me, regardless of what widths I set. Having been looking around on various DHTML/Javascript sites and found some similar tools done by others, they all suffer form the same problem. Unless the content of the column headers is the same width as the content of the data cells, they do not stay the same width and columns end up out of sync. Anyone ever found a solution to this? Russ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232211 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: IIS and a cgi script.
trying to run a cgi script on IIS 6 (win 2003 svr). can see the script in the virtual directory. when i try and run it i'm getting file not found. have set the v/dir to have read/exec/scripts all flagged on. called the v/dir /cgi-bin so am assuming it should get found at mysite/cgi-bin/script.cgi am i missing something, please? For security reasons, IIS 6 requires that you enable CGI scripts. http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/b c0c4729-e892-4871-b8f3-fcbf489f2f09.mspx 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! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232212 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
chat help
I'd love it if a few people wouldn't mind coming into my chat room that I'm building with cfajax I'd like to see how it reacts with a few people in it. http://www.opensourcecf.com/chat Please choose Test Room A thanks. rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232213 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: chat help
Hi rick, just tried your link: The web site you are accessing has experienced an unexpected error. Please contact the website administrator. The following information is meant for the website developer for debugging purposes. Error Occurred While Processing Request Invalid data for CFSQLTYPE CF_SQL_INTEGER. The error occurred in /home/opencf/public_html/chat/chat.cfc: line 54 52 :cfqueryparam cfsqltype=cf_sql_integer value=3, !--- normal response.. 2=system action, 3=emote --- 53 :cfqueryparam cfsqltype=cf_sql_varchar value=#session.chatCFC.uname#, 54 :cfqueryparam cfsqltype=cf_sql_longvarchar value=/me just joined the room. 55 :) 56 :/cfquery -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: 14 February 2006 17:47 To: CF-Talk Subject: chat help I'd love it if a few people wouldn't mind coming into my chat room that I'm building with cfajax I'd like to see how it reacts with a few people in it. http://www.opensourcecf.com/chat Please choose Test Room A thanks. rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232214 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: IIS and a cgi script.
thanks Dave .. still struggling .. will try with a fresh mind tomorrow. Cheers -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: 14 February 2006 17:36 To: CF-Talk Subject: RE: IIS and a cgi script. trying to run a cgi script on IIS 6 (win 2003 svr). can see the script in the virtual directory. when i try and run it i'm getting file not found. have set the v/dir to have read/exec/scripts all flagged on. called the v/dir /cgi-bin so am assuming it should get found at mysite/cgi-bin/script.cgi am i missing something, please? For security reasons, IIS 6 requires that you enable CGI scripts. http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Lib rary/IIS/b c0c4729-e892-4871-b8f3-fcbf489f2f09.mspx 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! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232215 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: chat help
Well, I got this: Invalid data for CFSQLTYPE CF_SQL_INTEGER. The error occurred in */home/opencf/public_html/chat/chat.cfc: line 54* 52 :cfqueryparam cfsqltype=cf_sql_integer value=3, !--- normal response.. 2=system action, 3=emote --- 53 :cfqueryparam cfsqltype=cf_sql_varchar value=#session.chatCFC.uname#, *54 : cfqueryparam cfsqltype=cf_sql_longvarchar value=/me just joined the room.* 55 :) 56 :/cfquery -- Resources: - Check the ColdFusion documentationhttp://www.macromedia.com/go/proddoc_getdocto verify that you are using the correct syntax. - Search the Knowledge Basehttp://www.macromedia.com/support/coldfusion/to find a solution to your problem. Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 Remote Address 128.104.44.155 Referrer http://www.opensourcecf.com/chat/ Date/Time 14-Feb-06 10:13 AM Stack Trace at cfchat2ecfc572745404$funcJOINCHAT.runFunction(/home/opencf/public_html/chat/chat.cfc:54) at cfchat2ecfm572745394.runPage(/home/opencf/public_html/chat/chat.cfm:6) On 2/14/06, Rick Root [EMAIL PROTECTED] wrote: I'd love it if a few people wouldn't mind coming into my chat room that I'm building with cfajax I'd like to see how it reacts with a few people in it. http://www.opensourcecf.com/chat Please choose Test Room A thanks. rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232216 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
CFC Security Flaw
I'm having a problem right now... I've setup a subdomain for an API for functions of my site. api.domain.com. The web service url is something like api.domain.com\folder\functions.cfc?wsdl It works great. But if I remove ?wsdl from the url I'm directed to cfadmin on the server. Granted, its passworded, but that's trivial, customers shouldn't even have access to this. Yet without the virtual directories, I get an error that it can't find cfcexplorer.cfc. What am I supposed to do? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232217 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: chat help
I got this when logging in... Invalid data for CFSQLTYPE CF_SQL_INTEGER. The error occurred in /home/opencf/public_html/chat/chat.cfc: line 54 52 :cfqueryparam cfsqltype=cf_sql_integer value=3, !--- normal response.. 2=system action, 3=emote --- 53 :cfqueryparam cfsqltype=cf_sql_varchar value=#session.chatCFC.uname#, 54 :cfqueryparam cfsqltype=cf_sql_longvarchar value=/me just joined the room. 55 :) 56 :/cfquery ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232218 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFC Security Flaw
This is the expected behavior as calling a CFC from an url without passing it anything 'tells' CF to try and show it in the CFC documentation tool that comes with CF. At the moment, there's nothing that can be done but someone may start looking through the .xml files that come with CF and see where the mapping to the cfexplorer exists and rewrite it. I'll log this as a minor annoyance (rather than a bug) for Adobe. I'm having a problem right now... I've setup a subdomain for an API for functions of my site. api.domain.com. The web service url is something like api.domain.com\folder\functions.cfc?wsdl It works great. But if I remove ?wsdl from the url I'm directed to cfadmin on the server. Granted, its passworded, but that's trivial, customers shouldn't even have access to this. Yet without the virtual directories, I get an error that it can't find cfcexplorer.cfc. What am I supposed to do? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232219 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: chat help
Thanks, that's really weird, about 10 people or so go in successfully and the error message refers to an invalid data type for CF_SQL_INTEGER but the line it refers to is CF_SQL_LONGVARCHAR (it's a mysql TEXT datatype). Curious. Thanks to everyone who dropped in. Rick Jennifer Gavin-Wear wrote: Hi rick, just tried your link: The web site you are accessing has experienced an unexpected error. Please contact the website administrator. The following information is meant for the website developer for debugging purposes. Error Occurred While Processing Request Invalid data for CFSQLTYPE CF_SQL_INTEGER. The error occurred in /home/opencf/public_html/chat/chat.cfc: line 54 52 : cfqueryparam cfsqltype=cf_sql_integer value=3, !--- normal response.. 2=system action, 3=emote --- 53 : cfqueryparam cfsqltype=cf_sql_varchar value=#session.chatCFC.uname#, 54 : cfqueryparam cfsqltype=cf_sql_longvarchar value=/me just joined the room. 55 : ) 56 : /cfquery -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: 14 February 2006 17:47 To: CF-Talk Subject: chat help I'd love it if a few people wouldn't mind coming into my chat room that I'm building with cfajax I'd like to see how it reacts with a few people in it. http://www.opensourcecf.com/chat Please choose Test Room A thanks. rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232220 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: CFC Security Flaw
Thanks Michael Though its a bit more than a minor annoyance. I mean sure the cf admin is pretty solidly secure. But the first line of security with it is the inability for the public to access it, or at least access it easily. The current customer this api is being written for is pretty stand-up, I don't expect any havoc from them, but plans to open this up to other customers have to be delayed. I'm sure its not a bug, but I think it wasn't very well planned. On 2/14/06, Michael Dinowitz [EMAIL PROTECTED] wrote: This is the expected behavior as calling a CFC from an url without passing it anything 'tells' CF to try and show it in the CFC documentation tool that comes with CF. At the moment, there's nothing that can be done but someone may start looking through the .xml files that come with CF and see where the mapping to the cfexplorer exists and rewrite it. I'll log this as a minor annoyance (rather than a bug) for Adobe. I'm having a problem right now... I've setup a subdomain for an API for functions of my site. api.domain.com. The web service url is something like api.domain.com\folder\functions.cfc?wsdl It works great. But if I remove ?wsdl from the url I'm directed to cfadmin on the server. Granted, its passworded, but that's trivial, customers shouldn't even have access to this. Yet without the virtual directories, I get an error that it can't find cfcexplorer.cfc. What am I supposed to do? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232221 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFC Security Flaw
You're not actually going to the CF admin, just the CF admin login page. Once you log in, you'll be taken to the CFC explorer, not the admin. The solution is to not put the CFIDE directory on your domain. Set up another private domain (ideally only accessible from within your server infrastructure) that hosts the admin area. You will have to put part of the contents on your real domain if you use CFWDDX with JS and/or CFFORM, but there are no security implications to that, as they're designed to be public facing. Once you remove the directory, then you'll get 404 errors when you try and browse to a CFC without ?wsdl or ?method. If you want to deal with that, just use a standard 404 template as you would for any other missing page. cheers, barneyb On 2/14/06, Tony Hicks [EMAIL PROTECTED] wrote: I'm having a problem right now... I've setup a subdomain for an API for functions of my site. api.domain.com. The web service url is something like api.domain.com\folder\functions.cfc?wsdl It works great. But if I remove ?wsdl from the url I'm directed to cfadmin on the server. Granted, its passworded, but that's trivial, customers shouldn't even have access to this. Yet without the virtual directories, I get an error that it can't find cfcexplorer.cfc. What am I supposed to do? -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 100 invites. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:23 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: Recurring Events ? ex. 3rd thursday
Thank You Charlie! That works perfect. -e -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 12:10 PM To: CF-Talk Subject: Re: Recurring Events ? ex. 3rd thursday not thoroughly tested... cfscript function getEveryNthDay(dow,nth,yy) { /** * returns an array of dates containing every (nth) day of week for a given year * * @param dow the day of the week to return (integer...sunday = 1 / saturday = 7) * @param nth every (nth) day of the week (integer...1-5 are valid argument values) * @param yythe year to check * * @return an array of dates. * @author Charlie Griefer ([EMAIL PROTECTED]) * @version 1.0, February 14, 2006 */ var containerArray = arrayNew(1); var mm = ; var dd = ; var startDate = ; var dateFound = 0; if (val(dow) LT 1 OR val(dow) GT 7) { return false; } for (mm=1; mm LTE 12; mm=mm+1) { dateFound = 0; for (dd=1; dd LTE daysInMonth(createDate(yy, mm, 1)); dd=dd+1) { startDate = createDate(yy, mm, dd); if (dayOfWeek(startDate) EQ dow) { dateFound = dateFound + 1; if (dateFound EQ nth) { arrayAppend(containerArray, startDate); } } } } return containerArray; } /cfscript 3rd friday of each month (tuesday = 6): br /br / cfdump var=#getEveryNthDay(6, 3, 2006)# On 2/14/06, Emmet McGovern [EMAIL PROTECTED] wrote: I can't seem to wrap my head around this. Does anyone know how you loop through every third Thursday of the month in a year or every second Tuesday and so on? Emmet ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232223 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFC Security Flaw
-Original Message- From: Tony Hicks [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 1:10 PM To: CF-Talk Subject: CFC Security Flaw I'm having a problem right now... I've setup a subdomain for an API for functions of my site. api.domain.com. The web service url is something like api.domain.com\folder\functions.cfc?wsdl Since you appear to have control over the server I highly recommend that you protect the CFAdmin folder using operating-system-level protection as well. That way you'll still get errors in this case (it's okay to give errors when somebody does something they're not supposed to) but you'll get a stronger OS-level security on the folder. You should also be able to mask the folder to specific IP addresses only (many people restrict it to local console access only) and so forth. Remember: the CF Admin is just a web application - you should protect it like you would any other one with those kinds of capabilities. Jim Davis ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232224 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
CF Round Behavior
Hi all, I have a question on Round() function behavior of CF. When I do #Round(35.5)#, it will give me 36 but when I do #Round(-35.5)#, it will give me -35. But when I give #Round(-35.6)#, it will give me -36. So I am just wondering is it a bug or is that suppose to be that way? Thanks Regards, Pine ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232225 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: Spell Checking a Textarea
You should be able to use the examples you have seen with ASPX, as the vbscript you are using will be client side...so the backend shouldn't really matter. And, as I'm sure you know, this will be IE only, and only if the security settings in IE allow it. On 2/14/06, Ciliotta, Mario [EMAIL PROTECTED] wrote: Hi, Does anyone know or have an example of how to call Microsoft Word's Spell Checker thru VBScript. My users would like a me to add a textbox on a page with the spellcheck button that opens up Words Spell Checker. I have seen this done on ASPX pages but not on a CFM page. I know that there are editors (for textareas) that include spell checkers but they would like to use Word since it already has the companies dictionary added to it. Thanks Mario == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html == ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232226 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 Round Behavior
Round always rounds up, that is +1, so with a negative number it goes from - 35.5 to just -35, it rounded up. On 2/14/06, PINE Phyo Z [EMAIL PROTECTED] wrote: Hi all, I have a question on Round() function behavior of CF. When I do #Round(35.5)#, it will give me 36 but when I do #Round(-35.5)#, it will give me -35. But when I give #Round(-35.6)#, it will give me -36. So I am just wondering is it a bug or is that suppose to be that way? Thanks Regards, Pine ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232227 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
Really have to use IsDefined(varname) to test for java null?
Ok, I've seen that to test a cf variable against null (from a java method call that can return null), you have to do this: cfscript x = someJavaObj.methodCall(); if (IsDefined('x)) { //x is not null } else { // x is null } /cfscript Is there no way to do this with a UDF, or something? I figure you can't, because the (unquoted) variable doesn't exist anymore (literally is not defined), but man, this sucks for readability (where an IsNull() test or something would be nice), and IsDefined() won't work to test against a method call directly, so you have to introduce a variable name. Was this improved in CFMX 7.0? Thanks Mark ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232228 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 Round Behavior
IIRC my high school and college math courses, this is the proper rounding behavior according to mathematic standards. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232229 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 Round Behavior
Ok. Then, why -35.6 does not round up to -35 ? #Round(-35.6)# actually shows -36. That kinda confuses me. Thanks, Pine Round always rounds up, that is +1, so with a negative number it goes from - 35.5 to just -35, it rounded up. On 2/14/06, PINE Phyo Z [EMAIL PROTECTED] wrote: ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232230 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 Round Behavior
Ok. Then, why -35.6 does not round up to -35 ? #Round(-35.6)# actually shows -36. That kinda confuses me. Thanks, Pine Round always rounds up, that is +1, so with a negative number it goes from - 35.5 to just -35, it rounded up. On 2/14/06, PINE Phyo Z [EMAIL PROTECTED] wrote: ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232231 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 Round Behavior
This is true. It's supposed to work that way. If you want it to round negative numbers down you'll need to round the absolute value of the number and then if it was originally lt 0, convert it back to a negative: round(abs(x))*-1 Ian Skinner wrote: IIRC my high school and college math courses, this is the proper rounding behavior according to mathematic standards. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232232 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 Round Behavior
-35.6 rounds to 36 in the same way that 35.4 rounds to 35. Phyo Pine wrote: Ok. Then, why -35.6 does not round up to -35 ? #Round(-35.6)# actually shows -36. That kinda confuses me. Thanks, Pine Round always rounds up, that is +1, so with a negative number it goes from - 35.5 to just -35, it rounded up. On 2/14/06, PINE Phyo Z [EMAIL PROTECTED] wrote: ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232233 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 faster with cf5
Hi, I need to parse round about 1400 xml-files to import/update some data in a db irregularly (integrated in a tool I'm creating) That tool will work on a server running cf5, so I downloaded soxml, but the problem is that its running very slow. (well, I didn't gamble with xml-content for a while, so I don't know if mx is faster, but.. ) does anybody has an idea about a faster solution or anything else..? thx -- Sebastian Mork [EMAIL PROTECTED] ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232234 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 Round Behavior
Ok. Then, why -35.6 does not round up to -35 ? #Round(-35.6)# actually shows -36. That kinda confuses me. Thanks, Pine Because it is closer to -36, it is the mirror image of +35.4 rounding to 35. The middle .5 is the special case that is always rounded up (ie in the positive direction). Rounding from -35.5 to -36 would be down (ie in the negative direction). It all goes back to that number line thing. -5 -4 -3 -2 -1 0 +1 +2 +3 +4 +5 Rounding of 1/2 will always be to the right, the positive direction. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232235 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: Freeze panes
Snake wrote: +--- - table 1 + table 2- - table 3 + table 4 - - + - - + - - + - Now the problem is, even before getting into the Javascript, I can't get the columns to line up between the headers (table2) and the data (table4) because they are in different tables, and table cells just make up their own mind what width they are going to me, regardless of what widths I set. Use something like: style type=text/css col { width: 123px; } /style table colcolcolcol tr th th th th /tr /table table colcolcolcol tr td td td td /tr tr etc. /table Anyone ever found a solution to this? It is supposed to work something like this: style type=text/css tbody { height: 12em; overflow: scroll; padding: 20px; } col { width: 300px; padding: 20px; } colgroup { width: 400px; overflow: scroll; } /style table colgroup col /colgroup colgroup col col /colgroup thead tr thh/th thh/th thh/th /tr /thead tfoot tr thf/th thf/th thf/th /tr /tfoot tbody tr td1/td td1/td td1/td /tr tr td2/td td2/td td2/td /tr tr td3/td td3/td td3/td /tr tr td4/td td4/td td4/td /tr tr td5/td td5/td td5/td /tr /tbody /table Unfortunately browsers aren't quite there yet. Mozilla does the vertical scrolling correctly (though ugly because of the horizontal scroll bar), but ignores the horizontal scrolling. IE ignores everything (but with the current Beta of IE7 now is the time to email [EMAIL PROTECTED]). Jochem ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232236 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: Autodetect system DSN's?
Emmet McGovern wrote: I may be wrong but didn't CF5 automatically pick up ODBC system DSN's? Is there a way for CFMX to know if a system DSN is there? cfregistry action=getAll branch=HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources type=Any name=RegQuery Jochem ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232237 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 Round Behavior
cfloop from=1 to=9 index=i cfoutput cfset a = -1*(35 + (i/10)) #a# = #round(a)#br /cfoutput /cfloop -35.1 = -35 -35.2 = -35 -35.3 = -35 -35.4 = -35 -35.5 = -35 -35.6 = -36 -35.7 = -36 -35.8 = -36 -35.9 = -36 You see, the .5 still rounds up, which is -35. The .6 rounds down to -36, as it is one of the 4 smallest (think most negative) tenths in the range or -35.1 through -35.9. /plaintextbr br Phyo Pine wrote: blockquote cite=[EMAIL PROTECTED] type=cite pre wrap=Ok. Then, why -35.6 does not round up to -35 ? #Round(-35.6)# actually shows -36. That kinda confuses me. Thanks, Pine /pre blockquote type=cite pre wrap=Round always rounds up, that is +1, so with a negative number it goes from - 35.5 to just -35, it rounded up. On 2/14/06, PINE Phyo Z lt;[EMAIL PROTECTED]gt; wrote: /pre /blockquote pre wrap=! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232238 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 Round Behavior
-36.0 || -35.9 || -35.8 || -35.7 || -35.6 -35.5 -35.4 || -35.3 || -35.2 || -35.1 || -35.0 The number, negative 35.6, should get rounded up to negative 36. hth charlie hanlon - Original Message - From: Ian Skinner [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, February 14, 2006 2:35 PM Subject: RE: CF Round Behavior Ok. Then, why -35.6 does not round up to -35 ? #Round(-35.6)# actually shows -36. That kinda confuses me. Thanks, Pine Because it is closer to -36, it is the mirror image of +35.4 rounding to 35. The middle .5 is the special case that is always rounded up (ie in the positive direction). Rounding from -35.5 to -36 would be down (ie in the negative direction). It all goes back to that number line thing. -5 -4 -3 -2 -1 0 +1 +2 +3 +4 +5 Rounding of 1/2 will always be to the right, the positive direction. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232239 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFC Security Flaw
Good points. Thanks for the tips. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232240 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
CFC, PHP and SSL
In a previous thread, I mentioned a cfc that I am building. The CFC works great but its having issues when called to the secure server from a php script... It returns a warning and the return value but it is very problematic. A little bit of Googling has turned up nothing on this error and there's nothing very specific about it... I'm hoping that someone has seen similar errors from cf, php, asp, etc and can tell me if the problem is on my end, theirs, or in-between and what exactly the problem is. The PHP Warning is PHP Warning: SoapClient::__doRequest(): SSL: fatal protocol error in [filename] at [line #] ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232241 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFC, PHP and SSL
You have a an error within your php script. Does your server have cURL installed on it? Are you using a third-party library for PHP to do the invoking? Cheers, Kevin -Original Message- From: Tony Hicks [mailto:[EMAIL PROTECTED] Sent: February 14, 2006 2:16 PM To: CF-Talk Subject: CFC, PHP and SSL In a previous thread, I mentioned a cfc that I am building. The CFC works great but its having issues when called to the secure server from a php script... It returns a warning and the return value but it is very problematic. A little bit of Googling has turned up nothing on this error and there's nothing very specific about it... I'm hoping that someone has seen similar errors from cf, php, asp, etc and can tell me if the problem is on my end, theirs, or in-between and what exactly the problem is. The PHP Warning is PHP Warning: SoapClient::__doRequest(): SSL: fatal protocol error in [filename] at [line #] ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232242 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: CFC, PHP and SSL
Are you running PHP5 with the SoapClient extension properly installed? !K -Original Message- From: Tony Hicks [mailto:[EMAIL PROTECTED] Sent: February 14, 2006 2:16 PM To: CF-Talk Subject: CFC, PHP and SSL In a previous thread, I mentioned a cfc that I am building. The CFC works great but its having issues when called to the secure server from a php script... It returns a warning and the return value but it is very problematic. A little bit of Googling has turned up nothing on this error and there's nothing very specific about it... I'm hoping that someone has seen similar errors from cf, php, asp, etc and can tell me if the problem is on my end, theirs, or in-between and what exactly the problem is. The PHP Warning is PHP Warning: SoapClient::__doRequest(): SSL: fatal protocol error in [filename] at [line #] ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232243 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: CFC, PHP and SSL
Well its not my script, its a partner site trying to invoke the script... So it will take some time to get back to you but I'll forward the message to their developer. Thanks! On 2/14/06, Kevin Aebig [EMAIL PROTECTED] wrote: You have a an error within your php script. Does your server have cURL installed on it? Are you using a third-party library for PHP to do the invoking? Cheers, Kevin -Original Message- From: Tony Hicks [mailto:[EMAIL PROTECTED] Sent: February 14, 2006 2:16 PM To: CF-Talk Subject: CFC, PHP and SSL In a previous thread, I mentioned a cfc that I am building. The CFC works great but its having issues when called to the secure server from a php script... It returns a warning and the return value but it is very problematic. A little bit of Googling has turned up nothing on this error and there's nothing very specific about it... I'm hoping that someone has seen similar errors from cf, php, asp, etc and can tell me if the problem is on my end, theirs, or in-between and what exactly the problem is. The PHP Warning is PHP Warning: SoapClient::__doRequest(): SSL: fatal protocol error in [filename] at [line #] ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232244 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: chat help
worked ok at 1.30pm mountain standard time... just there was no one else there to chat to! Andrew I'd love it if a few people wouldn't mind coming into my chat room that I'm building with cfajax I'd like to see how it reacts with a few people in it. http://www.opensourcecf.com/chat Please choose Test Room A thanks. rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232245 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFC, PHP and SSL
If they've used this with other services, it might mean that your webservice is faulty and returning back an error page (HTML) instead of an xml soap fault. I've heard of it not handling this correctly, so ask them to pull the request with getLastResponse and let you know what they find. If anything, it should show you what the server is choking on. FYI and the archives: Info on the extension (WFW): http://www.zend.com/php5/articles/php5-SOAP.php?article=php5-SOAPkind=php5; id=8440open=1anc=7129view=1 Check out the following for solid SOAP kits: http://pear.php.net/ http://dietrich.ganx4.com/nusoap http://ez.no/ Cheers, Kevin -Original Message- From: Tony Hicks [mailto:[EMAIL PROTECTED] Sent: February 14, 2006 2:32 PM To: CF-Talk Subject: Re: CFC, PHP and SSL Well its not my script, its a partner site trying to invoke the script... So it will take some time to get back to you but I'll forward the message to their developer. Thanks! On 2/14/06, Kevin Aebig [EMAIL PROTECTED] wrote: You have a an error within your php script. Does your server have cURL installed on it? Are you using a third-party library for PHP to do the invoking? Cheers, Kevin -Original Message- From: Tony Hicks [mailto:[EMAIL PROTECTED] Sent: February 14, 2006 2:16 PM To: CF-Talk Subject: CFC, PHP and SSL In a previous thread, I mentioned a cfc that I am building. The CFC works great but its having issues when called to the secure server from a php script... It returns a warning and the return value but it is very problematic. A little bit of Googling has turned up nothing on this error and there's nothing very specific about it... I'm hoping that someone has seen similar errors from cf, php, asp, etc and can tell me if the problem is on my end, theirs, or in-between and what exactly the problem is. The PHP Warning is PHP Warning: SoapClient::__doRequest(): SSL: fatal protocol error in [filename] at [line #] ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232246 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: parsing xml faster with cf5
hmm using XML2DOM rather than XML2CF is much faster .. so long :) -- Sebastian Mork [EMAIL PROTECTED] -- On Tue, 14 Feb 2006 20:33:15 +0100 Sebastian Mork [EMAIL PROTECTED] wrote: Hi, I need to parse round about 1400 xml-files to import/update some data in a db irregularly (integrated in a tool I'm creating) That tool will work on a server running cf5, so I downloaded soxml, but the problem is that its running very slow. (well, I didn't gamble with xml-content for a while, so I don't know if mx is faster, but.. ) does anybody has an idea about a faster solution or anything else..? thx -- Sebastian Mork [EMAIL PROTECTED] ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232247 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: CFC, PHP and SSL
Thanks a lot man, that's all very useful stuff to know. Have a good day. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232248 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 Round Behavior
Finally, I got it. Thanks a lot. My maths must be rusty!! Regards, Pine cfloop from=1 to=9 index=i cfoutput cfset a = -1*(35 + (i/10)) #a# = #round(a)#br /cfoutput /cfloop -35.1 = -35 -35.2 = -35 -35.3 = -35 -35.4 = -35 -35.5 = -35 -35.6 = -36 -35.7 = -36 -35.8 = -36 -35.9 = -36 You see, the .5 still rounds up, which is -35. The .6 rounds down to -36, as it is one of the 4 smallest (think most negative) tenths in the range or -35.1 through -35.9. /plaintextbr br Phyo Pine wrote: blockquote cite=[EMAIL PROTECTED] type=cite pre wrap=Ok. Then, why -35.6 does not round up to -35 ? #Round(-35.6)# actually shows -36. That kinda confuses me. Thanks, Pine /pre blockquote type=cite pre wrap=Round always rounds up, that is +1, so with a negative number it goes from - 35.5 to just -35, it rounded up. On 2/14/06, PINE Phyo Z lt;[EMAIL PROTECTED]gt; wrote: /pre /blockquote pre wrap=! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232249 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 Round Behavior
Thanks Ian. Finally, understood. My maths must be rusty. Ok. Then, why -35.6 does not round up to -35 ? #Round(-35.6)# actually shows -36. That kinda confuses me. Thanks, Pine Because it is closer to -36, it is the mirror image of +35.4 rounding to 35. The middle .5 is the special case that is always rounded up (ie in the positive direction). Rounding from -35.5 to -36 would be down (ie in the negative direction). It all goes back to that number line thing. -5 -4 -3 -2 -1 0 +1 +2 +3 +4 +5 Rounding of 1/2 will always be to the right, the positive direction. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232250 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] Future CF Features
This is a follow up from another post about what happens when someone removes the ?wsdl from a web service CFC. I'd like to have my first request be either an admin setting or something else to redirect or choose where to go when a .cfc is loaded directly in an url without any passed variables. The second request deals with CFPARAM with the type attribute set. If this fails, an error is thrown. In order to deal with the error, the CFPARAM tag has to be within a try/catch. If we know an error may be thrown from this tag, why not give the tag the ability to deal with the error. My suggestion is to keep the tag as is but add the ability to put a closing CFPARAM tag. What will be placed between the start and end CFPARAM tags is the code that will be run if there is an error. CFPARAM name=id type=numeric error processing code here to deal with the the id not existing or not being numeric /CFPARAM ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232251 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 Positioning
The csss-discuss wiki is an awesome resource: http://css-discuss.incutio.com/?page=FrontPage I would recommend playing with some of the example layouts that are listed on there, especially to start with - no point reinventing the wheel, right? HTH, K. -- Kay Smoljak http://kay.zombiecoder.com/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232252 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: [OT] Future CF Features
I had a similar idea ages ago except I think that the setting of the var should still happen if the type check fails. cfset myID = not an ID, a string! cfparam name=myID type=numeric default=0 !--- By here myID would be 0 and no error thrown --- Adrian P.S. Did you get my last few emails Mike? I sent the files and a follow-up email but no reply. -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 14 February 2006 20:12 To: CF-Talk Subject: [OT] Future CF Features This is a follow up from another post about what happens when someone removes the ?wsdl from a web service CFC. I'd like to have my first request be either an admin setting or something else to redirect or choose where to go when a .cfc is loaded directly in an url without any passed variables. The second request deals with CFPARAM with the type attribute set. If this fails, an error is thrown. In order to deal with the error, the CFPARAM tag has to be within a try/catch. If we know an error may be thrown from this tag, why not give the tag the ability to deal with the error. My suggestion is to keep the tag as is but add the ability to put a closing CFPARAM tag. What will be placed between the start and end CFPARAM tags is the code that will be run if there is an error. CFPARAM name=id type=numeric error processing code here to deal with the the id not existing or not being numeric /CFPARAM ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232253 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
Open PDF
Using CF 7 and had written some code to open files that were uploads. Txt, Doc, PDF etc. This all had been working, only difference is we moved code onto new servers when we moved hosting. The process was. Display Page will all documents. Click on link to display document This would open a new windows and display the doc. That window would run this and open the file, maybe over kill on header stuff I know, I have added and removed stuff with no success. cfheader name=Content-Length value=#documentSelect.filesize# cfheader name=Content-Type value=#documentSelect.mimeType# cfheader name=Content-Location value=#URLEncodedFormat(documentSelect.savedName)# cfheader name=Content-Disposition value=inline; filename=#documentSelect.name#.#documentSelect.fileType# cfheader name=Expires value=#Now()# cfcontent type=#documentSelect.mimeType# file=#destinationFolder##documentSelect.savedName# Now the window flashes open for PDF's and then closes and prompts to download the PDF. Any thoughts? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232254 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: Open PDF
Sounds like a browser setting to me. It would do that in my browser because I have set all pdfs to download and then I can open them in the standalone acrobat reader. On 2/14/06, Brian Peddle [EMAIL PROTECTED] wrote: Using CF 7 and had written some code to open files that were uploads. Txt, Doc, PDF etc. This all had been working, only difference is we moved code onto new servers when we moved hosting. The process was. Display Page will all documents. Click on link to display document This would open a new windows and display the doc. That window would run this and open the file, maybe over kill on header stuff I know, I have added and removed stuff with no success. cfheader name=Content-Length value=#documentSelect.filesize# cfheader name=Content-Type value=#documentSelect.mimeType# cfheader name=Content-Location value=#URLEncodedFormat(documentSelect.savedName)# cfheader name=Content-Disposition value=inline; filename=#documentSelect.name#.#documentSelect.fileType# cfheader name=Expires value=#Now()# cfcontent type=#documentSelect.mimeType# file=#destinationFolder##documentSelect.savedName# Now the window flashes open for PDF's and then closes and prompts to download the PDF. Any thoughts? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232255 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: Freeze panes
I wrote an application that does this across frames...I used the good old brute force method of a transparent gif that is sized equally in one row of td's in each table. If I were to re-write it now (it's about 3yo), I'd try to find some more elegent method. The javascript was fun. Luckily the client was IE only, so I only had to debug it there. Anyone ever found a solution to this? Russ -- Jim Wright Wright Business Solutions [EMAIL PROTECTED] 919-417-2257 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232256 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: Open PDF
Earlier today I download the coldfusion journal right inside the browser, no issues. -Original Message- From: Ryan Guill [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 4:23 PM To: CF-Talk Subject: Re: Open PDF Sounds like a browser setting to me. It would do that in my browser because I have set all pdfs to download and then I can open them in the standalone acrobat reader. On 2/14/06, Brian Peddle [EMAIL PROTECTED] wrote: Using CF 7 and had written some code to open files that were uploads. Txt, Doc, PDF etc. This all had been working, only difference is we moved code onto new servers when we moved hosting. The process was. Display Page will all documents. Click on link to display document This would open a new windows and display the doc. That window would run this and open the file, maybe over kill on header stuff I know, I have added and removed stuff with no success. cfheader name=Content-Length value=#documentSelect.filesize# cfheader name=Content-Type value=#documentSelect.mimeType# cfheader name=Content-Location value=#URLEncodedFormat(documentSelect.savedName)# cfheader name=Content-Disposition value=inline; filename=#documentSelect.name#.#documentSelect.fileType# cfheader name=Expires value=#Now()# cfcontent type=#documentSelect.mimeType# file=#destinationFolder##documentSelect.savedName# Now the window flashes open for PDF's and then closes and prompts to download the PDF. Any thoughts? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232257 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: Freeze panes
Well, if you want to come over to the dark side, you could try to get this flash sample to work with two cfgrids: http://cfpim.coffeeflower.com/freezePane/ Blog about it: http://cfpim.blogspot.com/2005/04/datagrid-freeze-pane.html ~Brad ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232258 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: Open PDF
Found the issue and not sure why its happening. When someone uploads file I capture mime-type, its saving as image/pdf instead of application/pdf. Is there a server setting for this? -Original Message- From: Brian Peddle [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 4:19 PM To: CF-Talk Subject: Open PDF Using CF 7 and had written some code to open files that were uploads. Txt, Doc, PDF etc. This all had been working, only difference is we moved code onto new servers when we moved hosting. The process was. Display Page will all documents. Click on link to display document This would open a new windows and display the doc. That window would run this and open the file, maybe over kill on header stuff I know, I have added and removed stuff with no success. cfheader name=Content-Length value=#documentSelect.filesize# cfheader name=Content-Type value=#documentSelect.mimeType# cfheader name=Content-Location value=#URLEncodedFormat(documentSelect.savedName)# cfheader name=Content-Disposition value=inline; filename=#documentSelect.name#.#documentSelect.fileType# cfheader name=Expires value=#Now()# cfcontent type=#documentSelect.mimeType# file=#destinationFolder##documentSelect.savedName# Now the window flashes open for PDF's and then closes and prompts to download the PDF. Any thoughts? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232259 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: Open PDF
No...it's got to be a server setting... !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Ryan Guill [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 3:23 PM To: CF-Talk Subject: Re: Open PDF Sounds like a browser setting to me. It would do that in my browser because I have set all pdfs to download and then I can open them in the standalone acrobat reader. On 2/14/06, Brian Peddle [EMAIL PROTECTED] wrote: Using CF 7 and had written some code to open files that were uploads. Txt, Doc, PDF etc. This all had been working, only difference is we moved code onto new servers when we moved hosting. The process was. Display Page will all documents. Click on link to display document This would open a new windows and display the doc. That window would run this and open the file, maybe over kill on header stuff I know, I have added and removed stuff with no success. cfheader name=Content-Length value=#documentSelect.filesize# cfheader name=Content-Type value=#documentSelect.mimeType# cfheader name=Content-Location value=#URLEncodedFormat(documentSelect.savedName)# cfheader name=Content-Disposition value=inline; filename=#documentSelect.name#.#documentSelect.fileType# cfheader name=Expires value=#Now()# cfcontent type=#documentSelect.mimeType# file=#destinationFolder##documentSelect.savedName# Now the window flashes open for PDF's and then closes and prompts to download the PDF. Any thoughts? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232260 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: DOM
Hi, I need to parse (as I wrote) xml-Files to store/update data in a db on a server running cf5.. So I'm using soxml to create a DOM object. (usng XML2DOM because XML2CF is much too slow..) Can anybody give some tips about how to handle this..? E.g. I can access a node 'contact' in the root-element 'shop' by: cf_SOXML action=XML2DOM input=strXml.currLoopXMLCont# output=oShopsXML / cfloop collection=#oShopsXML.selectNodes(osp:Shop/Contact)# item=idxShop cfscript ndPulicMail = idxShop.selectSingleNode(PublicMailAddress); /cfscript cfoutput #ndPulicMail.Text# /cfoutput /cfloop But how e.g. can I access Payment/Item/Name in shop? Payment Item Namedebit/Name /Item Item Nameon delivery/Name Surcharge6/Surcharge /Item Item Nameinvoice/Name /Item /Payment cfset oPayment=oShopsXML.getElementsByTagName(Payment) cfloop collection=#oPayment# item=pm !--- how can I access item/name here? --- /cfloop maybe someone has a good source about dom? thx -- Sebastian Mork [EMAIL PROTECTED] ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232261 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] Future CF Features
I like Adrian's suggestion. If the cfparam check fails, then use the default. Why should we have to reset the default a second time? It's not necessary. M!ke -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 3:17 PM To: CF-Talk Subject: RE: [OT] Future CF Features I had a similar idea ages ago except I think that the setting of the var should still happen if the type check fails. cfset myID = not an ID, a string! cfparam name=myID type=numeric default=0 !--- By here myID would be 0 and no error thrown --- Adrian P.S. Did you get my last few emails Mike? I sent the files and a follow-up email but no reply. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232262 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: Open PDF
What do you do to capture the mime-type? On 2/14/06, Brian Peddle [EMAIL PROTECTED] wrote: Found the issue and not sure why its happening. When someone uploads file I capture mime-type, its saving as image/pdf instead of application/pdf. Is there a server setting for this? -Original Message- From: Brian Peddle [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 4:19 PM To: CF-Talk Subject: Open PDF Using CF 7 and had written some code to open files that were uploads. Txt, Doc, PDF etc. This all had been working, only difference is we moved code onto new servers when we moved hosting. The process was. Display Page will all documents. Click on link to display document This would open a new windows and display the doc. That window would run this and open the file, maybe over kill on header stuff I know, I have added and removed stuff with no success. cfheader name=Content-Length value=#documentSelect.filesize# cfheader name=Content-Type value=#documentSelect.mimeType# cfheader name=Content-Location value=#URLEncodedFormat(documentSelect.savedName)# cfheader name=Content-Disposition value=inline; filename=#documentSelect.name#.#documentSelect.fileType# cfheader name=Expires value=#Now()# cfcontent type=#documentSelect.mimeType# file=#destinationFolder##documentSelect.savedName# Now the window flashes open for PDF's and then closes and prompts to download the PDF. Any thoughts? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232263 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
cffile copy
OK, rewriting some old code here, and I have a question. I'm seeing two different things happening here. In one instance it says cffile action='copy' source='#thefullsourcefilepath#' destination='#afulldestinationpathwithfilename#' in another instance it reads like cffile action='copy' source='#thefullsourcefilepath# destination='#justapathwithoutafilename#' and yet another instance reads cffile action='copy' source='#thefullsourcefilepath#' destination='#justapathwithoutafilename#' cffile action='rename' source='#thisnewfilepathandname#' destination='#samepathwithnewfilename#' It seems to me that the first option makes the most sense. LiveDocs says that action='copy' can take just a path or a path with filename for the destination attribute, but if the intent of the code is to rename the file in the new location anyway then option 1 seems like the best option. Anybody have any insight here. I'm starting to get confused Cutter ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232264 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: cffile copy
Yup you're right, the first one seems better. I guess whoever wrote that code didn't know you could copy and rename in one go. Adrian -Original Message- From: Cutter (CF-Talk) [mailto:[EMAIL PROTECTED] Sent: 14 February 2006 21:50 To: CF-Talk Subject: cffile copy OK, rewriting some old code here, and I have a question. I'm seeing two different things happening here. In one instance it says cffile action='copy' source='#thefullsourcefilepath#' destination='#afulldestinationpathwithfilename#' in another instance it reads like cffile action='copy' source='#thefullsourcefilepath# destination='#justapathwithoutafilename#' and yet another instance reads cffile action='copy' source='#thefullsourcefilepath#' destination='#justapathwithoutafilename#' cffile action='rename' source='#thisnewfilepathandname#' destination='#samepathwithnewfilename#' It seems to me that the first option makes the most sense. LiveDocs says that action='copy' can take just a path or a path with filename for the destination attribute, but if the intent of the code is to rename the file in the new location anyway then option 1 seems like the best option. Anybody have any insight here. I'm starting to get confused Cutter ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232266 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
SOT: coldfusion and SQL2005
I am trying to configure 2 new servers and getting fumed about BS microsoft CAL crap. Both systems will be dual core/dual processors. One will be a dedicated SQL server and the other will be a dedicated web server. Has anyone configed a new server setup with MS sql 2005 x64 and windows 2003 server x64. From what I am beginning to understand that we need to go with a way overpriced Processor license for MS SQL2005 and two of them at that for the two seperate processors or are dual core chips counted as one or two physical processors?? If they are counted that makes 4. Has anyone recently configged a new server, can you tell me about how your CAL licensing worked with the web server and coldfusion? Thanks, Jeff ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232267 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] Future CF Features
My example left out the default. If a CFPARAM exists with a name but no default, it throws an error if the variable does not exist. i.e. it's saying that the variable has to exist. If I read your idea right, any error will result in the default being used so if myID is a string, rather than an error we'll get a value of 0 for the variable. My idea makes the handling of the error something that can be coded where your approach forces a default value on error. It also doesn't address when the tag is used without a default. I actually have to email you. I moved your mail to a must reply folder which is top of my list to do. Tonight (and thanks). :) I had a similar idea ages ago except I think that the setting of the var should still happen if the type check fails. cfset myID = not an ID, a string! cfparam name=myID type=numeric default=0 !--- By here myID would be 0 and no error thrown --- Adrian P.S. Did you get my last few emails Mike? I sent the files and a follow-up email but no reply. -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: 14 February 2006 20:12 To: CF-Talk Subject: [OT] Future CF Features This is a follow up from another post about what happens when someone removes the ?wsdl from a web service CFC. I'd like to have my first request be either an admin setting or something else to redirect or choose where to go when a .cfc is loaded directly in an url without any passed variables. The second request deals with CFPARAM with the type attribute set. If this fails, an error is thrown. In order to deal with the error, the CFPARAM tag has to be within a try/catch. If we know an error may be thrown from this tag, why not give the tag the ability to deal with the error. My suggestion is to keep the tag as is but add the ability to put a closing CFPARAM tag. What will be placed between the start and end CFPARAM tags is the code that will be run if there is an error. CFPARAM name=id type=numeric error processing code here to deal with the the id not existing or not being numeric /CFPARAM ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232268 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: Freeze panes
Ah the flash solution might almost work, apart form the fact I have 1 custom requirement. In order to make it hard for people to copy the data, the client had me made it so the data is broken down into categories, and each category expands/collapes to show the data under it, so only 1 is visiable at a time. Just to complicate matters a bit more. Russ -Original Message- From: Brad Wood [mailto:[EMAIL PROTECTED] Sent: 14 February 2006 21:34 To: CF-Talk Subject: RE: Freeze panes Well, if you want to come over to the dark side, you could try to get this flash sample to work with two cfgrids: http://cfpim.coffeeflower.com/freezePane/ Blog about it: http://cfpim.blogspot.com/2005/04/datagrid-freeze-pane.html ~Brad ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232269 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: Open PDF
After the cfupload I get the mimetype from the file uploaded. I actually changed to with some logic. It opens in Firefox but in IE I get a blank screen now. Also it is not on an SSL page. -Original Message- From: Jim Wright [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 4:54 PM To: CF-Talk Subject: Re: Open PDF Where are you getting that #documentSelect.mimeType# variable? Is it definitely passing the right mime type? On 2/14/06, Brian Peddle [EMAIL PROTECTED] wrote: Using CF 7 and had written some code to open files that were uploads. Txt, Doc, PDF etc. This all had been working, only difference is we moved code onto new servers when we moved hosting. The process was. Display Page will all documents. Click on link to display document This would open a new windows and display the doc. That window would run this and open the file, maybe over kill on header stuff I know, I have added and removed stuff with no success. cfheader name=Content-Length value=#documentSelect.filesize# cfheader name=Content-Type value=#documentSelect.mimeType# cfheader name=Content-Location value=#URLEncodedFormat(documentSelect.savedName)# cfheader name=Content-Disposition value=inline; filename=#documentSelect.name#.#documentSelect.fileType# cfheader name=Expires value=#Now()# cfcontent type=#documentSelect.mimeType# file=#destinationFolder##documentSelect.savedName# Now the window flashes open for PDF's and then closes and prompts to download the PDF. Any thoughts? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232270 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: Freeze panes
If you client wants to make it hard for people to copy the data, why doesn't he just have you code a giant boxing glove that comes out of the user's monitor and bops them upside the head when they try to do that. (Seems like time just as well spent) :) ~Brad -Original Message- From: Snake [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 4:09 PM To: CF-Talk Subject: RE: Freeze panes Ah the flash solution might almost work, apart form the fact I have 1 custom requirement. In order to make it hard for people to copy the data, the client had me made it so the data is broken down into categories, and each category expands/collapes to show the data under it, so only 1 is visiable at a time. Just to complicate matters a bit more. Russ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232271 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: coldfusion and SQL2005
AFAIK.. SQL processor licensing is per physical processor. So, a dual core would count as one processor. I am 99.9% sure. -Original Message- From: J W [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 1:56 PM To: CF-Talk Subject: SOT: coldfusion and SQL2005 I am trying to configure 2 new servers and getting fumed about BS microsoft CAL crap. Both systems will be dual core/dual processors. One will be a dedicated SQL server and the other will be a dedicated web server. Has anyone configed a new server setup with MS sql 2005 x64 and windows 2003 server x64. From what I am beginning to understand that we need to go with a way overpriced Processor license for MS SQL2005 and two of them at that for the two seperate processors or are dual core chips counted as one or two physical processors?? If they are counted that makes 4. Has anyone recently configged a new server, can you tell me about how your CAL licensing worked with the web server and coldfusion? Thanks, Jeff ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232272 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: coldfusion and SQL2005
From what I understand of MS licenses, they are per physical processor. If you're database needs aren't that big, you could probably get away with using sql 2005 express, which is free.. -Original Message- From: J W [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 4:56 PM To: CF-Talk Subject: SOT: coldfusion and SQL2005 I am trying to configure 2 new servers and getting fumed about BS microsoft CAL crap. Both systems will be dual core/dual processors. One will be a dedicated SQL server and the other will be a dedicated web server. Has anyone configed a new server setup with MS sql 2005 x64 and windows 2003 server x64. From what I am beginning to understand that we need to go with a way overpriced Processor license for MS SQL2005 and two of them at that for the two seperate processors or are dual core chips counted as one or two physical processors?? If they are counted that makes 4. Has anyone recently configged a new server, can you tell me about how your CAL licensing worked with the web server and coldfusion? Thanks, Jeff ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232273 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: SOT: coldfusion and SQL2005
Generally speaking, dual-core processors are counted as a single processor for software licenses. As long as it's still one chip, it counts that way. I have not seen a software license define a processor differently. Of course this is awesome news, with things like quad-core processors on the horizon. Having a dual-processor quad-core system would be insane for a sql server box. I can't wait. -nathan strutz http://www.dopefly.com/ On 2/14/06, J W [EMAIL PROTECTED] wrote: I am trying to configure 2 new servers and getting fumed about BS microsoft CAL crap. Both systems will be dual core/dual processors. One will be a dedicated SQL server and the other will be a dedicated web server. Has anyone configed a new server setup with MS sql 2005 x64 and windows 2003 server x64. From what I am beginning to understand that we need to go with a way overpriced Processor license for MS SQL2005 and two of them at that for the two seperate processors or are dual core chips counted as one or two physical processors?? If they are counted that makes 4. Has anyone recently configged a new server, can you tell me about how your CAL licensing worked with the web server and coldfusion? Thanks, Jeff ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232274 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: cffile copy
Cutter (CF-Talk) wrote: I'm seeing two different things happening here. In one instance it says cffile action='copy' source='#thefullsourcefilepath#' destination='#afulldestinationpathwithfilename#' copy with rename in another instance it reads like cffile action='copy' source='#thefullsourcefilepath# destination='#justapathwithoutafilename#' copy file to specific directory and yet another instance reads cffile action='copy' source='#thefullsourcefilepath#' destination='#justapathwithoutafilename#' cffile action='rename' source='#thisnewfilepathandname#' destination='#samepathwithnewfilename#' copy with rename, but longer, and with more file I/O It seems to me that the first option makes the most sense. LiveDocs says that action='copy' can take just a path or a path with filename for the destination attribute, but if the intent of the code is to rename the file in the new location anyway then option 1 seems like the best option. Well certainly if you want to rename the file, the first option does make the most sense. The third option only makes sense if you want to be sure the file gets copied but you're placing maybe some try/catch logic around the rename action. If you aren't renaming the file, the first option also makes the most sense because if the last directory doesn't exist, it will fail. In the second option, if the destination directory doesn't exist (assuming you didn't tack on a trailing /) it might actually do the copy but rename it to whatever the directory was. ie... /home/me/www/foo/test.html (file) /home/me/www/foo2/ cffile action=copy source=/home/me/www/foo/test.html destination=/home/me/www/foo3 this would create a copy of test.html with a NEW filename of foo3 in the /home/me/www directory. While option 1: cffile action=copy source=/home/me/www/foo/test.html destination=/home/me/www/foo3/test.html Would cause an error. I think. ;) I always use the full destination path, personally. Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232275 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: chat help
Worked fine for me. Of course I tried to break it... good news is I failed. It worked well. How in depth is the bbml and symbols? (yes I tried [script]'s ;-) ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Andrew Grosset [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 2:34 PM To: CF-Talk Subject: Re: chat help worked ok at 1.30pm mountain standard time... just there was no one else there to chat to! Andrew I'd love it if a few people wouldn't mind coming into my chat room that I'm building with cfajax I'd like to see how it reacts with a few people in it. http://www.opensourcecf.com/chat Please choose Test Room A thanks. rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232276 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: cffile copy
Adrian Lynch wrote: Yup you're right, the first one seems better. I guess whoever wrote that code didn't know you could copy and rename in one go. I believe Blueragon actually doesn't allow you to copy and rename at the same time if the destination directory is different, which annoys me, personally. I had to write a bunch of code in CFFM to work around that. Oh, no, that was cfdirectory in Bluedragon that wouldn't allow you to move and rename a DIRECTORY into a different parent directory (ie, a recursive directory move with rename, which you CAN do in CF) Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232277 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] Future CF Features
Michael Dinowitz wrote: My example left out the default. If a CFPARAM exists with a name but no default, it throws an error if the variable does not exist. i.e. it's saying that the variable has to exist. If I read your idea right, any error will result in the default being used so if myID is a string, rather than an error we'll get a value of 0 for the variable. My idea makes the handling of the error something that can be coded where your approach forces a default value on error. It also doesn't address when the tag is used without a default. There are a few problems, as I see it, with this suggestion: 1) What happens if the proposed default does not conform to the specified type? I.e., you specify a type of Numeric and specify a default of hello. While this may not be likely when hard-coding a default value, there are plenty of time where the default is determined by some other variable's value. 2) Adding a closing CFPARAM tag to include error-processing code does not seem to include an elegant way of differentiating between different reasons for the error. Was the error caused because of an invalid type, because it was undefined and no default was specified, etc.? You could probably handle this with multiple CFIFs, but it's kind of kludgey. Especially since CF already has a full TRY/CATCH/THROW implementation. I'd rather see the CFPARAM tag throw different kinds of exceptions depending on the cause of the error and allow you to catch the exception with the existing exception handling capabilities. 3) What if I don't want or expect the default value to be used in case of a type-mismatch? This could break existing code. -- Mosh Teitelbaum evoch, LLC Tel: (301) 942-5378 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232278 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: chat help
OK managed to chat with a few others, what would be neat if it could pop up a div or something so you could be working in another tab (firefox) and be notified if someone chats? worked ok at 1.30pm mountain standard time... just there was no one else there to chat to! Andrew I'd love it if a few people wouldn't mind coming into my chat room that I'm building with cfajax I'd like to see how it reacts with a few people in it. http://www.opensourcecf.com/chat Please choose Test Room A thanks. rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232280 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 Positioning
http://www.pmob.co.uk/ just about covers everything here with demos. Jenny -Original Message- From: Robert Everland III [mailto:[EMAIL PROTECTED] Sent: 14 February 2006 15:56 To: CF-Talk Subject: OT: CSS Positioning I want to play around with using CSS instead of using tables to position things. Does anyone have some sites that they use as an example of this that I can go off of. Bob ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232281 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: [OT] Future CF Features
Ah, someone mentioned a custom tag years ago, was it you? Mike, are you saying... cfparam name=myVar will throw an error when myVar doesn't exist? If so, that's even better, cfparam could do all that we're asking of it: cfset myID = not an ID, not a number, a string! cfparam name=myID type=numeric default=0 !--- By here myID would be 0 and no error thrown --- and cfparam name=myID default=0 !--- Set myID to 0 if it doesn't exist --- and cfset myID = not an ID, not a number, a string! cfparam name=myID type=numeric !--- Throw an error if myID doesn't exist or if it exists and isn't numeric --- and cfparam name=myID !--- Throw an error if myID doesn't exist --- Doesn't that cover all bases? You can get an error to be throw based on type and existence AND you can get defaults based on type and existence. I think! :OD Adrian -Original Message- From: Cedric Villat [mailto:[EMAIL PROTECTED] Sent: 14 February 2006 21:42 To: CF-Talk Subject: Re: [OT] Future CF Features Adrian, I made a custom tag called cf_param that does exactly this. If the type of the variable does not match, such as your case, the default value is used. You can get the custom tag at http://www.cornfeed.com. It is a couple years old, but works just fine, as I use it all over the place. Cedric ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232282 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
Languages, accents, tags, xml
Hi, I currently store a sites's content in XML files to handle different languages. This means that I have to escape tags, accents, etc. like so: lt;pgt; With R#233;no-pr#234;t, you are secured! R#233;no-pr#234;t offers you a triple guarantee: accessibility, quality and security. lt;/pgt; Is there some tool that can do this automatically for me? Perhaps in eclipse? I would like to just write this: pthis is some text/p And have it automatically converted with some tool to this: lt;pgt; this is some text lt;/pgt; Cheers! Baz ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232283 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
version control and IDEs
Hey All, I'm looking for some versioning control software that will work from within HomeSite+, CF Studio, and Eclipse. I could care less about the actual versioning, but I do want the check in/out capability This will be in the Windows world (although I see Subversion can be run on Windows). Basically it has to be a no-brainer for developers to be able to pick-up and use. TIA for any direction on this one Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232284 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: version control and IDEs
AFAIK the only ones that work in all three are MS Visual Source Safe and maybe CVS(?) Maybe DW has more updates, but I don't think you are going to have any other options with HS+. There seems to be an Eclipse plugin for most every SCM product out there. Hey All, I'm looking for some versioning control software that will work from within HomeSite+, CF Studio, and Eclipse. I could care less about the actual versioning, but I do want the check in/out capability This will be in the Windows world (although I see Subversion can be run on Windows). Basically it has to be a no-brainer for developers to be able to pick-up and use. TIA for any direction on this one Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems. com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232285 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: version control and IDEs
AFAIK the only ones that work in all three are MS Visual Source Safe and maybe CVS(?) Maybe DW has more updates, but I don't think you are going to have any other options with HS+. There seems to be an Eclipse plugin for most every SCM product out there. Thanks Robert... I should add that CF Studio and Eclipse are the biggies...I can drop HomeSite+ locally for Eclipse, but the client is using CF Studio so it should work for Eclipse and CF StudioHomesite+ is just a bonus ;-) Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232286 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: version control and IDEs
Bryan Quoting Bryan Stevenson [EMAIL PROTECTED]: I'm looking for some versioning control software that will work from within HomeSite+, CF Studio, and Eclipse. Good luck. AFAIK, none of the widely-used SCMs work natively in all these IDEs. That said, it dowsn't so much matter, dependent on the SCM you choose. VSS has locking so that only a single user can access a file at any time, whereas the approach with CVS and SVN is distributed. That is, each developer has their own copy of the source code to work with, and the issues of merging are dealt with at commit time. It's rare that problems are encountered if sensible approaches are taken. I could care less about the actual versioning, but I do want the check in/out capability See above on the locked vs. distributed approach. This will be in the Windows world (although I see Subversion can be run on Windows). No problem. There are even external tools such as Tortoise (which I used before Eclipse came along) which will handle the SCM activity outside your IDE. It's still easy to do. Basically it has to be a no-brainer for developers to be able to pick-up and use. While not exactly a no-brainer, there is a lot of good information out there on best-practice use for all these tools. TIA for any direction on this one Hope I helped. Steve -- Steve Collins E [EMAIL PROTECTED] W www.stephencollins.org ICQ 1014940 | MSN [EMAIL PROTECTED] | Yahoo trib Google Talk [EMAIL PROTECTED] | Skype trib22 The ACME Guide - Best practice development using Apache - ColdFusion MX - MySQL - Eclipse/CFEclipse www.stephencollins.org/acme/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232287 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: version control and IDEs
TortioseSVN (subversion) and TortioseCVS are windows shell extensions that'll work anywhere. IDE-integrated solutions (such as Subclipse in Eclipse) are far easier to use, but the shell tools are quite useful if that's not possible. cheers, barneyb On 2/14/06, Bryan Stevenson [EMAIL PROTECTED] wrote: AFAIK the only ones that work in all three are MS Visual Source Safe and maybe CVS(?) Maybe DW has more updates, but I don't think you are going to have any other options with HS+. There seems to be an Eclipse plugin for most every SCM product out there. Thanks Robert... I should add that CF Studio and Eclipse are the biggies...I can drop HomeSite+ locally for Eclipse, but the client is using CF Studio so it should work for Eclipse and CF StudioHomesite+ is just a bonus ;-) Cheers Bryan Stevenson B.Comm. -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 100 invites. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232288 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
CF Licensing on a VMWARE Server instance?
Now that VMWARE will be giving away the New GSX Server edition for free. If you where to set up a virtual machine on a Windows Machine with Two Processors and only allow the VM access to one. And you already have CF installed on the Host system. Would you need another licence for one installed in a VM. As CF is licences from my understanding by the number of physical CPU's Thus even if I Have 10 VM's I still only have Two CPU's I know I would need to Windows Licence for each VM as they are licensed per Instance. As with CF you can have multiple instances on one box under the same licence. So back to my original question: Installing CF on a Virtual Machine does it need an additional license to the one on the Host of the Virtual Machine? TIA - Kev McCabe blog: http://inner-rhythm.co.uk/blog email: [EMAIL PROTECTED] aol: [EMAIL PROTECTED] yahoo: [EMAIL PROTECTED] msn: [EMAIL PROTECTED] - ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232289 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