Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.


Member since Dec 31, 2008

Recent Blog Comments By tim

  • My First ColdFusion Web Service

    Posted on Apr 15, 2010 at 3:35 AM

    I am attempting to invoke a method on a webservice however it requires that I pass in an authorizationHeader. However I cannot figure out how to add it to the soap request headers. <cfscript> zipWSObj = createObject('webservice', ' http... read more »

  • ColdFusion 8 ImageResize() / ImageWrite() Bug?

    Posted on Jan 15, 2010 at 12:25 PM

    @Steve - Definitely. Code that works should just work everywhere. I think it's still a bug that didn't get fixed by the CFImage Hotfix. It appears that when I read the image into a variable it locks the file which prevents the image write from working. Using @Gavvy's method of fileWrite() saved the... read more »

  • ColdFusion 8 ImageResize() / ImageWrite() Bug?

    Posted on Jan 13, 2010 at 5:44 PM

    @Gavy.. I need to give your method a try as I experience the error "java.lang.NullPointerException" when attempting to save a resized image using ImageResize() or cfimage resize regardless of transparency. I have applied the cfimage hotfix on my localhost and my hosting company has confirmed they ha... read more »

  • Handling AJAX Errors With jQuery

    Posted on Sep 22, 2009 at 2:54 PM

    @Ben your above comment "I guess you could get to a point where the session times out, but the client is still open... I wonder how I would address something like this." This is exactly the issue I am having. I have an application where the user is logged in they have navigated to a page that has... read more »

  • Ask Ben: Simple Recursion Example

    Posted on Aug 13, 2009 at 10:00 AM

    Ben, I've come across this post in the past and it helped me solve my simple parent/child output issue perfectly. Now I have a database structure that that has parent/child references but more complexly has children that have their parent as their children to allow cyclical processing. This allow me... read more »

  • Creating jQuery Templates Plug-in Using Textarea Elements (Thanks Kurt Bonnet)

    Posted on Feb 18, 2009 at 10:32 AM

    There is one question that I was curious about. How would it be possible to emulate the cfoutput query using the group attribute by looping through the returned json. Ideally the ProductCatName and ProductName variables would be in h4 h5 tags respectively and the list of serial numbers would be in a... read more »

  • Creating jQuery Templates Plug-in Using Textarea Elements (Thanks Kurt Bonnet)

    Posted on Feb 18, 2009 at 10:21 AM

    Thanks for directing me to this post I think i'll be able to make use of this plugin. In a more practical example the text areas would be hidden right? Therefore hiding your template on the page until the remote data is called and appended to the page? Thanks again for all your posts they are always... read more »

  • Learning ColdFusion 8: Javascript Object Notation (JSON) Part III - AJAX Demo

    Posted on Feb 16, 2009 at 7:45 PM

    @ben first off thanks for another great article. Always so useful and clearly stated. I got your example working and modified it to return JSON from a coldfusion query, using the optional serializeQueryByColumns attribute, just fine and I wish to do something a bit more practical with the returned d... read more »

  • Ray's Friday Puzzler: Listing All Possibilities Of A Set

    Posted on Dec 31, 2008 at 6:15 PM

    I was looking for a way that would allow me to calculate all of the possible hex colors. However, as chuck alluded to this would result in a VERY large number of combinations. Any thoughts on such a task 16 character list by 6 characters long? I'll let you know if i have any luck... By the way, yo... read more »