May 2006 Web Log Entries
Super Busy Lately
Posted: May 30, 2006 at 5:03 PM by Ben Nadel
Sorry I have not been posting much lately. It has been crazy at work and I have been spending a good amount of time trying to write a ColdFusion solution for the XStandard web services. Hopefully that should be finished this week and I get back on track with my general learning. ... read more »
Comments (0) | Post Comment | Ask Ben | Permalink
Comprehensive ColdFusion Tag/Function List
Posted: May 30, 2006 at 4:56 PM by Ben Nadel
As I have been reading and posting on the House Of Fusion message board, CFTalk, I have come to realize that there are tags and functions in ColdFusion (CF) that I have just never used let alone heard of. In order to remedy this, I have located a complete list of ColdFusion MX 7 tags and functions. I am going through them and anything I don't reco... read more »
Comments (3) | Post Comment | Ask Ben | Permalink
Running Multiple Instance of Homesite
Posted: May 24, 2006 at 4:15 PM by Ben Nadel
It doesn't happen all the time, but it does happen occassionally where I want to run multiple instances of Macromedia Homesite. Usually, when you try to launch it more than once, it just throws focus to the existing instance. But, I just found a great fix for that. On http://www.wilk4.com/asp4hs/tips.htm , they had a registry edit that would al... read more »
Comments (3) | Post Comment | Ask Ben | Permalink
StructAppend() the Forgotten Function
Posted: May 23, 2006 at 7:40 AM by Ben Nadel
In my applications, I create an Attributes object (REQUEST.Attributes), which is a unbinding of the URL and the FORM scope. I was first introduced to this idea in FuseBox and I really like how it can simplify a good amount of code. I was going over the code I use to create this last week. I thought my code was very simple, and yet some how, my b... read more »
Comments (0) | Post Comment | Ask Ben | Permalink
CFMail: CFMAILPARAM Used to Embed Images in Email
Posted: May 22, 2006 at 12:57 PM by Ben Nadel
It used to be in pre-ColdFusion MX 7 (CFMX 7), to embed images in an email, to set them up so that they do not show up as attachments or external source links, I needed to use a special CFMail custom tag. Just the other day, on the House of Fusion mailing list, there was a thread about embedding images in emails. I did not know this, but app... read more »
Comments (27) | Post Comment | Ask Ben | Permalink
Sticky Notes For Important Postings
Posted: May 22, 2006 at 8:57 AM by Ben Nadel
I have added a "sticky" feature where I can post sticky-notes to the left hand content area to house the most popular posts. These are the posts that people to seem to be searching for the most from Google. ... read more »
Comments (2) | Post Comment | Ask Ben | Permalink
[Macromedia][SQLServer JDBC Driver]Syntax error at token 0, line 0 offset 0
Posted: May 18, 2006 at 7:30 AM by Ben Nadel
I spend a good amount of time helping other people debug their code and I run into this error plenty of times: [Macromedia][SQLServer JDBC Driver]Syntax error at token 0, line 0 offset 0. The first time I ran into it, I was helping a co-worker with a Query statement that had many CFIF statements. Having never seen it before, it took some time to ... read more »
Comments (9) | Post Comment | Ask Ben | Permalink
The Processing Instruction Target Matching "[xX][mM][lL]" is Not Allowed
Posted: May 18, 2006 at 7:18 AM by Ben Nadel
I am starting to learn more about SOAP and XML in ColdFusion. Until now, I just haven't had much use of it. But now, I am dealing with web services that require SOAP requests and responses. Heck, I didn't even realize that ColdFusion has built in SOAP functions. But that's beside the point. I was trying to use the CFXML to create an XML object whe... read more »
Comments (42) | Post Comment | Ask Ben | Permalink
FireFox Fires OnClick Handler for Submit Buttons
Posted: May 15, 2006 at 12:22 PM by Ben Nadel
I just discovered something by accident in my code. It seems FireFox will trigger the onClick event for a submit button even if the FORM element is submitted via the Return Key: <input type="submit" value="Save" onclick="alert('This will fire in FireFox');" /> I think this is really cool, though not sure if it is a bug or a feature. In... read more »
Comments (2) | Post Comment | Ask Ben | Permalink
Using Methods in Javascript Replace Method
Posted: May 15, 2006 at 8:14 AM by Ben Nadel
NOTE: For a FULL TUTORIAL on Javascript String Replace methods, check out this entry: Ask Ben: Javascript String Replace Method . I was just going through some Javascript code when I came across the coolest thing on BigBold.com . I never knew you could do this, but you can use a nameless method as the "replace" argument to the Javascript St... read more »
Comments (4) | Post Comment | Ask Ben | Permalink
Javascript Scopes and Variable Binding
Posted: May 14, 2006 at 10:31 PM by Ben Nadel
A while back I was talking about having trouble with Javascript variable dereferencing and Javascript variable binding in function declaration. And, from viewing the google searches that people have been doing to get to my site, this topic has certainly confused a good number of people. I was just going through some blogs and I came across a post ... read more »
Comments (2) | Post Comment | Ask Ben | Permalink
Not Enought Time to Learn
Posted: May 14, 2006 at 9:09 PM by Ben Nadel
I have to admit, I have been very excited about this web site lately. I have really been trying to get it off the ground. My problem right now, though, is that I have been so excited and concentrating so much on putting time into this, that I have totally forgot to read up on other people's blogs and the news things that are going around. Is it ... read more »
Comments (0) | Post Comment | Ask Ben | Permalink
Custom Laptop Paint Job by Color Ware PC
Posted: May 14, 2006 at 9:03 PM by Ben Nadel
We just got a Mac iBook 14" laptop custom colored by Color Ware PC . Got it colored Candy Apple Red. When we send the computer away, I have to say of was definately skeptical. I figure, how good could the paint job be? Two weeks later, when the laptop finally came back, we unwrapped, and basically lost our breathe. It was one of the most beautifu... read more »
Comments (1) | Post Comment | Ask Ben | Permalink
Javascript Regular Expression (RegExp) Multiline Flag Not Universal
Posted: May 11, 2006 at 8:18 AM by Ben Nadel
I was debugging some code and I just came accross a very interesting fact: the "m" flag for multiline searches in Regular Expression (RegExp) is not universal. It only works on newer browsers and not all of them for that matter. On this Javascript Site , it states that all searches work for multiline without the flag and that the "m" flag will in... read more »
Comments (0) | Post Comment | Ask Ben | Permalink
Calling Sub-Function in Javascript Different in Safari
Posted: May 11, 2006 at 7:47 AM by Ben Nadel
I just came across a browser inconsistency that I have never seen before. Granted I am new to this one aspect, but still, interesting. I had an example of code that had a sub function being called in this manner: // This will NOT work in safari. function Foo2(){ alert("In Foo2 Method"); ( function Bar2(){ alert("In Bar2 Method"); } )... read more »



