Re: unique user query
Change it to like not = cfquery name=check_total_usernames datasource=my-site SELECT * FROM bodyfun_registry WHERE userName like '#Form.userName#%' /cfquery - Original Message - From: Daniel Kessler [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, March 19, 2004 10:52 AM Subject: unique user query I'm doing a registration test.First I test the name and if it fails, I try to get the total number of userNames that begin with the name and suggest that as a new name (ie daniel87697).Then I test to make sure that name is valid.Unfortunately, the second query where I get the count doesn't seem to be working.I'm using % in the WHERE, which I understand to be a wild-card.My code below. !--- check registration name--- cfquery name=check_username datasource=my-site SELECT * FROM bodyfun_registry WHERE userName = '#Form.userName#' /cfquery cfif check_username.recordcount gt 0 !--- get number of people registered withthat as the start of their name--- cfquery name=check_total_usernames datasource=my-site SELECT * FROM bodyfun_registry WHERE userName = '#Form.userName#%' /cfquery !--- check the new suggested name--- cfquery name=check_new_username datasource=my-site SELECT * FROM bodyfun_registry WHERE userName = '#Form.userName##check_total_usernames.recordcount#' /cfquery !--- output--- cfif check_new_username.recordcount gt 0 cfset nameError = This name is already taken.The name must be unique. cfelse cfset nameError = This name is already taken.The name must be unique. Suggestion:#Form.userName##check_total_usernames.recordcount# /cfif cfset errorState = true /cfif I'm sure there's a better way to suggest a name, but this is an added feature so I'm doing it as well as I can do quickly. thanks. -- Daniel Kessler Department of Public and Community Health University of Maryland Suite 2387 Valley Drive College Park, MD20742-2611 301-405-2545 Phone www.phi.umd.edu [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CF Forum 2000
Yes, maybe, and yes. :) If you are talking about rewriting it I assume you have the open source version. CF Forums main bottleneck is that it uses subqueries to generate the message counts. Get a lot of messages, or a lot of forums and it starts to blow a gasket. It's also been a while and there may be a new version out...so my experience may be outdated here. The key optimizations that needs to be done it start precalculating those topic totals, etc, remove all the looped over queries, then start in caching. In the end I was able to get a forum with 50! forums and over 75,000 messages displaying in sub 100ms times with a single user, before any db optimizations. Under load it did well...can't remember times though. -- mailto:[EMAIL PROTECTED] Friday, October 17, 2003, 12:21:35 AM, you wrote: RS Hi all, RS Has anyone here implemented a high volume site using CF FORUM 2000? RS We have just inherited one, and am wondering how solid the code is. RS Its a very busy forum, doing about 3 gigs of traffic per day, and its RS started to show signs of breaking down, e.g. deadlock errors, RS timeouts, No more data available to read errors. RS Should I be looking for different forum software? Or re-write the code RS myself? RS Has anyone done an optimisation job on the CFFORUM code and can give a RS few pointers on where the bottlenecks are? RS thanks, bye! [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Giving up on DW 2004 MX
Nicely done on ignoring every point I made, including the request to back up your false claims about focus. I still feel DW's scripting API is far less powerful than Homesite's, and I'd welcome any attempt to prove my any of the facts I laid out in defense of my opinion wrong. This whole thing started out with what I felt was a positive post about the DW API, including an example of an extension I wrote showing it off rather nicely I thought. You disagreed with my opinion that I tacked on at the end, and still haven't backed it up with any facts. To me, it seems to me that you are the one wanting to complain about my opinions for no reason that I can see. You didn't even look at the extension or you wouldn't have asked what kind of extension needs recurring dir listings. Why you would go fishing for a debate, then whine about it when you get one is beyond me. ...and since I have no issues against responding to Ad Hominem attacks in kind...if you don't realize doc.write and innerHTML, part of DOM1, and over 6 years old, are one and the same conceptually, you really aren't worth discussing the issue with anyway. Kinda makes me want to whip together some extensions and see if they sell. I thought I went out of my way to be respectful in my post (which I just reread to make sure, and I'm still not sure what got you so defensive. I do apologize for any unintended slight. The ones above are quite intended though.), and I expect the same in return. Otherwise, you get what you give. -- mailto:[EMAIL PROTECTED] Friday, October 17, 2003, 1:29:39 AM, you wrote: doc.write and innerHTML is the same thing...it's all writing out html with _javascript_, and it's old, lame, and slow. I'd though that was implied. It's all DOM 1. I wouldn't even mind DOM 1 if it was fully implemented, but it's not MTeF It's clear to me you just like to complain for the sake of it. I was having MTeF the impression you would like to discuss, my mistake. MTeF I apologize with the list for wastiung the bandwith [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Giving up on DW 2004 MX
Thursday, October 16, 2003, 12:54:15 AM, you wrote: MTeF jon hall [EMAIL PROTECTED] wrote in message MTeF news:[EMAIL PROTECTED] Yeah, that's the best part about it...but the script API is even less documented, and less powerful (can't call COM objects) than Homesite's. MTeF I strongly disagree with this. Both about the documentation and the power MTeF :-) Oh really... :) How exactly does an extremely small subset of DOM 1 that is implemented unevenly across the different objects qualify as powerful? To say nothing of DOM 2 or 3. How does the fact that all the menus are very nicely defined in XML files, but no one has thought to distribute DTD's of any kind qualify as well documented? How can DW's data connectivity compare in any regard to ADO for power? DW allows only JS or C, HS allows any language built on WSH, meaning VBS, JS, Kix, etc., and any language a COM object can be written in. Why the heck is DWFile so slow? I also can't speak to the C API, knowing very little C, but how many web developers know C? The only thing going for DW is the UI extensibility, which is awesome, the only other closed source IDE with that ability that I know of is VS, but it's stuck with a less than Netscape 4 level DOM, and limited the HTML to define the look and feel, with doc.write the only way to make content dynamic. I can't help but feel that the whole DW extensibility thing has not enough resources, meaning people working on it, or it has too many, and not enough organization. Maybe it's because it has to run on the Mac as well that is holding it back. I think Mozilla is the model of what DW extensibility model want's to be. XUL/XBL/XPCOM kicks butt...or even HTML/DOM2/XML Events. Whatever the solution is, DW needs it. It's really lagging. -- mailto:[EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: OT : Central Beta SDK Available
fyi, I clicked to install the Central Developer Chat on your page, and it seemed to hang in the middle of this install. I moved the window and a popup notifying me that a new version of the movie finder was out was stuck behind the install screen, and for some reason it was blocking the install of the chat app. Clicking cancel on the notification allowed the chat app to complete it's install. -- mailto:[EMAIL PROTECTED] Wednesday, October 15, 2003, 6:19:28 PM, you wrote: MC Posting because there has been some discussion on this in the past. MC http://www.markme.com/mesh/archives/003544.cfm MC mike chambers MC [EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: OT: Server Hardware
The Celeron 2.6 does not have Hyperthreading...for about $100 more you can get the a regular 2.4 w/hyperthreading, well worth it for the apps you are going to be running. Like others have said though, you are going to be memory bound long before you are CPU bound. -- mailto:[EMAIL PROTECTED] Monday, October 13, 2003, 9:29:03 PM, you wrote: YA Hello, YA I'm looking into buying a new box and I was wondering if anyone has any YA comments/suggestions on the following: YA Price is an issue, so this is the main guts of the server I've been YA looking at... YA Intel Celeron 2.6GHz Processor YA 1GB PC2700 DDR Memory YA (2) 120GB ATA100 RAID Hard Drives YA ATA100 IDE RAID Controller Card YA This would be running on a Linux OS, probably either RedHat or Debian. YA I would also be purchasing a CFMX 6.1 license, our new project demands YA verity so I believe that eliminates BlueDragon(if I find out otherwise I YA will be looking at each as a possible option). YA Also, I would be using MySQL and/or PostgreSQL on this same box. YA Has anyone had experiencing running servers with Celeron processors? YA Would there be any difference between a Celeron processor or P4? YA (besides slight difference in processing speed) YA Anything at all? YA :-) YA There is another box that I've seen with a comparable price, with a P4 YA 2.4GHz, slightly more expensive and with 512MB less RAM. That is YA probably my second option. YA TIA, [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
developing java cfx
According the the CF docs reload=always is supposed to keep me from having to restart CF everytime I recompile my cfx tag, but it doesn't seem to be working. How do you guys do it? -- mailto:[EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: developing java cfx
No wonder those Java guys get paid so much! -- mailto:[EMAIL PROTECTED] Tuesday, October 14, 2003, 6:43:47 AM, you wrote: AM This is a known issue, no way around it as far as I recall other than AM getting your code right first time :-) AM -Original Message- AM From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] AM Sent: 14 October 2003 10:28 AM To: CF-Talk AM Subject: developing java cfx AM According the the CF docs reload=always is supposed to keep me from AM having to restart CF everytime I recompile my cfx tag, but it doesn't AM seem to be working. How do you guys do it? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: HomeSite Scripting with ADO
No need to tell it to use Server, I've only seen that used in ASP. WinScripter is a great resource if you haven't come across it yet. Check out this page. http://www.winscripter.com/wsh/database/dsnless.asp I modified the above example to query a remote sql server and output the results into the current open document in Homesite. Worked like a charm... function Main() { var ad = new ActiveXObject( ADODB.Recordset ); var cString = Driver={SQL Server};Server=ipaddress;Database=dbname;Uid=username;Pwd=password; var sql = Select TOP 10 * FROM Parts; ad.Open( sql, cString, 1, 3 ); while( !ad.EOF ) { // variable to store data record = ; // Loop through each field in this record // and add contents to variable // Starting field set to 1 to skip record id field. Use 0 for all fields for( i = 1; i ad.Fields.Count; i++ ) record += ad(i) + \n; // Display the contents in Homesite Application.ActiveDocument.InsertText(record, false); //Move to the next record and loop ad.MoveNext(); } ad.Close(); } Just a recommendation, not knowing your cursor experience, but understanding cursors is a prerequisite to understanding ADO. Once you figure out how cursors work with ADO, it all falls into place. -- mailto:[EMAIL PROTECTED] Saturday, October 11, 2003, 3:54:07 AM, you wrote: HO So I've spent most of the day trying to figure out (and doing lots of searches on the web) on how to use Scripting to access SQL Server (again, I'm trying to run this through HomeSite+ scripting). HO If I do something like HO var objConn = Server.CreateObject(ADODB.Connection); HO I get an error that Server isn't defined. HO So I tried every way I could think of or get a clue to define Server. HO Among those I tried were: HO Server = ActiveXObject(ADODB.Connection); HO And HO var Server= Provider=SQLOLEDB.1;Persist Security Info=False;Initial Catalog=articles;Data Source=me ; HO And a million other variations, probably. HO Anybody have any idea how to do this? HO H. HO [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Survey: Open Source CF Stuff (was Looking for Cold Fusion Forum similar to FuseTalk)
#5...I'd be happy to contribute to a worthwhile project., but I dont have enough time (or project management experience) to dedicate to managing a project. Almost all of the successful open source projects have some kind of corporate sponsorship, even if the original source was developed for a specific business reason, then open sourced, or a corporation wants to take advantage of the free labor. FarCry, Mozilla, Linux, OpenOffice, MySQL, etc., all have corporations backing them in one way or another to help manage the direction of the project. Who in the CF world has the motivation to invest the resources necessary? Another barrier is that CF itself is closed source, and developers have no clear cut guarantee that the platform will exist in the future. Unlike with PHP where developers know it will exist, or .Net where developers know MS isn't going anywhere. -- mailto:[EMAIL PROTECTED] Saturday, October 11, 2003, 1:55:14 PM, you wrote: JD [I know that this may be considered off-topic - but then again it may be JD considered on-topic.Anyway, it's the weekend and traffic is light...] JD My last post on this subject got me to thinking: why isn't there more CF JD Open source?How do you guys approach the topic: JD 1) I won't place my code in OpenSource, it's mine and I should be paid JD for it!Open-source is for hippies. JD 2) I might consider it, but all of my best stuff was written for clients JD and they own it. JD 3) I rarely do anything big or important enough to consider a release. JD 4) Almost everything I do is very specific to my (or my client's) JD business. JD 5) I would like to, but I don't have the time to manage a project. JD 6) I keep meaning too, but I never seem to find the time to convert my JD client-specific stuff to a generic version and write docs. JD 7) I already open source (or at least make available unencrypted copies JD of) at least some things.(This would include submitting unencrypted JD files to the developer's exchange) JD 8) Everything is open-sourced!The GPL adorns every file that leaves my JD workstation! JD 9) Something else? JD In general I find that most of time I fall in (6) and (7).There's a JD lot I would like to make available, but very little time to package it JD for public consumption.This is also why all of my releases have been JD small (custom tags, specific techniques, etc) - I may be proud of the JD big stuff but I just can't find the time put it in a nice wrapper. JD CF has hundreds and hundreds (and hundreds) of small things (tags, UDFs, JD CFCs, sample apps, etc) but VERY few large, full-featured apps available JD (although, oddly, we do have at least ten or so open app frameworks). JD Why don't we have many full-featured (and open) forums, CMSs, Blogs, JD Security systems, inventory managers, shopping carts, and so on?We do JD have a LOT of parts for them - just very few complete ones. JD Why is that? JD Jim Davis JD [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CFMX MSXML
Where are you getting this kind of performance? My testing has shown that msxml is faster at parsing even from within CF than cfxml, and I posted some benchmarks here some months back. Outside of CF...the msxml performance advantage is insurmountable. -- mailto:[EMAIL PROTECTED] Thursday, October 9, 2003, 7:33:25 AM, you wrote: CD Any reason for not using CFMX's own parser? CD Failing that, cfx_xmlparse form cfdev.com is better than MSXML. CD I always found MSXML extremely slow, especially under load, the java CD ones were a factor of 10+ times faster. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Testing Multipart Emails
The Bat http://www.ritlabs.com splits multipart emails into different tabs for the html part and the text part. I imagine all of the text only email clients will show you the text part as well. Any of the Unix ports, any older version of Eudora, Pegasus still makes a DOS version available... -- mailto:[EMAIL PROTECTED] Tuesday, October 7, 2003, 4:48:35 AM, you wrote: CD Does anyone know of an email account that you can set up as receiving CD text only emails? CD I am trying to test a multipart email but only see the html part as this CD is what my email provider can handle. CD Any help would be greatly appreciated. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: OT -- JavaScript
try packageAtribs.holidaySelection = document.forms['rentalForm'].Holidays.value; Don't ask me what the difference is...i don't know :) -- mailto:[EMAIL PROTECTED] Sunday, October 5, 2003, 6:21:44 PM, you wrote: HO I'm having a little trouble with this script ... here's the bit of code in question ... HO packageAtribs = new Object(); HO packageAtribs.holidaySelection = document.rentalForm.Holidays.value; HO if I do -- HO alert(document.rentalForm.Holidays.value); HO I get the expected value. HO But HO alert(packageAtribs.holidaySelection); HO gives me a blank. HO While, HO packageAtribs.holidaySelection = 1; HO Gives me 1 on the alert. HO If I parseInt() on document.rentalForm.Holidays.value, I get NaN on the alert. HO To me, it should be pretty straight forward ... packageAtribs.holidaySelection = document.rentalForm.Holidays.value; should produce the expected results. I can't see, right now, any other way to HO get the value set that I want. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: OT -- JavaScript
This code works for me in IE6/Moz/Opera. The addition of the forms array call made it work for me. I couldn't get just document.rentalForm.Holidays.value to work either. script type=text/_javascript_ function init() { packageAtribs = new Object(); packageAtribs.holidaySelection = document.forms['rentalForm'].Holidays.value; alert(packageAtribs.holidaySelection); } window.> /script form id=rentalForm name=rentalForm input type=text name=Holidays value=foo /form -- mailto:[EMAIL PROTECTED] Sunday, October 5, 2003, 7:47:51 PM, you wrote: HO Thanks, but still shoot blanks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: OT -- JavaScript
Hmmm going back and running it without the forms reference and it now works. Either I had a typo originally or I'm going crazy. Either way...the problem is either somewhere else in your code, or there is something that I am overlooking in your post. -- mailto:[EMAIL PROTECTED] Sunday, October 5, 2003, 10:54:12 PM, you wrote: jon This code works for me in IE6/Moz/Opera. The addition of the forms jon array call made it work for me. I couldn't get just jon document.rentalForm.Holidays.value to work either. jon script type=text/_javascript_ jon function init() { jonpackageAtribs = new Object(); jonpackageAtribs.holidaySelection = document.forms['rentalForm'].Holidays.value; jonalert(packageAtribs.holidaySelection); jon } jon window.> jon /script jon form id=rentalForm name=rentalForm joninput type=text name=Holidays value=foo jon /form [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
TopStyle ColdFusion TagDefs
http://www.oztek.net/jon/ColdFusionTopstyleTagDefs_v1.zip CF TagDef file for TopStyle that enables tag completion and the tag inspector. Just unzip it into your TopStyle3\HtmlDefs directory and it will show up in the dropdown above the tag inspector. Once you select CF from the dropdown...autocomplete will work for CF tags. I made these from the 6.1 docs, so some deprecated attributes will not be listed. If anyone makes an additions or corrections to the tagdef please send them my way and I will update my version. -- mailto:[EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: OT: JavaScript killing IE.
Works for me... Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322) Works perfectly in Moz 1.5 and Opera 7.2 too. -- mailto:[EMAIL PROTECTED] Friday, October 3, 2003, 2:40:17 PM, you wrote: IS Anybody have any idea why this piece of _javascript_ would cause IE to crash, IS shut down, and want to send a report to the Mother Ship? ISfunction closeMore() IS{ ISdiv = document.getElementById(MoreDiv); ISdiv.innerHTML = base; ISdiv.style.display = 'none'; IS} IS ... IS div id=MoreDiv style=display:none; position:absolute; top=0; left=75; IS width: 725px; background-color:FF; border: 4px solid black; padding: 10px; IS h3 align=centera > IS = '#6A5ACD'; IS = '#87CEEB'; style=border: 2px IS solid #6A5ACD; background-color: #87CEEB; padding: 4px; cursor: hand;Close IS Comment/a/h3 IS /div IS script language=_javascript_ type=text/_javascript_ ISbase = document.getElementById(MoreDiv).innerHTML; IS /script [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Windows 2000 or 2003 Server?
Personally I'd wait for SP1 before even thinking about it. However, if I had some wiggle room (meaning huge client wasn't going to kill me if the server had a few hiccups), and upgrading to 2003 in 6 months or so didn't look likely...it might be worth it to bite the bullet now rather than be stuck with old tech for the foreseeable future. I've been running Win2k3 on my home machine since release and have found two specific issues so far. IIS6 by default caches all static files for one minute, makes development a headache. The cache can be turned off in the metabase xml file. I haven't confirmed it on any other machine, but the ODBC Text Driver is broken on my machine. It just doesn't work. As far as advantages go, IIS6 is much faster than IIS5, and has lots of new features. Shadow Copy can be handy for quite a few things, and the new Task Manager is nice too. Just to name a few. The permissions system has had quite an overhaul in 2003...I think it is a lot more drastic than even the change from NT4 to 2000 was. I'd want to hit the books for a week or so just to understand the changes before implementing a production system on 2003. -- mailto:[EMAIL PROTECTED] Thursday, October 2, 2003, 4:00:55 AM, you wrote: RS Hi all, RS I'm looking at setting up a new CFMX installation and have been given RS the option of Windows 2000 Server , or 2003 Server. RS Which would be the safer option? RS Not had having a great deal of experience with 2003 I was going to say RS 2000, but are there any significant advantages of 2003? RS thanks, bye! [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Structure of Arrays: more about my error with
Just a thought, but does this work? cfset temperature = #leak2[getKey2][3]# -- mailto:[EMAIL PROTECTED] Thursday, September 25, 2003, 12:43:26 AM, you wrote: RB I forgot to mention in my last email that I can output: RB #leak2[getKey2][3]# RB but when I try RB cfset temperature = #leak2[getKey2][3]# RB I get that error RB You have attempted to dereference a scalar variable of type class RB java.math.BigDecimal as a structure with members. RB I got it to run actually once by putting float in front of it in a RB cfscript???! But that was a fluke, it errored out as soon as I hit RB reload. RB cfscript RB float temperature = #leak2[#getKey2#][3]#; RB /cfscript RB I know someone out there is kind of cf data structures, please help. RB Thanks, RB Ray RB ~| Message: http://www.houseoffusion.com/lists.cfm?link=i:4:138401 Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://affiliates.macromedia.com/t.asp?id=2439p=go/dr_text_aff1
OT: DW Custom Floaters
OK...I had one too many Red Bull's and I've been trying to get DW to work the way I want it to. It's extensibility really is amazing. However...I'm trying to build a custom floater, but for some reason they always come out looking grey. The docs even say that floaters are always grey, and it's not even a light shade of grey, it's like this really dark, makes everything in the floater unreadable grey. I know this sounds bizarre...but it's true. From the docs: Custom floating panels display in the default gray. Setting the BGCOLOR attribute in the BODY tag has no effect. The docs offer no explanation... How can I get a floater to have a white background, or at least work around this problem in some way? I need to be able to read and interact with elements in the floater. -- mailto:[EMAIL PROTECTED] ~| Message: http://www.houseoffusion.com/lists.cfm?link=i:4:138252 Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: OT: DW Custom Floaters
Nevermind...got it, didn't think to check my floater out in design view :) function isAvailableInCodeView(){ return true; } -- mailto:[EMAIL PROTECTED] Wednesday, September 24, 2003, 3:55:48 AM, you wrote: jon OK...I had one too many Red Bull's and I've been trying to get DW to jon work the way I want it to. It's extensibility really is amazing. jon However...I'm trying to build a custom floater, but for some reason jon they always come out looking grey. The docs even say that floaters are jon always grey, and it's not even a light shade of grey, it's like this jon really dark, makes everything in the floater unreadable grey. jon I know this sounds bizarre...but it's true. From the docs: jon Custom floating panels display in the default gray. Setting the jon BGCOLOR attribute in the BODY tag has no effect. jon The docs offer no explanation... jon How can I get a floater to have a white background, or at least work jon around this problem in some way? I need to be able to read and jon interact with elements in the floater. ~| Message: http://www.houseoffusion.com/lists.cfm?link=i:4:138253 Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: Verifying an email address exists
Not possible now that all unregeistered .com's and .net's resolve to Verisign. -- mailto:[EMAIL PROTECTED] Wednesday, September 24, 2003, 11:15:40 PM, you wrote: CS How about that: I just receive a message Got 966 email spams again ? we can help ! CS an ad for an anti-spam software, from an address [EMAIL PROTECTED] CS The test service replies on that address InvalidServer ;-)) CS When the anti-spam services use gross spam techniques, what can we think? ;-)) CS Now, this is another question: how come all mail servers don't even check (or at least provide their CS customers with such an option) if the server declared in the reply to of from ever exists? CS This is unbelievable. ~| Message: http://www.houseoffusion.com/lists.cfm?link=i:4:138391 Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 ColdFusion MX 6.1, now 2.5 times faster. http://www.macromedia.com/software/coldfusion/productinfo/upgrade/jump/introducing.html?trackingid=ColdFusion_468x60g_HouseofFusion_carat_082803
Re: [ OT] Special security Alert!
You seem to be forgetting the numerous auto-executing viruses that have hit Outlook since BubbleBoy back in 99. Every single of these viruses could have been rendered impotent by simply allowing users to disable html email, and it has been a conscious decision on Microsoft's part, not to provide that option. It's very easy to blame them for that, and for not remedying it in the 4 years since BubbleBoy. How would you propose educating users on how to defend themselves from these kinds of viruses? Tell them not to read their email? -- mailto:[EMAIL PROTECTED] Monday, September 22, 2003, 10:51:24 PM, you wrote: JM> I stopped using Outlook recently, but mainly because I finally found a JM> way to move all my old email over to my Mac. JM> It's somewhat unfair to blame Microsoft for the virii being passed JM> around, although it's typical of society - if you don't properly educate JM> yourself on how to use your software and then you get infected it has to JM> be someone else' fault. If you stab yourself in the eye with a pencil JM> it's not Dixon Ticonderoga's fault because they didn't make your pencil JM> dull, it's your fault because you don't know how to safely use the tools JM> you're given to work with. JM> You would think that after 3, 4, 5, 20 virii make their way to your JM> Outlook inbox and infect your machine that you would take the time JM> necessary to learn how to protect yourself, but alas, as we Americans JM> typically do, we go to the opposite extreme and demand that someone else JM> do something to shield us from having to learn something that may be JM> harder than making toast. JM> Anyway, I'd challenge anyone out there to put their email client in the JM> hands of several million uninformed, novice users and see if it could JM> withstand the inevitable onslaught of virii that would be written JM> specifically to exploit its weaknesses. ~| [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Retrieving Active Directory User Passwords
afaik, even if there was a mechanism to retrieve them, Windows doesn't store actual passwords anywhere. That's the point of hashing the password in the first place... -- mailto:[EMAIL PROTECTED] Monday, September 15, 2003, 12:25:24 PM, you wrote: SW Is there a way w/ CF to retrieve unhashed AD passwords? SW Thanks, SW Scott SW ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: (Admin) List upgrades
Monday, September 15, 2003, 9:39:10 PM, you wrote: -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, September 15, 2003 5:29 PM To: CF-Talk Subject: RE: (Admin) List upgrades Novelists are professional authors with refined skills in conveying the sentiment of their thoughts, emotions, and surroundings. Some of us are not so talented. :) Perhaps, but there are plenty of lousy novelists, and yet you wouldn't suggest to them that they use formatting to become better writers, JD would you? JD If we were writing novels it might make a difference - however as a JD technical list novels are not the works we should be comparing things JD to. Open up pretty much any technical book and notice the changes in JD styles used to convey meaning. JD That would be a much better representation of the content on this list. JD Jim Davis Fine, fine...if this list goes HTML, send all the prettified email you want. Just know all of us whose email clients are not the leading virus infection vector in the world, won't be looking at it if we don't want to ;-) -- mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: Any way to get Homesite+ 5.5 without Dreamweaver?
Sunday, September 14, 2003, 3:33:03 PM, you wrote: SAC On Sunday, Sep 14, 2003, at 01:33 US/Pacific, Rafael Bleiweiss wrote: Sean, I agree - realized my error in view after I'd posted this. My true feeling it have HS be a full stand-alone thing again, at it's own fee, not bundled on any CD with anything else... I'd pay for regular upgrades. then again, I could work around this now, I know... just my view. SAC Interesting. I've blogged something to that effect and would like folks SAC to comment on it to get a sense of where people really stand on the SAC unbundling issue... Unbundling would be nice, but if all we are going to get is stuff like a macro recorder, it really doesn't matter. The things that interest me most are the bug fixes in 5.5, and I'd probably pay a fee if necessary to get them, but not $200. -- mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
Re: No so good news
Saturday, September 13, 2003, 3:23:40 PM, you wrote: However all of this is a moot point: Eolas is obviously not interested in toppling MS but in making so quick cash. If it comes to it they won't balk at licensing to anybody with deep enough pockets. ML I don't know, there were some interesting quotes from the Eolas shared ML by Cringley that seem to suggest at least me otherwise. Also, the Eolas guys published an article in DDJ titled Proposing a Standard Web API. A lot of what Cringley says is supposedly based upon this article. http://www.ddj.com/documents/s=964/ddj9602a/ I haven't had the chance to read it yet...the office has a DDJ subscription, but I keep forgetting to go hunt down the magazine so I can access it. -- mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
Any way to get Homesite+ 5.5 without Dreamweaver?
I own Studio MX, but I don't want to pay the $200 for the DW upgrade just for Homesite+. Is there any other option? -- mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
Re: Any way to get Homesite+ 5.5 without Dreamweaver?
I think that is the non + (-+? :)) version... Is there actually anything new in 5.5+? There didn't seem to be anything in 5.5 according to the page for it. $200 is a lot to ask for Homesite+ upgrade imo. Of course, if there is nothing new, I wont bother. -- mailto:[EMAIL PROTECTED] Friday, September 12, 2003, 12:02:09 AM, you wrote: SY I could have sworn someone posted a link to buy it separately for SY $99...or was I dreaming? ;) SY Stace SY -Original Message- SY From: Critz [mailto:[EMAIL PROTECTED] SY Sent: September 11, 2003 11:59 PM SY To: CF-Talk SY Subject: Re: Any way to get Homesite+ 5.5 without Dreamweaver? SY oi jonhall!! SY dun believe so. SY it comes on the dwmx disc... ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
Re: Cracking the RDS protocol?
Tuesday, September 9, 2003, 9:54:21 PM, you wrote: Yes, people still use RDS. DWMX doesn't talk to CFMX through web services - to use a lot of the functionality of DWMX with CF, like the recordset builder, I'm pretty sure you need to use RDS. ML Is building queries the only thing people use RDS for or is there other ML things as well? Why would one use RDS as opposed to an interface ML provided by their RDBMS? Just curious as I really don't know since I ML don't use RDS. I tried making use of it in Studio a long time ago and ML found it lacking. For the same reasons asp developers like the ability to edit data in addition to browsing, as well as stored proc editing and debugging straight from their ide. I just can't imagine, for the life of me, how you could find RDS lacking in any regard -- mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: Possible to use CFFTP with SSL?
Also http://www.glub.com/products/bean/ -- mailto:[EMAIL PROTECTED] Saturday, September 6, 2003, 12:19:50 AM, you wrote: SY Nope but found this: SY http://www.nsoftware.com/products/controls/?ctl=FTPSprod=ipsssl SY Stace SY -Original Message- SY From: Stacy Young SY Sent: September 5, 2003 11:39 PM SY To: CF-Talk SY Subject: Possible to use CFFTP with SSL? SY I fear the answer is no but can CFFTP be used to connect to remote SY machine over SSL? SY Stace ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
Re: CF usage growing or shrinking? (was DWMX 2004 - Whats new for us? )
Sunday, August 31, 2003, 7:11:51 PM, you wrote: JM These points may be 100% true, but neither addresses the simple observation JM that PHP usage will soon eclipse that of CF. And what the implications of this JM will be for CF. If I had a nickel for every time someone said CF was dead... -- mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: Convert Complex data to string error.
Monday, September 1, 2003, 12:51:27 AM, you wrote: M Hi Ike and Adam (and others), M I tried Ike's suggestion below but with the same outcome. M cfif session.basket.ProductURL EQ M cfset URL = M cfelse M cfset URL = M URLEncodedFormat(session.basket.ProductURL) M /cfif url is a reserved word. Any attempts to change it are ignored, so the above code is essentially ignored. http://livedocs.macromedia.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Elements15.htm M cfset thisStruct = URL !--- Did this just to keep the sample simple --- M cfscript M thisStructList = structKeyList(thisStruct); M thisString = ; M for(i = 1; i LTE listLen(thisStructList); i = i + 1) M { M thisString = listAppend(thisString, M evaluate(listGetAt(thisStructList, i))); M } M /cfscript This code, in and of itself will not error out. It will execute, just not like you are expecting...I think. You attempt to set it to a string in the first section, but then use structKeyList on it, so it's hard to ascertain your goal here. snip M CFQUERY datasource=#dsn_orders# M INSERT INTO M tblInvoiceLineDetails M ( M fldInvoiceID, M fldPartID, M fldPartNumber, M fldProductURL, M fldPrice, M fldQuantity, M fldGroupBuy, M fldGrouping M ) M VALUES M ( M #getLastInvoiceID.LastInvoice#, M #session.basket.PartID#, M '#session.basket.PartNumber#', M '#URL#', This will cause the exact error you are seeing, since URL is not a string. Changing the variable name URL to something else in your code should fix the problem. M #PriceForQuery#, M #session.basket.Quantity#, M #session.basket.GroupBuy#, M #session.basket.Grouping# M ) M /CFQUERY M And as show at the top of this email, it stops with an erro when trying M to use the URL or thisStructList variables. M Does anybody else have any ideas? Sure... :) CF should throw an error at compile time when a reserved word is attempted to be set. That's sort of standard...don't know why CF doesn't do it in the first place. M Cheers M Mark ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
Re: Session vars not being retained. Any ideas why?
This is a bug in 6.0 that was fixed it 6.1. If you set domain cookies, CF set's a new cfif and cftoken cookie every request. -- mailto:[EMAIL PROTECTED] Monday, September 1, 2003, 10:21:02 AM, you wrote: MK My site is forgetting the session variables between pages, and I'm not sure MK why. It retains the login info when I use the CFID/CFTOKEN in the URL, but MK if not, the new page comes up and I'm logged out again. (sigh!) MK So far, I've explored the possibility that I've got the cfapplication tag MK wrong (I've pasted it below for you to see) or that my browser has cookies MK turned off (it doesn't). I've checked that the logout routine isn't getting MK cfincluded accidentally. MK I'm definitely getting logged in from the login routine, because on the MK action page following the login form, I've put a cfdump that displays the MK session scope, and the login info is shown there. But when I go to any MK other page on the site, the session scope doesn't include the login info. MK Is there anywhere else I ought to look? MK Here's my cfapplication tag, which is in the topmost Application.cfm on the MK site: MK Cfapplication name=infomanagement MK sessionmanagement=yes MK sessiontimeout=#createTimeSpan(0,0,20,0)# MK setclientcookies=yes MK setdomaincookies=yes MK (We're using CFMX6.0 on a Win2000 SP3 system.) MK Cheers, MK Michael Kear MK Windsor, NSW, Australia MK AFP Webworks. MK ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
OT: IIS6 Tip
I recently started using my Win2k3 system as my main dev machine and have been having all sorts of problems with IIS6 not displaying the current version of static files (htm, css, js), . After much hair pulling, I found a parameter called DisableStaticFileCache that can be added to the metabase.xml file that will disable the cache. http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/windowsserver2003/proddocs/standard/ref_mb_disablestaticfilecache.asp I added it to /LM/W3SVC/1/Root and voila...no more caching. Example: IIsWebVirtualDir Location =/LM/W3SVC/1/Root DisableStaticFileCache=1 AccessFlags=AccessExecute | AccessRead | AccessScript ... Has anyone else had this problem? I only have the one Win2k3 machine, so I can't verify if this is just a fluke or just another reason to be annoyed with Microsoft. -- mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: OT form javascript help
function makeBold(elem_id) { var start_text = 'b'; var end_text = '/b'; if (document.layers || window.opera) return; else if (document.all) { selected_text = document.selection.createRange(); new_text = b + selected_text.text + /b; selected_text.text = new_text; } else if (document.getSelection) { elem = document.getElementById(elem_id); start_pos = elem.selectionStart; end_pos = elem.selectionEnd + start_text.length; elem.value = elem.value.slice(0,start_pos) + start_text + elem.value.slice(start_pos); elem.value = elem.value.slice(0,end_pos) + end_text + elem.value.slice(end_pos); } } form textarea id=tfield id=tfieldhello/textareabr input type=Text id=tfield_input value=world/ input type=button value=make bold onclick=makeBold('tfield')/ /form Should work in IE4+(pc) and Gecko. I'd do this a bit differently if you wanted to extend it beyond just bold tags though. Just replace tfield with tfield_input in the onclick for it to work for the single line input. Adapted from: http://placenamehere.com/Mozilla/js_textareas.html http://www.xs4all.nl/~ppk/js/selected.html http://www.experts-exchange.com/Web/Web_Languages/JavaScript/Q_20110399.html -- mailto:[EMAIL PROTECTED] Thursday, August 21, 2003, 2:43:06 PM, you wrote: PB I know this can be done but I stink at java script. I want to select some PB text in a text field. Then click a graphic on the page and have it put an PB HTML tag around the selected text in the form field. Any idea on how to do PB this or where to find the code that does this? PB Phillip B. PB www.LoungeRoyale.com PB www.FillWorks.com PB ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
Re: CF in XSL, passing variables
What do you mean by xsl page? Neither XSLT nor XSL-FO in and of themselves have any concept of a url variable... -- mailto:[EMAIL PROTECTED] Wednesday, August 20, 2003, 7:44:15 PM, you wrote: BRR Hello all, BRR I am trying to pass an url variable from one xsl page to another and USE it. BRR How could I... BRR a.) invoke the url-variable in xsl.. BRR OR BRR b.) output Cold Fusion in the XSL page, like.. BRR cfoutput#url.item#/cfoutput BRR this has gotten me NO replies in various XSL forums, BRR gawd - can't you pass a bloody variable in XSL, what a pain in the a** BRR all thanks - flashlight BRR ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: Genealogy Program Database Schema
http://www.databaseanswers.com/data_models/genealogy/index.htm -- mailto:[EMAIL PROTECTED] Saturday, August 16, 2003, 8:07:15 AM, you wrote: JG Hi Group... JG Before I go nuts reinventing the wheel, does anyone have a program/data JG structure for a genealogy project I'm doing. JG All assists will be greatly appreciated! JG Sincerely yours, JG Jim Gurfein JG President JG RestaurantRow.com, Inc. JG http://www.restaurantrow.com JG 914.921.3200 Ext 101 JG 914.921.9190 fax JG ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
Re: Crossborwser support WAS: Simple html question
Tuesday, August 12, 2003, 1:53:25 PM, you wrote: IS You bring up something that I have debated in my head many times. How can IS anybody bring about better browser compliance so that it is easier to make IS good clean and accessible web pages. IS I have been working on a project for the last 6 months, and I'm finding that IS I'm having to fall back on age old tricks and kludges to get the pages to IS work similar. I'm still using tables for layout because I can't get IS divisions to do what I need them to do. Which is basically IS multi-column/cell layout. For example, I wanted something fairly simple IS such as this. I needed two divisions at the bottom of a larger division so IS that I could have images with captions side by side. I never did figure out IS how to do this in such a way that it worked properly. IS || IS || IS || | | IS ||image|image| IS ||text | | IS || IS || IS -- I would need details about the sizes of the images and the descriptions, but here is one way. style type=text/css div#image_container { width: 500px; border: 1px dashed black; } #image_container p { font: 12px Tahoma; text-align: center; width: 50%; height: 50px; border-right: 1px dashed black; } #image_container img { float: right; border: 1px solid black; } /style div id=image_container img src=img/icons/wrench1.gif alt= border=0/ p class=caption Description /p /div IS I really like the idea of CSS and universally standard rendering of designs IS so that I can make clean pages, but I'm not sure we're there yet. In my IS darkest hours, I wonder if we are even moving that direction! The problem is not that we are moving in the wrong direction at all. Developers and the organization that attempts to make our life easier, the W3C, are moving steadily towards xhtml/css and have been for years. Most of the problem with css and it's perception today is IE, and the fact that it's not moving in any direction at all. It hasn't been updated in years, and it's css box model fubared. It's enough to make me wonder if Microsoft's entire goal has been to kill the browser as a platform from the beginning. -- mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: need another set of eyes...
Didn't realize MX automatically escaped now... -- mailto:[EMAIL PROTECTED] Thursday, August 7, 2003, 4:50:50 PM, you wrote: jh cfquery datasource=files name=f jh SELECT filename, desc jh FROM [results.txt] jh /cfquery jh cfloop query=f jh cfif len(trim(f.filename)) NEQ 0 jh cfquery datasource=seloc_cart jh INSERT INTO NavContentOld (page, description) jh VALUES ('#f.filename#', '#preserveSingleQuotes(prettify(f.desc))#') jh /cfquery jh /cfif jh /cfloop jh I'm getting this error: jh ColdFusion was looking at the following text: jh ( jh The CFML compiler was processing: jh * an expression beginning with preserveSingleQuotes, on line 25, column 53.This message is usually caused by a problem in the expressions structure. jh I've stared at this for 10 minutes...and I can't see anything jh wrong. Removing preserveSingleQuotes makes it bomb on a value with jh a single quote... jh The problem shouldn't be in the prettify function, but in case jh someone sees something that I don't, here it is. jh function prettify(str) { jh var str2 = ''; jh str2 = replace(str, #chr(13)##chr(10)#,,ALL); jh str2 = replace(str2, amp;,,ALL); jh has2space = find( , str2, 1); jh while(has2space NEQ 0) { jh str2 = replace(str2, , ,one); jh has2space = find( , str2, 1); jh } jh return str2; jh } ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RPC Worm
Batten down the hatches...A new Windows RPC worm is on the loose. http://isc.sans.org/diary.html?date=2003-08-11 We just had a machine toasted by it, still trying to get it back up, but I'm happy in a sick sort of way since it was running CF5 and now it's running MX :) -- mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Redsky-Still issues with CFINSERT and CFUPDATE.
A little late, but after all the posts...I still didn't see an error or any code. The issue appear to be that cfinsert/cfupdate are ignoring the username/password parameters altogether. cfinsert datasource=test tablename=tbl dbtype=ODBC username=test password=test formfields=#form.test1#, #form.test2# Error thrown is: [Macromedia][SequeLink JDBC Driver][SequeLink Server]Required user name is missing. A cfquery statement against this dsn works as expected. -- mailto:[EMAIL PROTECTED] Monday, August 11, 2003, 11:59:05 AM, you wrote: CL I was reading through this thread but I don't see the error message. Can someone post sample code (against cfsnippets) that produces the error and the actual error text? CL Thanks! CL Christine CL -Original Message- CL From: Angel Stewart [mailto:[EMAIL PROTECTED] CL Sent: Monday, August 11, 2003 10:21 AM CL To: CF-Talk CL Subject: RE: Redsky-Still issues with CFINSERT and CFUPDATE. CL Yes I do. CL With Ablecommerce as well. CL I think there is a workaround for Able, but I'm having trouble accessing their support site. I don't know if the workaround would help with my CFINSERT and CFUPDATE issues. CL I am going through one particular application and manually changing the insert/update statements now though. CL -Angel CL -Original Message- CL From: David Schmidt [mailto:[EMAIL PROTECTED] CL Are you still have the same issues, Angel? CL ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Redsky-Still issues with CFINSERT and CFUPDATE.
I just tested cfupdate on our 6.1 machine, and it worked, using an ODBC Socket DSN. What is the error, and type of DSN? While moving to cfquery would be wonderful...sometimes it just isn't worth the effort to rewrite a ton of legacy code. We have a zillion little admins written years ago that used the Studio Data Entry Wizard, which to this day, still uses cfinsert/cfupdate... -- mailto:[EMAIL PROTECTED] Sunday, August 10, 2003, 9:52:40 AM, you wrote: AS Hey all, AS We are still having issues with CFINSERT and CFUPDATE after installing AS Redsky. AS We uninstalled and reinstalled Coldfusion MX 6.1 after our first install AS attempt produced these errors. AS The system was updated to MDAC 2.7. AS We then installed CFMX and then applied the Redsky update. AS However, our sites still give errors when using CFINSERT and CFUPDATE AS tags. AS Any suggestions as to what the problem could be? AS -Angel AS ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Problem calling CFC from .NET
Some thoughts, never tried any of these. It may be possible to use the cfapplication tag within your cfc, giving you access to application and session variables. Although using CF session variables for a web service might needlessly complicate matters. It would be quite an interesting hack though if you got session vars working though, would have to pass cfid/cftoken or uuid back and forth in some way... If that doesn't work, the server scope might. If all else fails...use the file system to manage state, using wddx if complex types are necessary. -- mailto:[EMAIL PROTECTED] Thursday, August 7, 2003, 8:12:37 PM, you wrote: kr Well, I'm not sure it warranted an of course not, seeing as how it did work fine when called from ColdFusion (I assume CF does not access it through the web service channels, even though it's kr stated to be a remote function). That would make sense, I just was not aware that CF will not maintain state on calls to web services. I was hoping that it could maintain state through some kr mechanism similar to session management, which I don't believe is unreasonable to fathom. kr Kevin On Thursday, Aug 7, 2003, at 11:57 US/Pacific, Ruggiero, Kevin D. wrote: The problem with doing this from ASP.NET is that the CFC does not appear to maintain its state between the function calls. Of course not - Web Services are effectively stateless - you are creating a new instance for every Web Service call. Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood kr ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfc path question
Well mappings are another solution, but I've been thinking a good idea would be to allow a directory specified in a cfimport statement to be searched for cfc's as well. cfimport would then have a little bit more in common with the java import statement, which in this case might be more intuitive for everyone. -- mailto:[EMAIL PROTECTED] Monday, August 4, 2003, 6:08:38 PM, you wrote: DSJA Sean, DSJA Hate to say it, but I *LOVE* the '/' syntax. DSJA We regularly have to move directories with code around and even across DSJA intranet sites. With the / notation I always know where the root is so that DSJA I can get at our required include directories without having to know how DSJA deep into the directory structure the current page is. DSJA Steve DSJA -Original Message- DSJA From: Sean A Corfield [mailto:[EMAIL PROTECTED] DSJA Sent: Monday, August 04, 2003 5:53 PM DSJA To: CF-Talk DSJA Subject: Re: cfc path question DSJA On Monday, Aug 4, 2003, at 13:50 US/Pacific, Tony Weeg wrote: just making sure slash syntax would be ok 1 year from now since it worked today. DSJA I *hate* the '/' syntax and would certainly considering campaigning to DSJA have it removed from CFMX... ;) DSJA Sean A Corfield -- http://www.corfield.org/blog/ DSJA If you're not annoying somebody, you're not really alive. DSJA -- Margaret Atwood DSJA ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SOT: Mozilla and DesignMode
works for me with v1.5b Gecko/20030712 -- mailto:[EMAIL PROTECTED] Monday, August 4, 2003, 6:23:59 PM, you wrote: SB (this is somewhat off-topic, but it is occurring in a CF application, if that helps. I had asked this on another list without getting any replies, which could mean no one understands what I'm SB asking -- that happens a lot) SB I'm trying to implement the Cross-Browser Rich-Text Editor (as available at http://www.kevinroth.com/rte/demo.htm -- the creator of it hasn't gotten back to me at this point) and have it working SB in IE6. SB However, on Mozilla 1.3 (it's only supposed to work on Moz 1.3+), I'm having quite a few difficulties. SB My problem line right now is in a JS file and looks like this: SB document.getElementById('testFrame').contentDocument.designMode = on; SB That's giving me the following error: SB Error: uncaught exception: [Exception... Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLDocument.designMode] nsresult: SB 0x80004005 (NS_ERROR_FAILURE) location: JS frame :: SB http://www.squidswimteam.org/dev/lib/htmlEdit/richtext.js :: Start :: line 141 data: no] SB Before that, I'm able to output the value of the designMode attribute (it's off), but it appears I can't set it. SB If you'd like to see how I'm implementing it, you can go to: SB http://www.squidswimteam.org/dev/index.cfm/fuseaction/members.dsp_announcement_edit.cfm SB You'll need to login, so I've created a test user: SB user name: tester SB password: tester SB I'm open to suggestions on what's going on. SB Thanks! SB Scott ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Alternatives to CF5's IP based debugging?
I think you can also set up the development mappings in studio/homesite...it does supposedly allow you to get the debugging back directly into studio. -- mailto:[EMAIL PROTECTED] Friday, August 1, 2003, 10:34:28 PM, you wrote: JM Are there any other methods of seeing debug output from a CF5 development JM server other than by designating a list of IP addresses? Cookie based, for JM instance? JM We've got three developers in-house and the only way that I can see to get CF's JM debugging to work properly (assuming that any given developer wants to turn JM debugging off from time to time, which is almost always the case) is to give JM each of us a static external IP address, while all other users on our network JM use NAT through a small external IP pool. Now, from behind the firewall JM there's nothing inherently wrong with a fixed IP address, but I'd still feel JM better if there weren't always these 1:1 relationships between outside IP's and JM our internal development workstations. JM Any alternatives? JM ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Alternatives to CF5's IP based debugging?
Well not having played with the debugger before, I read Charlie Areharts presentation on it, and after some head scratching and one crash, I set up a dev mapping opened my default.cfm, added a couple breakpoints, and started a debug session. Lo and behold, up pops this ultra cool window that shows every variable on that page and it's contents, including form, and cgi, queries, and all sorts of other cool stuff. Looks like 90% of the info on the standard debug is there, plus all the variables. So, you will forgive me if I differ when you say it only allows IE integration, unless of course, I misunderstood. Damn...I wish I had looked at this earlier, totally changes the way I debug. Thank you Jim for asking this question! :) I did have a problem getting this to work with an MX server...I'm off to play with it a bit more and see if I can find the problem. If they enhanced the debugging in DW...it might be a reason to switch for me. I've seen the debugger light! -- mailto:[EMAIL PROTECTED] Saturday, August 2, 2003, 12:27:07 AM, you wrote: I think you can also set up the development mappings in studio/homesite...it does supposedly allow you to get the debugging back directly into studio. DW While you can set up development mappings in Studio or Homesite, that only DW allows you to use the Internet Explorer browser integration to run pages as DW you edit them. In Dreamweaver, you can display debug output in a separate DW Dreamweaver panel. In any case, you'll only see debug output if the server DW sends it to your IP address. DW Dave Watts, CTO, Fig Leaf Software DW http://www.figleaf.com/ DW voice: (202) 797-5496 DW fax: (202) 797-5444 DW ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Alternatives to CF5's IP based debugging? - MX Debugging
Figured it out...CF MX doesn't support debugging! /me breathes deeply... Anyone know if debugging support is slated to be added back into MX? -- mailto:[EMAIL PROTECTED] Saturday, August 2, 2003, 12:51:58 AM, you wrote: jon I did have a problem getting this to work with an MX server...I'm off jon to play with it a bit more and see if I can find the problem. If they jon enhanced the debugging in DW...it might be a reason to switch for me. jon I've seen the debugger light! ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: consistancy
I don't think it's being picky...one of the most important things in software development is calling things what they are imo. Personally I think function is better, if only because it helps differentiate CF from Java. -- mailto:[EMAIL PROTECTED] Tuesday, July 29, 2003, 7:10:54 PM, you wrote: MTT Why is the naming not consistent? MTT For instance... Inside a cfcomponent tag you can have functions (cffunction) MTT yet when you publish this as a web service you use MTT http://someUrl/someDir/componentName.cfc?method=methodName in the url. Why MTT not call method function or function method in the CFC MTT I know this is picky, but is there a reason behind it? MTT Mike MTT ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
fusebox class diagrams...
Anyone know the name of the program they are using to model the classes here? http://beta.fusebox.org/images/ClassDiagram_1.gif -- mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Safe to Upgrade to MX?
Saturday, July 12, 2003, 2:29:43 PM, you wrote: -Original Message- From: Bud [mailto:[EMAIL PROTECTED] Sent: Saturday, July 12, 2003 2:13 PM To: CF-Talk Subject: Re: Safe to Upgrade to MX? Yes. See the list of known issues on the Macromedia homepage. http://www.macromedia.com/support/coldfusion/ts/documents/tn18325.htm That's an embarrassment. JD In what sense? All large applications that I've ever seen have as long or JD (normally) much longer lists... most companies just don't bother to publish JD them. JD Also note that this is the list to be addressed by the next service pack JD (which we now know is called Red Sky and will be out this summer). So we JD can expect many of these issues to be fixed then. JD I say kudos to MM for taking full accountability by making public both their JD bug system and defect lists. I wish more companies were as proactive. JD Jim Davis Where is this public bug system you speak of? -- mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Safe to Upgrade to MX?
Saturday, July 12, 2003, 5:56:41 PM, you wrote: Where is this public bug system you speak of? JD The MM WishList is, actually, the bug system: JD http://www.macromedia.com/support/email/wishform/ JD Anything put in there is tracked as an issue/request/bug/defect/whatever JD along with the internal ones. It's a little more complex than that (there JD are filtering layers of course) but in effect you're on system. JD If you're on any betas you get further control to search for browse reported JD issues. Once the beta goes public you can go to the beta site (you still JD have to log in) type in an issue number and see if it's been addressed. JD To tell you the truth I've been getting on these betas automatically for JD so long I honestly have no idea how to apply. But at some point they're JD generally opened up to anybody that wants a peek (that's what I mean by the JD beta going public). Bugzilla, The Bug Parade, and bugs.php.net, are public bug systems...not some little form sitting out there that records bugs into a system when you have to sign an NDA to see. Wake me up when MM sees the light. -- mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SOT: Looking for a VERY inexpensive dedicated development server
Well this will get you hundreds of possibilities. Clicking through a few I found coldfusion mentioned a few times as well. I'd start at page 5...any host who take the time to optimize for google is probably not worth investigating. http://www.google.com/search?q=windows+dedicated+%2499 In the 99-150 range it's pretty much potluck if they are good. Just make sure they own their own servers, have 24/7 phone support, and are hooked up to a halfway decent backbone. If you have access to power cycle the server...you should rarely need to talk to them as long as they do their job. -- mailto:[EMAIL PROTECTED] Thursday, July 10, 2003, 3:57:22 PM, you wrote: JM Anyone know where to get a decent Windows server (oxymoron?) for cheap? JM We need a dedicated server and are looking in the $99 to $150 range. Any JM suggestions? JM Thanks, ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SOT: Looking for a VERY inexpensive dedicated development server
I'd like to see where I said wanting to be found in google is a bad thing...please show me. I got your diagram right here though. If you disagree, and would like to buy from someone in the first 5 pages, go right ahead. I don't care...I don't see how it applies to the topic though. I said I would start at page 5...not that you should. It is a common strategy though. I was just offering my opinion, having been in the hosting business for almost 5 years now considering that there is probably thousands of hosters in the world the world that will do a 99-150 dedicated server of widely varying quality. Personally..I'd drive over to the local isp with a server in hand and ask if they would plug it in and try not to spill coffee in it. Don't have a Venn diagram of why that would be a good idea though, so it may not be valid in your world. -- mailto:[EMAIL PROTECTED] Thursday, July 10, 2003, 10:54:29 PM, you wrote: JM So wanting to be found in the world's most popular search engine means JM you're a bad company? I'd like to see the Venn diagram for that piece of JM logic. JM -Original Message- JM From: Brook Davies [mailto:[EMAIL PROTECTED] JM Sent: Thursday, July 10, 2003 10:39 PM JM To: CF-Talk JM Subject: Re: SOT: Looking for a VERY inexpensive dedicated development JM server JM At 10:22 PM 7/10/2003 -0400, you wrote: page 5...any host who take the time to optimize for google is probably not worth investigating. JM Huh? How can that be? We never optimized for google, but we found our JM selfs listed there with a good ranking. How can that say anything about JM us JM as a company? I don't think thats fair at all. Also, google's link JM popularity system may actually mean that some good/popular hosts DO get JM a JM high ranking at google. JM Brook ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Array vs. temp table
I'm not familiar with pl/sql, but probably for the same reasons you would use an array instead of a table for storage in any other language...the ability to randomly access a group of related items very fast. -- mailto:[EMAIL PROTECTED] Tuesday, July 8, 2003, 3:01:25 PM, you wrote: CCC Under what circumstances would you use an array vs. a temp table in a CCC programming language such as PL\SQL. is there really a difference? CCC CC ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CSV Question
Everything sounds correct. The only other thing I did was uncheck maintain connections, which shouldn't affect whether or not it works. Does your schema.ini look normal, and is it in the right dir? -- mailto:[EMAIL PROTECTED] Friday, June 27, 2003, 12:16:12 AM, you wrote: AO Here is what I've done so far: AO 1. Set up ODBC System DSN called TextSource that uses Microsoft Text AO Driver, AO pointed to my Upload directory, and for simplicity in this discussion, AO defined AO the fields contained in my csv. AO 2. Went into MX Administrator and created CSVFile Data Source defined as an AO ODBC Socket, and selected TexttSource as the ODBC DSN. AO I get this error when I hit submit: AO a.. Connection verification failed for data source: CSVFile AO []java.sql.SQLException: SQLException occurred in JDBCPool while AO attempting AO to connect, please check your username, password, URL, and other AO connectivity AO info. AO The root cause was that: java.sql.SQLException: SQLException occurred in AO JDBCPool while attempting to connect, please check your username, password, AO URL, and other connectivity info. AO What am I doing wrong? I've assigned User being System, and I don't have AO passwords on this test box. AO -Original Message- AO From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] AO Sent: Thursday, June 26, 2003 10:55 PM AO To: CF-Talk AO Subject: Re: CSV Question AO Forgive the asp site...but it's got screenshots :) AO http://www.c-sharpcorner.com/database/Connect/ConnectODBCText.asp AO A couple things to add to what the above site says. AO An ini file (schema.ini in example) will be created in the same AO directory as the csv after the dsn is created. Take a look at it..it's AO fairly self-explanatory. The built in CF ini functions will let you AO access and change it around, and add new text files for it. You only AO need to create one ini file for an nearly unlimited number of csv files in AO the same directory. AO After you create the dsn in windows, create an odbc socket dsn in CF AO pointing to the text dsn you created. That's textsource in my AO example. AO The schema.ini for the app I used this code in looks like this, just AO a lot bigger... AO [0927TPE-1.txt] AO ColNameHeader=False AO Format=CSVDelimited AO MaxScanRows=0 AO CharacterSet=OEM AO Col1=CUSTNAME Char Width 255 AO Col2=REPNAME Char Width 255 AO Col3=CUSTEMAIL Char Width 255 AO [100402me-111.txt] AO ColNameHeader=False AO Format=CSVDelimited AO MaxScanRows=0 AO CharacterSet=OEM AO Col1=CUSTNAME Char Width 255 AO Col2=REPNAME Char Width 255 AO Col3=CUSTEMAIL Char Width 255 AO ... AO -- AO mailto:[EMAIL PROTECTED] AO Thursday, June 26, 2003, 11:14:31 PM, you wrote: AO Jon, AO I am trying to use your code to translate a CSV file into a query. You AO reference datasource=textsource. What is textsource? AO Andy AO -Original Message- AO From: jon hall [mailto:[EMAIL PROTECTED] AO Sent: Wednesday, January 29, 2003 7:12 PM AO To: CF-Talk AO Subject: Re: New problem with csv... argghhh AO By editing the schema.ini file you can add a text datasource with CF's AO ini file functions. That way you can dynamically add dsn's when the AO end user uploads the file. Take a look at the format of the schema.ini AO file that is created, it's pretty straightforward. AO The fact that these files are very large, would be a reason to not AO write a manual parsing routine. Microsoft (or someone they bought :)) AO already wrote a very good and fast csv parser into the ODBC Text AO driver...no need to recreate the wheel imo. I wrote quite a few csv AO imports using CF manually and there is still a indentation the size of AO my forehead on my desk because of those sleepless nights :) AO If you were working with SQL Server, using DTS to do the import would be AO a AO great way as well. Just wanted to throw some options your way. AO This is a cffunction that takes the filename after is has been AO uploaded, and creates the Text DSN, and returns the query. It could be AO easily modified it work in previous versions of CF though. AO cffunction name=cvsToQuery returntype=query AO cfargument name=filename type=string AO cfset var schemaFile = E:\schema.ini AO cfif len(trim(getProfileString(schemaFile, arguments.filename, AO ColNameHeader))) EQ 0 AO cfset rs = setProfileString(schemaFile, AO arguments.filename, AO ColNameHeader, False) AO cfset rs = setProfileString(schemaFile, AO arguments.filename, AO Format, CSVDelimited) AO cfset rs = setProfileString(schemaFile, AO arguments.filename, MaxScanRows, 0) AO cfset rs = setProfileString(schemaFile, AO arguments.filename, AO CharacterSet, OEM) AO cfset rs = setProfileString(schemaFile, AO arguments.filename, AO Col1, CUSTNAME Char Width 255) AO cfset rs = setProfileString(schemaFile, AO arguments.filename, AO Col2, REPNAME Char Width 255) AO
Re: Smart or Stupid (CFLOOP as a GOTO)
Sure, but that's why you loop over the validation types as well. something like... valStruct.email = listToArray(null,maxlength,email); valStruct.email.value = [EMAIL PROTECTED]; valid = true; while(valid) { valid = true; for(i = 1; i LT arrayLen(valStruct.email), i = i + 1) { switch(vType[i]) { case null: valid = isNull(valStruct.email.value); if (NOT valid) break; case maxlength: valid = checkLength(valStruct.email.value); if (NOT valid) break; etc... } if (NOT valid) break; } } This is very generally the best form validation routine I've been able to come up with in CF, at least until the form collection becomes an object itself. Of course if you are not on MX...you can't do cfquery's in UDF's, so perhaps the best angle would be to have each validation type a custom tag... Wouldn't it be cool though if we could have a loop watched a particular variable/method for an event? Like if a particular variable changed...the event is fired which breaks the loop immediately. -- mailto:[EMAIL PROTECTED] Friday, June 27, 2003, 7:43:54 PM, you wrote: JD That's only checked (as far as I understand it) before each iteration, not JD throughout the processing. JD In other words setting theform equal to invalid will not stop processing JD immediately - it will finish out the rest of the code in the loop THEN stop. JD Jim Davis -Original Message- From: Kwang Suh [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 7:36 PM To: CF-Talk Subject: Re: Smart or Stupid (CFLOOP as a GOTO) Why not use the condition attribute? cfloop condition=theForm eq valid - Original Message - From: Jim Davis [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, June 27, 2003 5:26 PM Subject: Smart or Stupid (CFLOOP as a GOTO) This may be a VERY dumb question, but I'm brain fried. Okay - so I'm working on a form and I need to validate fields for many things. Taking email address for example I need to validate that it's been filled in (not zero length), that it's less than 255 characters (the database limit), that it fits a email format and finally that the email address isn't already in use. What I'd like to be able to do is check through all these validations. The instant a problem is found I want to stop checking. I would then redisplay the form and so forth. In a custom tag or function I might, when an error is found simply return to the caller with the error information. Since this is a rather small set and is only the first of many small forms I decided (perhaps wrongly) to just do the validation at the top of the page. To simulate a components ability to return at any point I wrapped the whole validation block in a CFLOOP from 1 to 1 (1 iteration) - as soon as I hit an error (and set the error variable) I CFBREAK. Right after the loop I check the value of the error variable. Now that I'm looking at it I'm not sure... is this just the stupidest thing you're ever heard? Should I take the extra time and create a customized validation custom tag for each and every form? Jim Davis JD ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CSV Question
Forgive the asp site...but it's got screenshots :) http://www.c-sharpcorner.com/database/Connect/ConnectODBCText.asp A couple things to add to what the above site says. An ini file (schema.ini in example) will be created in the same directory as the csv after the dsn is created. Take a look at it..it's fairly self-explanatory. The built in CF ini functions will let you access and change it around, and add new text files for it. You only need to create one ini file for an nearly unlimited number of csv files in the same directory. After you create the dsn in windows, create an odbc socket dsn in CF pointing to the text dsn you created. That's textsource in my example. The schema.ini for the app I used this code in looks like this, just a lot bigger... [0927TPE-1.txt] ColNameHeader=False Format=CSVDelimited MaxScanRows=0 CharacterSet=OEM Col1=CUSTNAME Char Width 255 Col2=REPNAME Char Width 255 Col3=CUSTEMAIL Char Width 255 [100402me-111.txt] ColNameHeader=False Format=CSVDelimited MaxScanRows=0 CharacterSet=OEM Col1=CUSTNAME Char Width 255 Col2=REPNAME Char Width 255 Col3=CUSTEMAIL Char Width 255 ... -- mailto:[EMAIL PROTECTED] Thursday, June 26, 2003, 11:14:31 PM, you wrote: AO Jon, AO I am trying to use your code to translate a CSV file into a query. You AO reference datasource=textsource. What is textsource? AO Andy AO -Original Message- AO From: jon hall [mailto:[EMAIL PROTECTED] AO Sent: Wednesday, January 29, 2003 7:12 PM AO To: CF-Talk AO Subject: Re: New problem with csv... argghhh AO By editing the schema.ini file you can add a text datasource with CF's AO ini file functions. That way you can dynamically add dsn's when the AO end user uploads the file. Take a look at the format of the schema.ini AO file that is created, it's pretty straightforward. AO The fact that these files are very large, would be a reason to not AO write a manual parsing routine. Microsoft (or someone they bought :)) AO already wrote a very good and fast csv parser into the ODBC Text AO driver...no need to recreate the wheel imo. I wrote quite a few csv AO imports using CF manually and there is still a indentation the size of AO my forehead on my desk because of those sleepless nights :) AO If you were working with SQL Server, using DTS to do the import would be a AO great way as well. Just wanted to throw some options your way. AO This is a cffunction that takes the filename after is has been AO uploaded, and creates the Text DSN, and returns the query. It could be AO easily modified it work in previous versions of CF though. AO cffunction name=cvsToQuery returntype=query AO cfargument name=filename type=string AO cfset var schemaFile = E:\schema.ini AO cfif len(trim(getProfileString(schemaFile, arguments.filename, AO ColNameHeader))) EQ 0 AO cfset rs = setProfileString(schemaFile, arguments.filename, AO ColNameHeader, False) AO cfset rs = setProfileString(schemaFile, arguments.filename, AO Format, CSVDelimited) AO cfset rs = setProfileString(schemaFile, arguments.filename, MaxScanRows, 0) AO cfset rs = setProfileString(schemaFile, arguments.filename, AO CharacterSet, OEM) AO cfset rs = setProfileString(schemaFile, arguments.filename, AO Col1, CUSTNAME Char Width 255) AO cfset rs = setProfileString(schemaFile, arguments.filename, AO Col2, REPNAME Char Width 255) AO cfset rs = setProfileString(schemaFile, arguments.filename, AO Col3, CUSTEMAIL Char Width 255) AO /cfif AO cfquery datasource=textsource name=textqry AO SELECT * AO FROM [#arguments.filename#] AO /cfquery AO cfreturn textqry AO /cffunction AO -- AO jon AO mailto:[EMAIL PROTECTED] AO Tuesday, January 28, 2003, 7:27:05 PM, you wrote: RAB At 06:11 PM 1/29/03 -0500, you wrote: Create a ODBC Text Datasource to the file one the machine and then just use cfquery to turn it into a query...which you can loop over or RAB THe problem is it's a multi-thousand record product table from multiple RAB manufacturers and new prices come out all the time - so the client AO needs a RAB way to batch change specific product records... If I create an ODBC RAB connection, wouldn't I need to shut it off for every time the Text RAB datasource is changed? RAB AO ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfc-skeletons?
Poking around this evening, and I came across the CFusionMX\wwwroot\WEB-INF\cfc-skeletons dir. I guess I've seen it before but never really paid attention. Anyone know what is it used for? I search Google, MM, and the MX docs and couldn't find anything except for a Spanish forum posting somewhere... -- mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFHTTP still and again
No work-around if you don't control the other side...gotta use an external component of some kind. There are a few cfx_http's floating around, i prefer msxml though since it's already on every windows server. %3Crant%3E Don't fall for the MM spin...4.5 was fine, it was just up to the developer to be compliant by using urlEncodedFormat(). %3C%2Frant%3E -- mailto:[EMAIL PROTECTED] Tuesday, June 24, 2003, 7:20:22 PM, you wrote: B OK. Macromedia convinced me that they did the correct thing with CF B 5.0 and fixed cfhttp to be http 1.1 compliant by encoding the form B variables. Now I've hit a snag where I'm submitting form variables in B CF 5 and the variables are being encoded along with the values. snip ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Java development risk? (was: log4j problem migrating J2SE app)
Forgive me if I am off track here, but isn't this what the classpath is for? For example, MX comes with Javamail 1.3, but I installed 1.4 and just edited the classpath to include the javamail jar at the beginning and MX used 1.4... -- mailto:[EMAIL PROTECTED] Sunday, June 22, 2003, 1:33:04 PM, you wrote: DJ Sean, DJ Thank you for the explanation. I understand the situation you are DJ describing and the reason for it, but I think this points out a DJ serious risk in developing Java apps with CFMX. DJ Let's say I develop an app that uses a third-party library that DJ is not used by CF. Everything's fine. However, let's say a later DJ release of CF includes the library, but a different version of DJ the library with a different API. Suddenly, my app no longer DJ works with CF. I have the choice of either reworking my app to DJ use the different library or not upgrading to a new version of CF. DJ In short, from a Java developer's standpoint, the environment is DJ unpredictable. Yes I understand that all new versions carry a DJ risk of some backward incompatibility. But I would argue that DJ changing the libraries on which an application is built is of DJ significantly greater magnitude than the deprecation of functions or methods. DJ I would not have this problem in a pure Java environment (e.g. DJ JRun, Tomcat, etc.) because by establishing contexts I can DJ control the libraries used by my applications. And if I have two DJ apps using two different versions of the same library, I can run DJ each in a separate context to avoid a conflict. DJ I think anyone doing serious Java development (not just using DJ worker beans or servlets) is going to run into this problem. DJ Maybe, as you say, that's just the way it has to be. but that's DJ unfortunate. I love the idea of using CF as the front-end to Java DJ applications and hoped to migrate some of my clients to CFMX. But DJ I don't like the idea of not being in control of the libraries my DJ apps are using and quite frankly can't justify the investment in DJ developing Java applications for CFMX knowing that future DJ releases of CFMX may break them simply by their choice of libraries to include. DJ Does CFMX for J2EE share the same behavior? DJ Thanks, DJ Dave Jones DJ NetEffect ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Dynamically populating an XML document
I've never been in a situation where create a document via the DOM was necessary. cfsavecontent does the trick for me. cfsavecontent variable=foo collection cfloop... filesome value/file /cfloop /collection /cfsavecontent cfset file_log = xmlParse(foo) -- mailto:[EMAIL PROTECTED] Monday, June 16, 2003, 6:33:22 PM, you wrote: OH I have a newly created XML document: OH cfscript OH file_log = XmlNew(); OH file_log.xmlRoot = XmlElemNew(file_log, Collection); OH file_log.xmlRoot.XmlChildren[1] = XmlElemNew(file_log, File); OH /cfscript OH I want to loop over some values and insert them, so the document ends up OH looking something like this: OH collection OH filesome value/file OH filesome value/file OH filesome value/file OH filesome value/file OH /collection OH I'm trying to insert with some variation of: OH cfset StructInsert(file_log.Collection.XmlAttributes, File, OH selectedElements[i].XmlAttributes.id#.pdf) OH But I keep getting this error with every thing I try: OH Missing argument name. When using named parameters to a function, every OH parameter must have a name. OH I'm not getting what I'm missing? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Is there an alternative to CFTREE?
I've built a cfc wrapper for xtree if you are interested, shoot me an email if so. It would take some modification to get it to work though as it currently works a custom category (serial number method) scheme from a database. I've been working a generalizing it more, it's just not there yet. It would be capable of everything you mention though. http://webfx.eae.net/dhtml/xtree/index.html -- mailto:[EMAIL PROTECTED] Friday, June 13, 2003, 5:51:43 PM, you wrote: SEPNJJ Does anyone know of anything other then CFTREE that will allow a user to SEPNJJ select a directory from a GUI? SEPNJJ All the custom tags I've found on devX are wrappers around CFTREE. I'd SEPNJJ prefer an applet-free alternative. Maybe something in Flash? SEPNJJ The only requirement is that it must work within the context of an HTML form SEPNJJ (i.e return a value to a form field). SEPNJJ Thanks! ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: DTS to update SQL Server database?
http://vyaskn.tripod.com/troubleshooting_orphan_users.htm -- mailto:[EMAIL PROTECTED] Wednesday, June 11, 2003, 7:33:26 PM, you wrote: Other than importing a flat file, the other two have downsides as well. Like the phantom user issue... DH Phantom user issue? DH ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cftextarea...
Yup...I would put money on the chance that DW will support Royale down the road. I fully anticipate many sleepless nights after it comes out...oh wait...that's every night. Still... :) -- mailto:[EMAIL PROTECTED] Tuesday, June 10, 2003, 9:41:59 PM, you wrote: MW Well, I'm working on that sort of thing and I'm sure others are too. However MW it seems like MACR's Royale release later this year might have significant MW impact on this area. -Original Message- From: Angel Stewart [mailto:[EMAIL PROTECTED] Sent: Wednesday, 11 June 2003 1:13 p.m. To: CF-Talk Subject: RE: Cftextarea... Hey! How about Flash Widgets! snip ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
SQLXML
Just a quick note for anyone who hasn't gotten a chance to play with MSSQL SQLXML yet, here is snippet showing how to get SQL Server to return XML to CF. The MS SOAP Toolkit and SQLXML both need to be installed on the server before this will work. cfquery datasource=northwind name=xml SELECT Customers.CustomerID, Orders.OrderID, Customers.ContactName FROM Customers, Orders WHERE Customers.CustomerID = Orders.CustomerID FOR XML AUTO /cfquery cfset column = xml.columnList cfset xmlStr = '' cfloop from=1 to=#xml.recordCount# index=i cfset xmlStr = xmlStr xml[column][i] /cfloop root cfoutput#xmlStr#/cfoutput /root That's it...piece of cake. The only weird things are the name of the column that is returned by default is a bit odd, so I had to work around that, and multiple records are returned representing one xml document so they need to be concatenated. If anyone has any info on how to change that or why that is, I'm all ears. -- mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Update on the Installer Freeze Failure to Auto-Start on Windo ws Issues...
All I have to say is...wow. How's that for responsive? -- mailto:[EMAIL PROTECTED] Sunday, June 8, 2003, 10:41:30 AM, you wrote: DC I've not had the cycles to keep up with the feeding frenzy this has turned into, but I thought I'd update everyone on where we are regarding the 2 issues reported and discussed here at the one DC machine at Mike's hosting site: DC 1) ZeroG Java-based Updater installer hang. DC It took us a little while to track this down (we had to find a machine with less-than 8-bit color display capability...harder than you'd think these days). DC Here's the scoop: DC a) For the GUI-based installer, a minimum of 8-bit color depth (256 colors) is required to run InstallAnywhere-based installers. Additionally, installers require a minimum 640 X 480 screen DC resolution. DC b) The Updater installer can be invoked in silent mode on Windows, if you have a machine that doesn't meet (a) above for the GUI install, or (b) you have a need to apply the Updater to many DC machines via batch scripts, etc, etc. Follow the instructions here for a silent install: DC http://www.macromedia.com/support/coldfusion/releasenotes/mx/releasenotes_mx_updater03.html#silentinstall DC 2) CF not automatically starting reliably on Windows after system reboot: DC We had 3 engineers working this all day Friday, and we believe we have a reproducible case, and have started debugging the process to see what's happening. DC One of the things we're about to try is to simply switch Java VM's to see if this is the result of a Java VM bug (we've had several in the interacting-with-Windows-as-a-Service area before, so DC we're not ruling that out, and it's a quick thing to try. Recall that the CFMX Gold bits shipped out of the box with the Sun 1.3.1_03 VM. Trying the 1.3.1_08 VM, the 1.4.1_03 VM and the 1.4.2 DC Beta VM will determine whether it's something that's fixed in the VM. If anyone on this list is experiencing the issue, and wants to try these VM's and report back, that would be a big help, and DC you can participate in helping to move this issue forward. DC More to come, when we know more (likely Monday EOD sometime)... DC Thanks for your patience. DC Damon DC ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfc documentation
Perfect, thanks. It would be nice to see MM have an official tool though... Off to the wish form! :) -- mailto:[EMAIL PROTECTED] Friday, June 6, 2003, 9:19:47 AM, you wrote: RC However - in order for others to view your CFC docs, they must have RC access to the RDS password, which isn't always the best solution. You RC can write your own doc tools. One good one is CFCRemoteDocumentor, RC written by Nathan Dintenfas. You can download it here: RC http://changemedia.org/cfcremotedocumenter/ RC RC === RC Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc RC (www.mindseye.com) RC Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) RC Email: [EMAIL PROTECTED] RC Blog : www.camdenfamily.com/morpheus/blog RC Yahoo IM : morpheus RC My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: webguy [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 5:15 AM To: CF-Talk Subject: RE: cfc documentation cfc's are meant to be self documenting if you add a hint attribute to cfcomponent, cfargument, etc.. it will be diplayed in the component browser. WG -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 06 June 2003 06:37 To: CF-Talk Subject: cfc documentation Is there a cfc documentation tool out there like javadocs yet? -- mailto:[EMAIL PROTECTED] RC ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfc documentation
Is there a cfc documentation tool out there like javadocs yet? -- mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Hiding JavaScript codes
With the addition of some no-cache headers this seems to be the best approach I've ever seen. -- mailto:[EMAIL PROTECTED] Thursday, April 3, 2003, 8:40:01 PM, you wrote: CP Actually, you kind of can I think... CP You can use a cfm file as a .js file to emulate a javascript file. Change CP the extension to .cfm... Careful, cf studio won't correctly parse it, but CP nonetheless it'll work... Just tested it. CP cfparam name=cgi.http_referer default= CP cfif cgi.http_referer eq cfabort/cfif at the top. CP Then, in your script, just enter: CP script language=javascript src=temp.cfm/script CP In THEORY, the .js will come up blank unless it's called from another file CP on your site. CP Tweak it as you wish. It should keep prying eyes from reading your .js CP file. CP This isn't 100% bulletproof, but should work for the most part. You can of CP course get more anal on the file and verify the referer more carefully. CP -Original Message- CP From: Dave Watts [mailto:[EMAIL PROTECTED] CP Sent: Thursday, April 03, 2003 11:35 AM CP To: CF-Talk CP Subject: RE: Hiding JavaScript codes The part I'm not sure about is, that it maybe possible to put the javascript.js file in a non-web directory. CP This isn't possible. If you don't put it in a web-accessible directory, your CP web browser won't be able to fetch it. CP Dave Watts, CTO, Fig Leaf Software CP http://www.figleaf.com/ CP voice: (202) 797-5496 CP fax: (202) 797-5444 CP ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
accessing parent cfc's variables
If I have a cfc that is nested in another cfc, is there a way to access the parent object's variables? I have something like this. cfif NOT isDefined(session.user.order) cfset order = createObject(component, cfc\order) cfset session.user.order = order /cfif I have a method in the order object that needs to access a variable in the this scope of the user object. -- mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Retrieving CFMX code from a db
By SQL, do you mean MS SQL Server? If so, forgive me if this seems a bit unnecessary, as the database allows you to return a recordset as XML, and apply a style sheet natively, and transparently... While doing what you want would be technically possible, it goes counter to the concept of separating your applications into distinct layers. What happens if you need to change a bit of code later on, or a bug is discovered? Bugs in code is one thing, but bugs in the data is another... -- mailto:[EMAIL PROTECTED] Thursday, March 20, 2003, 8:01:19 PM, you wrote: MJS Hello all, MJS I am in a quandry. I am currently storing all my data in a SQL database MJS using XML for each record. Once the data goes in I am coverting it to be MJS XML safe (i.e., span class=thistest/span is saved as lte;span MJS class=quot;thisquot;gte;testlte;/spangte;). MJS This leads me to my question. I would like to be able to save CF code to MJS the database and upon retrieval parse the code. So I have two issues that I MJS am running into issues with: MJS 1. I am attempting to unformat the info saved in the XML format and convert MJS it back to readable code. MJS 2. Parse the cold fusion code from the db to the screen. MJS Any thoughts on a good way to go about this? MJS Regards, MJS Michael J. Sammut ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: [OT] RE: Free SQL Server
Not that I disagree totally, but Microsoft does sell MSDN subscriptions for ~$800, and it can be paid in installments. Pretty good deal for every piece of Microsoft software going all the way back to Windows 3.1. -- mailto:[EMAIL PROTECTED] Wednesday, March 19, 2003, 4:06:34 PM, you wrote: JW Robertson-Ravo, Neil (RX) Yep, just dont like to see people openly encouranging piracyno offence of course :-) JW I do not see anything wrong with d/l any software off #favorite.p2p# JW to learn with. JW Not that I am defending piracy... But I believe Microsoft(companies JW in general) brings this on themseleves. They are creating the black JW market for illegal copies of SQL Server. They are criminalizing the JW very people they want to use and learn their product: developers. I JW do not want a crippled copy of anything to learn on. JW I like the model that Oracle has, if I am a member of their devolper JW network I can donwload, install, test and develop on any of their JW products as a developer. Because of this I have learned more about JW Oracle(than I really wanted to) and when consulting I recomend this JW over SQL server everytime. As long as I can't convince them to use JW postgresql first ;) JW As a developer/consultant I think companies should make it easier for JW me to test and develop on their software. I think propriatary JW software will have a hard time competeing in the future as open JW source matures. Developers-To-Be can download any open source JW project and begin to learn without having to worry about licencing. JW Their efforts will be concentrated on developing. The harder JW companies make it for developers to learn their software, the less JW devopers they will have for their product over the long run. JW didn't mean to rant, sorry JW jason ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFMX Updater 3 Released
Resolving host name ftp.macromedia.com... Connecting to (ftp.macromedia.com). Connected to (ftp02.macromedia.com) - IP: no.you.cant.have.my.ip PORT: 21. Socket connected waiting for login sequence. 220 ftp02 FTP server (Version wu-2.4.2-academ[BETA-16](1) Tue Mar 31 22:12:17 PST 1998) ready. USER anonymous 530 User anonymous unknown. sigh... -- mailto:[EMAIL PROTECTED] Wednesday, March 19, 2003, 7:54:54 PM, you wrote: MK I'm assuming there's a reason Erika doesn't want to install flash, not MK just that I don't like flash!. So I'm prepared to make the updater MK available to her from my web site. MK Erika, please email me and I'll let you know where you can get it, since MK getting it from MM without installing flash is difficult. MK Cheers, MK Michael Kear MK Windsor, NSW, Australia MK AFP Webworks. MK -Original Message- MK From: Barney Boisvert [mailto:[EMAIL PROTECTED] MK Sent: Thursday, 20 March 2003 11:19 AM MK To: CF-Talk MK Subject: RE: CFMX Updater 3 Released MK That'll let you access the rest of the site without flash, but not the MK download page. just get a redirect to the MK 'flash_app_requirements.html', MK which says you have to have JS1.2 and Flash 6.0.65.0+. Tons of fun for MK servers without a GUI to install flash into. Anyone from MM have a MK suggestion? MK barneyb -Original Message- From: Dave Carabetta [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 3:39 PM To: CF-Talk Subject: RE: CFMX Updater 3 Released Yeah, but apparently ... And please tell me I'm wrong ... You can't download it unless you have Flash installed and running ... However, MK on my server ... I am NOT installing the latest Flash player and I just want to use the HTML version of the page So if someone could guide me to a dowload link that doesn't require MK me to install Flash . Erika, if you don't want to use Flash, you should be able to switch over to a pure HTML version of the site by clicking on the Accessibility link in the footer of any MM page. Regards, Dave. MK ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Updater3 breaks Studio odbc?
Still works for me... -- mailto:[EMAIL PROTECTED] Wednesday, March 19, 2003, 7:29:25 PM, you wrote: MR Just installed updater 3. Seems to work fine except now CF Studio's database tab can't connect to my localhost server, which it had no problem doing before. MR I get the dreaded the connection to the server could not be established. Tried using 127.0.0.1 and the machine's internal network IP in addition to the formerly working localhost. No luck. MR Any ideas anyone? MR --- MR Matt Robertson, [EMAIL PROTECTED] MR MSB Designs, Inc. http://mysecretbase.com MR --- MR ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFMX Updater 3 Released
Some comments from our Sysadmin(hope he doesn't mind g)who was going to get the updater and install it because I hadn't downloaded it yet...not a developer, but very sharp. We are about to start on our first real MX project, so there is a new machine to be installed tonight too. He also had not been to the new macromedia.com yet... Talk about a f**ked up website-- I've been at the Macromedia website for more than 10 minutes and have yet to find the download area for software updates. Their support section is all KB stuff, and their download area per-se is for trialware. Gr has been a frustrating evening. MX won't install on the machine. It's throwing a Windows Installer error which may (or may not) be related to Terminal Services-- will have to try from the console in the a.m. (Same s*it happened when I tried to install MS Office over TermSvcs a few days ago-- had to do it @ the console.) I then went to go download it for him directly to one of the servers thru term services, and the server didn't have the latest version of flash so a can't download! how incredibly retarded... Anyway, here is a direct link... http://65.57.83.12/go/cfmx_updater_win_svr_u3 -- mailto:[EMAIL PROTECTED] Wednesday, March 19, 2003, 8:02:22 PM, you wrote: BB If she's like me, it's because she has *nix server(s) and didn't install the BB GUI, because `lynx` from the command line has always been perfectly adequate BB for getting updates for everything. BB barneyb -Original Message- From: Michael Kear [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 4:55 PM To: CF-Talk Subject: RE: CFMX Updater 3 Released I'm assuming there's a reason Erika doesn't want to install flash, not just that I don't like flash!. So I'm prepared to make the updater available to her from my web site. Erika, please email me and I'll let you know where you can get it, since getting it from MM without installing flash is difficult. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. BB --- BB Outgoing mail is certified Virus Free. BB Checked by AVG anti-virus system (http://www.grisoft.com). BB Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/2003 BB ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
attaching methods at runtime
Is there a way to attach a method/function to cf variable, be it a string, array, structure, etc at runtime? I don't think this is possible now, but it just popped into my head, and before I headed to the wishform, I was wondering if it, or a creative workaround already existed. For example, attaching a validate method to the form collection, or a length method to an array. -- mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: attaching methods at runtime
To answer Michael's question, I was just thinking out loud, but the line of thinking came up because I had just completed the first bits of a generalized form validation cfc, and was thinking about how it contrasted to how I would do the same thing in OO javascript. Perhaps though, as you say, there may not really be a need. -- mailto:[EMAIL PROTECTED] Sunday, March 16, 2003, 10:41:22 PM, you wrote: SID I wouldn't expect it to be possible with the existing scope collections like SID form or with native data types like arrays. In most cases I wouldn't expect SID this to really be something people look for, largely because it's not SID necessary for any custom framework (form validation for instance) that I'm SID aware of -- using native functions and UDF's that work on arrays and SID structures directly (cfset checkformdata() or cfset x = arraylen(myarray)) isn't a workaround : it's the way it's done to begin SID with. SID Now if you're talking about adding methods to CFC's at runtime, such as SID cfset myCFC.doSomething = myUDF that's a whole other story (and I suspect SID could be useful in some situations, just as it is sometimes useful to group SID UDF's into request structures and the like). I haven't got any clue if MX SID supports it. I half expect it to be supported already, but I also half SID expect it to not be supported. If it is supported, then rebuilding the SID scopes (form,url,attributes,variables,request,etc) as CFC's similar to the SID new custom java class for the Arguments array in functions, if these scopes SID aren't already defined this way would provide the other functionality SID (although I'm not sure if I agree that would be an advantage). Is there a way to attach a method/function to cf variable, be it a string, array, structure, etc at runtime? I don't think this is possible now, but it just popped into my head, and before I headed to the wishform, I was wondering if it, or a creative workaround already existed. For example, attaching a validate method to the form collection, or a length method to an array. -- mailto:[EMAIL PROTECTED] ~~ ~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index. cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/uns ubscribe.cfm?user=633.558.4 SID s. isaac dealey954-776-0046 SID new epoch http://www.turnkey.to SID lead architect, tapestry cms http://products.turnkey.to SID tapestry api is opensource http://www.turnkey.to/tapi SID certified advanced coldfusion 5 developer SID http://www.macromedia.com/v1/handlers/index.cfm?ID=21816 SID ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT Domain registration
If blind forwarding is a term for a HTTP 3xx redirect, then yes the search engines will generally follow them as long as the domain doesn't change. Why not just skip the whole forwarding thing though, and get someone to host dns for you if you don't want to do it yourself? It should be cheap or free no matter who you get to do it. Most places will probably set up their dns to synch with your own local dns if so desired even. -- mailto:[EMAIL PROTECTED] Saturday, March 15, 2003, 4:03:24 PM, you wrote: RF I was very curious about responses to your last response, Jason. RF I've been using GoDaddy and using blind forwarding for my domains RF and have been having trouble with search engines. I was just beginning RF to wonder what effect blind forwarding was having on that. RF I see that you go no response to your concern. RF Any insights you've picked up since the date of this email? RF Rick RF -Original Message- RF From: Jason Miller [mailto:[EMAIL PROTECTED] RF Sent: Thursday, March 06, 2003 1:34 PM RF To: CF-Talk RF Subject: Re: OT Domain registration RF RF RF With all these domain name services - I had just registered with RF regiterfly as a reseller because for some reason godaddy's reseller RF program did not prompt me to sign up... RF RF however my main concern is with companies like godaddy.com and RF registerfly.com - if ip's are forwarded or any masking takes RF place - I RF assume it must have adverse effects on search engine placement... RF Anyone have any insight to this? What is legitimate RF forwarding vs not? I RF am nervous enough using coldfusion and having to develop RF clean URL's and RF their advers effects on search engines.. let alone the registar's RF procedures.. RF RF Any links/ input is appreciated- I do think it's an important issue. R ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Pet Market cfc's
I've been digging into the Pet Market this weekend, and I'm hoping if anyone can shed some light on the reasoning behind the way they chose to initialize the cfc's. Specifically the user.cfc which is instantiated in the application.cfm, has constructor code that looks like this. cfparam name=this.userid default=#createuuid()# cfparam name=this.familyname default= cfparam name=this.givenname default= cfparam name=this.phone1 default= cfparam name=this.email default= etc... My question is why use cfparam if the constructor code is only going to be run when the cfc is first instantiated? None of the properties are going to exist yet anyway... What am I missing here? -- mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Pet Market cfc's
Thanks for clearing that up for me. As far as the this scope goes though, to be honest, writing set and get methods is a pita even though I know it's a good habit. Just thinking out loud here...but a keyboard shortcut that prompt's for the variable name and write's out the set and get methods would be quite handy. Maybe something for that mythical code oriented Homesite followup if it ever comes into being. -- mailto:[EMAIL PROTECTED] Saturday, March 15, 2003, 8:24:45 PM, you wrote: SAC This looks like the work of either Mike Nimer or Ray Camden... One of SAC them, I can't remember which, is very fond of the SAC cfparam-to-initialize-this-attributes idiom. SAC I personally don't like it(!) because, to me, cfparam says I'm being SAC passed some parameters and I'll validate their types and set defaults SAC for omitted ones whereas for 'this.' attributes, you clearly are not SAC being passed any parameters and, as you correctly observe, none of them SAC will exist. I'd just use cfset instead. SAC I'd also be suspicious of using 'this.' since it's publicly accessible SAC (and I don't think I'd want client code to be able to modify userid!). SAC On Saturday, Mar 15, 2003, at 15:17 US/Pacific, [EMAIL PROTECTED] SAC wrote: I've been digging into the Pet Market this weekend, and I'm hoping if anyone can shed some light on the reasoning behind the way they chose to initialize the cfc's. Specifically the user.cfc which is instantiated in the application.cfm, has constructor code that looks like this. cfparam name=this.userid default=#createuuid()# cfparam name=this.familyname default= cfparam name=this.givenname default= cfparam name=this.phone1 default= cfparam name=this.email default= etc... My question is why use cfparam if the constructor code is only going to be run when the cfc is first instantiated? None of the properties are going to exist yet anyway... What am I missing here? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT Domain registration
After looking at the URL, GoDaddy is hosting the domain and simply putting up a frame src with whatever you type in apparently. htmlheadtitlewww.BodafordHomes.com/title/head frameset rows=100%,* border=0 frame src=http://66.79.46.138/cfdocs/rea/index.cfm; frameborder=0 frame frameborder=0 noresize /frameset /html Honestly I don't know if search engines will spider content in a frame and actually index it with the domain name the frameset is actually on. I kinda doubt it though. I can imagine the recursive insanity if google spidered a frame with google.com as the src :) In addition to what Douglas said, and after having looked at GoDaddy's rather anemic Enterprise DNS package for a bit. What I would do, if I didn't want to host my own DNS (you didn't mention how you were handling mail hosting...) is set up a local DNS server that you control and have someone (your ISP might be a good candidate) set up a secondary DNS record on their primary DNS server, with your DNS server as it's primary. Which then gets replicated to their secondary, etc. This would need to be done for each domain. Then you can setup their primary and secondary DNS servers as the DNS servers at GoDaddy like normal. The advantage is, you get total control over the DNS records without having to get someone else to make changes, you get some experience for when you want to do your own DNS hosting eventually, and you don't have to worry about their DNS not resolving if your personal DNS server does go down. For example if email is hosted by someone else, it would still work, since DNS still resolves. I've never used Bind, but Windows DNS is an option as well. It's pretty easy to manage and full featured. I can attest to the fact that it scales very well too. Some reading... http://www.labmice.net/networking/DNS.htm -- mailto:[EMAIL PROTECTED] Saturday, March 15, 2003, 9:55:15 PM, you wrote: RF Hi, Jon. RF I've managed to get a Windows 2000 Server serving my clients' RF websites, but never could figure out the DNS part.. I need to invest RF in a Windows 2000 Server for Dummies book to find some starter info RF on how to handle DNS, start to finish. RF I'm hosting multiple sites under a single IP and I haven't been able to RF figure RF out Host Headers, either. I'm missing something somewhere. RF The only way I've been able to get sites accessed is by forwarding (masked) RF to RF the actual folder on my server using the static IP assigned by my ISP to my RF router, RF e.g. www.BodafordHomes.com would be setup at GoDaddy to forward (again, RF masked) RF to http://66.79.46.138/cfdocs/bodafordhomes/index.cfm. Then the site RF serves. RF If I try to use a Host Header for the site and call it RF www.BodafordHomes.com, then the RF forwarding fails. I'm not sure if I'm doing what I should do with the RF server or not, but perhaps RF I'm not setting up what I need with GoDaddy. Their Parked servers handle RF the DNS. RF Is that what you're referring to when you talk about GoDaddy handling the RF DNS, or is there RF more. (I'll visit GoDaddy and do some research on this, too) RF Any advice and insights is appreciated RF Rick RF -Original Message- RF From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] RF Sent: Saturday, March 15, 2003 4:48 PM RF To: CF-Talk RF Subject: Re: OT Domain registration RF RF RF If blind forwarding is a term for a HTTP 3xx redirect, then yes the RF search engines will generally follow them as long as the RF domain doesn't change. RF RF Why not just skip the whole forwarding thing though, and get someone RF to host dns for you if you don't want to do it yourself? It should be RF cheap or free no matter who you get to do it. Most places RF will probably set RF up their dns to synch with your own local dns if so desired even. RF RF -- RF mailto:[EMAIL PROTECTED] RF Saturday, March 15, 2003, 4:03:24 PM, you wrote: RF RF RF I was very curious about responses to your last response, Jason. RF RF I've been using GoDaddy and using blind forwarding for my domains RF RF and have been having trouble with search engines. I was RF just beginning RF RF to wonder what effect blind forwarding was having on that. RF RF RF I see that you go no response to your concern. RF RF RF Any insights you've picked up since the date of this email? RF RF RF Rick RF RF RF RF -Original Message- RF RF From: Jason Miller [mailto:[EMAIL PROTECTED] RF RF Sent: Thursday, March 06, 2003 1:34 PM RF RF To: CF-Talk RF RF Subject: Re: OT Domain registration RF RF RF RF RF RF With all these domain name services - I had just RF registered with RF RF regiterfly as a reseller because for some reason RF godaddy's reseller RF
Re: XMLParse at 100%
I dislike ASP, but I dislike offhand incorrect remarks like COM is crappy at string parsing just as much, and I hear the msxml sucks remark from java people so much...so forgive me if the length of this post seems like a bit like overreacting. I just want to put it to a rest for myself if no one else. Seeing as no one using COM/ASP uses anything other than msxml to parse xml, I must infer you are speaking of msxml. Which according to the only benchmarks I have ever seen is much faster than anything else around. http://www.xml.com/pub/a/2001/03/28/xsltmark/?page=2 The above benchmarks had 3.0 beating everyone else by a good margin, and it was widely reported that 4.0 with the newparser bit set shows a 2-8x performance increases over 3.0. Far from crappy... Out of curiosity, and an aversion to talking out of my ass, I did some benchmarks. I grabbed the Bible in XML format from here http://www.softcorporation.com/products/xmllight/largeDoc.zip Running MX Updater 2, Sun JRE 1.4.1_02, debugging on. I ran each template at least a dozen times to get any compiling and caching out of the way. Then ran each template 5 times to get the ranges. MX: 2925-5528ms Actually got higher each time except the last run...3500ms seemed to be the average time. cffile action=READ file=d:\www\xml\ot.xml variable=xmlStr cfset xmlDoc = xmlParse(xmlStr) cfset verse = xmlSearch(xmlDoc, /tstmt/bookcoll/book/chapter/v) cfoutput#verse[43].xmlText#/cfoutput MSXML: 1663-3625ms The 3600ms time seemed to be an abberation, but it came up during the run, the vast majority seemed near 2000ms. cffile action=READ file=d:\www\xml\ot.xml variable=xmlStr cfset objXMLDOM = createObject(COM, MSXML2.DOMDocument.4.0) cfset rs = objXMLDOM.setProperty(NewParser, true) cfset objXMLDOM.async = false cfset XMLloadSuccess = objXMLDOM.loadXML(xmlStr) cfset verse = objXMLDOM.selectNodes(/tstmt/bookcoll/book/chapter/v) cfoutput#verse.item(42).text#/cfoutput I do believe the results speak for themselves...msxml being instantiated from within MX, still outperforms the native crimson. I doubt msxml would scale from within MX though. I'd agree with the reccomendation to try other java based parsers though. Especially if the alternative is ASP...blech -- mailto:[EMAIL PROTECTED] Thursday, March 13, 2003, 7:55:34 PM, you wrote: EY How big are your docs? Are you looping through data and doing an EY XMLparse? Is an XML parse fully necessary? Perhaps a Regex might fit EY better? Without seeing the underlying code or your desired end result, EY it's hard to tell. EY AFAIK, ASP/COM solutions are crappy at text parsing, if there's one EY thing Java is good at - it's crawling through text. EY Also remember w/ CFMX you're no longer limited to just inherit EY functionality. I believe CF uses Crimson, if I'm not mistaken. Solid for EY most peoples needs, but there are others for the performance driven EY tweakers - try some other Java solution, make your own class. Ahh, the EY wonders of a java based app server. EY Here's a couple of interesting parsers that were recently featured on EY freeroller.net: EY Piccolo - http://piccolo.sourceforge.net/ EY Sparta - http://sparta-xml.sourceforge.net/ EY Erik Yowell EY [EMAIL PROTECTED] EY http://www.shortfusemedia.com EY -Original Message- EY From: Jay Jennings [mailto:[EMAIL PROTECTED] EY Sent: Thursday, March 13, 2003 4:42 PM EY To: CF-Talk EY Subject: XMLParse at 100% EY Is XMLParse() pegging the CPU at 100% (sometimes for a few seconds) EY something that's normal? If I switch to an ASP-based version of that EY will I see better performance? Right now the routine using XMLParse() EY is bringing the server to its knees a little too often. EY Most of the app has already been switched to .NET and this problem is EY helping to put the final nail in the CF coffin at my company. Any help EY would be greatly appreciated. EY Jay Jennings ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Writing Query Results to a CSV using CFFILE
Searching for my message I found two even better ways than my hack which was shelling out to run dtsrun from an sp (probably the most likely way to get yelled at by a dba anyway g). The first uses the DTS Object model, and the second executes dtsrun directly. http://www.pengoworks.com/index.cfm?action=articles:spExecuteDTS ...and this post by [EMAIL PROTECTED] Actually, there's back-door that has nothing to do with VB or COM... -In enterprise manager, right click on your DTS, and choose Schedule Package -Now schedule the Package for any time period. -On the root tree for that DB server, go to Management / SQL Server Agent / Jobs -Right click on the job you just created, and go to Properties -2nd tab over is Steps, go there -Double click on the step you see, and there you'll see a command window with a command like this DTSRun /~Zfdajkl;fjakf;s1359013u5rjfda;slf this will be the unique command line for your DTS job. Paste it in a text file, and call it it c:\DTS.bat now you can do: cfexecute name=c:\dts.bat outputFile=c:\dts.log timeout=600 and that is that. -Jeff -- mailto:[EMAIL PROTECTED] Tuesday, March 11, 2003, 8:56:29 PM, you wrote: TW jon. TW interested...if you can dig it up, without too much hasslethanks!! TW tony TW -Original Message- TW From: jon hall [mailto:[EMAIL PROTECTED] TW Sent: Tuesday, March 11, 2003 8:22 PM TW To: CF-Talk TW Subject: Re: Writing Query Results to a CSV using CFFILE TW Great, this would be a job for the database not CF imo...create a DTS TW package that writes out the csv file. Then either fire the DTS via an TW SP, or use the DTS Object Model to execute. TW This can be a bit complex, but not overly, and the DTS should be able TW to complete an export of 150k lines in a few seconds, quite an TW improvement from 30 minutes :) TW I've made a lengthy posting on how to do this in the past, and I think TW I can dig it up if you are interested. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Inserting date/time stamp
I'm not sure if this was resolved, but I read the thread and I have a quick bit to add. Both the disabled and the readonly were mentioned, and these are both supported in all the browsers except N4. The difference is that a disabled form field will not be submitted with the form, and readonly field will be. A disabled field in IE looks grayed out as well, whereas a readonly field looks normal. -- mailto:[EMAIL PROTECTED] Monday, March 10, 2003, 6:46:56 PM, you wrote: F Right, but the idea I was trying to achieve was to keep the look the same (with the input field) so it matches the rest of the form. From: FlashGuy [EMAIL PROTECTED] How can I stop people of editing the input line where I'm dumping the date? I don't want them to be able to change it. input type=text name=theTime value=cfoutput #DateFormat(todayDate, , dd, )#/cfoutput size=30 I'd display it as plain text (not in a form field), and do a hidden form field to send the value through the form. cfoutput #DateFormat(todayDate, , dd, )#/cfoutput input type=hidden name=theTime value=cfoutput #DateFormat(todayDate, , dd, )#/cfoutput Scott Brady http://www.scottbrady.net/ F ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Where did my CFMX files go?
Did it stop working all of the sudden, or were there suspicious circumstances... My 1 dir contains: jrun.dll jrun.ini jrunserver.store README.txt and a bunch of jrun log files. Try reinstalling updater 2, I've found it useful for fixing an install I've broken by deleting stuff I shouldn't have. -- mailto:[EMAIL PROTECTED] Monday, March 10, 2003, 10:44:32 PM, you wrote: C oi CF-Talk,!! C I have installed/uninstalled/removed dirs/rebooted/installed...etc a number of times. C my file extensions point to: C:\CFusionMX\runtime\lib\wsconfig\1\jrun.dll C but under wsconfig, I have no 1 directory.. I thought perhaps my copy of cfmx was uh I dunno C old... so i d/l a new one... same deal. C any ideas any suggestions? C Critz C --- C [This E-mail scanned for viruses by Declude Virus] C ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Macromedia DONT help me now. so where do i turn now?
Michael, have you tried installing on another computer entirely? -- mailto:[EMAIL PROTECTED] Monday, March 10, 2003, 11:11:05 PM, you wrote: MK AMAZING MK Regular readers to this list will be aware that I have been wrestling MK with installing CFMX since last Friday to no avail. I decided to see MK if Macromedia would back me up as a reseller and developer, and I called MK their support line. MK I got connected to their Manilla office and Pauline's response was that MK I couldn't even talk to a support person unless I paid US$500. MK IN other words, I have downloaded the CFMX, it doesn't install MK correctly, for whatever reason, I can't make it work, no one else can MK either apparently, and Macromedia aren't going to try unless I cough up MK nearly 2/3 of the cost of a server. That's to evalutate it!!! MK I guess I'm just not meant to be in the MX world. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Macromedia DONT help me now. so where do i turn now?
I'm just thinking along the lines that there may be something wrong with the computer, maybe a corrupted nic driver, or a somehow broken IIS install...I've seen both of those cause many strange problems. The Metabase can get corrupted, but IIS will still function to a point, and corrupted nic drivers can cause all sorts of odd things to happen. I've installed MX on 3 machines, some old, some new, and had problems, but nothing like what you are seeing, and haven't seen people mentioning this kind of problem, so the problem would seem to be with your setup somewhere.Trying to install on another system would at least give concrete proof that the problem is with the computer if it succeeds. At which point I'd say it's time for a Windows reinstall, or at least download a copy of Metaedit to make sure your IIS metabase isn't corrupt, and reinstall the nic drivers. Forgive me if I'm off base, I've followed the threads but there have been quite a few and I may have missed some relevant point. -- mailto:[EMAIL PROTECTED] Monday, March 10, 2003, 11:30:08 PM, you wrote: MK Thanks for your suggestion. MK What would be the point of it? I'm sorry but I don't see the reason. MK Can you elaborate a little for me? MK I have two computers in my company. Only two. It's a one-person MK company. The other computer is really small and old. It would be MK really stretched to run the server at all, let alone do anything with MK it. (Plus my servers which are production servers and I'm not going to MK go tinkering about with those unless I know what I'm doing) I need it MK on this box. MK Cheers, MK Michael Kear MK Windsor, NSW, Australia MK AFP Webworks. MK -Original Message- MK From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] MK Sent: Tuesday, 11 March 2003 3:24 PM MK To: CF-Talk MK Subject: Re: Macromedia DONT help me now. so where do i turn now? MK Michael, have you tried installing on another computer entirely? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFCs - any way to reload other than cycle CF service?
Just a thought, try setting cachedrealpath to false in cfusionmx/runtime/servers/default/SERVER-INF/jrun.xml... Other than that, I had the same problem once...I overlooked that fact that I was putting the cfc in the session scope, and it wasn't recompiling :) Doh... -- mailto:[EMAIL PROTECTED] Sunday, March 9, 2003, 3:31:31 PM, you wrote: WR Alrighty, Trusted Cache is not on. These aren't web services. They're public-access CFCs. I make a little change, and my pages that are using the CFC can't see new methods, or new code within WR old methods until I've cycled the server. WR Willy [EMAIL PROTECTED] 03/09/03 12:42PM WR Actually, I develop and somebody else manages the server. I know, I know. ;) I'll check that Trusted Cache setting. Thanks. WR Willy [EMAIL PROTECTED] 03/09/03 12:26PM WR Anyway, the problems I've run into are not consistent, which makes me WR think you are referring to the fact that ColdFusion MX does not WR automatically refresh Web services. Either that, or you have Trusted WR Cache turned on. But if you turned that on, you'd probably know it, and WR wouldn't be posting to the mailing list. :) WR Benjamin S. Rogers WR http://www.c4.net/ WR v.508.240.0051 WR f.508.240.0057 WR -Original Message- WR From: Willy Ray [mailto:[EMAIL PROTECTED] WR Sent: Sunday, March 09, 2003 1:39 PM WR To: CF-Talk WR Subject: CFCs - any way to reload other than cycle CF service? WR It's really bugging me to have to restart CFMX every time I make a WR trivial little change to the component I'm developing. Is there another WR way to get the server to recognize the changes I've made to the CFC? WR Willy WR ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Authentication
Honestly, I'm more there than here today :) Perhaps this would be some help? http://www.macromedia.com/devnet/mx/coldfusion/articles/ntdomain_1.html -- mailto:[EMAIL PROTECTED] Sunday, March 9, 2003, 4:04:21 PM, you wrote: MTT anyone here today? MTT - Original Message - MTT From: Michael T. Tangorre [EMAIL PROTECTED] MTT To: CF-Talk [EMAIL PROTECTED] MTT Sent: Sunday, March 09, 2003 2:23 PM MTT Subject: Authentication I have just built an application that we will be using in house. What I woudl like to do is incorporate the security for the app with the network security... NT Login/Password. Is this possible? For instance, once the user logs onto the network in the morning I would like it so that whenever they try to access to app, as long as they are logged into the network, MTT they get access to the app. Also, we are on Windows NT/2000 boxes (active directory and exchange running) TIA, Mike MTT ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
mx cfapplication weirdness
I have an app I a working on that stopped working overnight all by itself. I went to sleep, and it was working, and when I woke up it was broken. When ever I hit a page I get this error. The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values This is the line that throws the error. cfapplication name=d2 clientmanagement=Yes clientstorage=cfvar setdomaincookies=No When I change it to this, the error goes away. cfapplication name=d2 clientmanagement=No clientstorage=cfvar setdomaincookies=No I'm running updater 2, and restarting the service does not fix it. Anyone know what's up, or is this just MX bug of the day? -- mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: mx cfapplication weirdness
This is incredibly annoying...the only thing I can add is that I am getting this error in the debug. 17:23:08.008 - java.lang.NullPointerException - in D:\www\d2\Application.cfm : line 2 I have tried 3 different JVM's (including the original), and rebooted. Nothing fixes it! It's looking like I might actually need to reinstall CF. -- mailto:[EMAIL PROTECTED] Saturday, March 8, 2003, 4:33:31 PM, you wrote: jon I have an app I a working on that stopped working overnight all by jon itself. I went to sleep, and it was working, and when I woke up it was jon broken. jon When ever I hit a page I get this error. jon The system has attempted to use an undefined value, which usually jon indicates a programming error, either in your code or some system code. jon Null Pointers are another name for undefined values jon This is the line that throws the error. jon cfapplication name=d2 clientmanagement=Yes clientstorage=cfvar setdomaincookies=No jon When I change it to this, the error goes away. jon cfapplication name=d2 clientmanagement=No clientstorage=cfvar setdomaincookies=No jon I'm running updater 2, and restarting the service does not fix it. jon Anyone know what's up, or is this just MX bug of the day? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: mx cfapplication weirdness
Thanks, but I'm using an access database for client storage (dev machine)... Just figured it out though. On a hunch I tried going to localhost instead of 127.0.01, because I remember seeing this same error when houseoffusion upgraded to MX, and my app worked! I deleted my cftoken and cfid and voila, everything works now. I'm trying to remember a day in the recent past working with MX I haven't found a bug...no luck though. -- mailto:[EMAIL PROTECTED] Saturday, March 8, 2003, 5:40:45 PM, you wrote: JH [EMAIL PROTECTED] wrote: This is incredibly annoying...the only thing I can add is that I am getting this error in the debug. 17:23:08.008 - java.lang.NullPointerException - in D:\www\d2\Application.cfm : line 2 I have tried 3 different JVM's (including the original), and rebooted. Nothing fixes it! It's looking like I might actually need to reinstall CF. JH Are you using the registry as client data storage? If so, check if your JH maximum registry size is large enough. Control panel - System - advanced- Performance options -change JH Jesse JH ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF5 XML :)
By far the easiest way is to cheat. If you have an MX box have it do the XML parsing etc, and get the data back to the CF5 box any way you want. We did this recently for something we needed done quick and wasn't performance sensitive. Other than that, msxml on windows gets the job done for me in cf5. If you need some code samples let me know. There was a thread titles XML parsing using CF5 2 days ago which you might want to look up too. -- mailto:[EMAIL PROTECTED] Saturday, February 22, 2003, 7:32:23 PM, you wrote: PV I've never really worked with XML in CF 5 before and I have a client that PV needs something done in CF 5 with XML feeds. PV Can anyone point me in the right direction? Maybe a tutorial or something PV like that? PV TIA PV Pablo PV ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Wildcard in statements
Question already answered, but I don't see why the wouldn't be possible with standard string functions. Just looking at your single line of pseudo-code, it looks like you want to know if the referer is a cfm template in a certain directory. This bit of code would do that and would definitely execute faster than any regex... cfif left(cgi.http_referer, 30) EQ http://www.mysite.com/folder/; AND right(cgi.http_referer,4) EQ .cfm -- mailto:[EMAIL PROTECTED] Friday, February 21, 2003, 4:25:29 PM, you wrote: ML Can a wildcard character, such as a * be used successfully in the ML following statement, or is there a better way: ML cfif CGI.HTTP_REFERER IS http://www.mysite.com/folder/*.cfm; ML Thanks, Mark ML ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Array Initialization
The end result is a CF array of strings...so the result is the same, no? I have long wished arrayNew() worked in a more standard way though. I do remember a while back there was mention on the list that there was a way to use a bit of JSP, I believe, to write a cf tag that took precedence over the built in version if you wanted to change the behavior of a built in tag. Perhaps the same concept would work with a function. -- mailto:[EMAIL PROTECTED] Thursday, February 20, 2003, 2:45:44 AM, you wrote: cfset appServers = listToArray(JRun,CFMX,WebLogic,ORAS) JE Am aware of the above. JE You are creating a list and converting it to an array.. JE this is not the same as... JE String x[]={a,b,c}; JE Joe Eugene -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 2:42 AM To: CF-Talk Subject: Re: Array Initialization cfset appServers = listToArray(JRun,CFMX,WebLogic,ORAS) -- mailto:[EMAIL PROTECTED] Wednesday, February 19, 2003, 10:27:03 PM, you wrote: JE I cant find a way to initialize an array in CF like in Java. JE Example (Java Way) JEString appServers[] = {JRun,CFMX,WebLogic,ORAS}; JE What is the CF Equivalent in One line of code like above? JE Thanks JE Joe Eugene JE ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Array Initialization
cfset appServers = listToArray(JRun,CFMX,WebLogic,ORAS) -- mailto:[EMAIL PROTECTED] Wednesday, February 19, 2003, 10:27:03 PM, you wrote: JE I cant find a way to initialize an array in CF like in Java. JE Example (Java Way) JEString appServers[] = {JRun,CFMX,WebLogic,ORAS}; JE What is the CF Equivalent in One line of code like above? JE Thanks JE Joe Eugene ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: IDE was RE: CFML Forever!
Wednesday, February 5, 2003, 2:40:28 AM, you wrote: DB On Wed, 5 Feb 2003 01:04:02 -0500 DB [EMAIL PROTECTED] typed: Honestly though, it's still very sluggish. Much slower than DW or Homesite+. There was even a bit of lag just getting the menu dropdown's to come down... You and me have the exact same work machine :) Actually I was using JRockit 7...that might be the problem. I assumed that it should do as good or better than the Sun version which I don't have installed. Perhaps I'll give it another go... -- mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfdump and css
Don't be so sure...you are talking about the people who still detect Gecko as NS4 on the CF exchange, and until a few months ago still did that for their entire site. All during which they ran a tutorial on how to do browser detection to serve browser specific style sheets... I find the irony delicious :) Anyway bug reports here http://www.macromedia.com/support/email/wishform/ If you are using MX, in \WEB-INF\cftags is dump.cfm...but it's encrypted, so obviously there is nothing to be done but wait. -- mailto:[EMAIL PROTECTED] Wednesday, February 5, 2003, 11:23:55 PM, you wrote: d Is there a way to fix this on the server (wherever the cfdump generated d code lives)? Is there a proper way to report this to Macromedia? Surely d they must know, however, seeing as how any Gecko browser would do this. d Here's the CSS Spec, in case you're curious: d http://www.w3.org/TR/REC-CSS1#color-units d ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4