1 | Next Page

Cool New cfGrid Tricks

Nov 12, 2009 2:32 AM
Rating: (Total Clicks 35)

The html format of cfgrid has some cool new tricks in ColdFusion 9.  First the placement of a column can be moved by dragging it elsewhere in the grid.  In the example below the 'aDate' column is moved: Second, when you hover over a column and click on the menu drop down the following options appear which allow for sorting or removing a column (that can then be added back). You may notice in this example that the sort options are greyed out.  This is because, for some reason, sort is disabled by default on Boolean type columns.  CF Mitrah (translate)

Exploring ColdFusion 9: The Four New Data Types in CFGrid

Nov 8, 2009 10:35 PM
Rating: (Total Clicks 46)

ColdFusion 9 brings four new data types to the html cfgrid.  As the docs state: ColdFusion 9: Added boolean, date, numeric, and string_noCase to the type attribute values supported in HTML grids   Lets take a look at these new types.  Here's a sample query from the art table that I added a date to and called it, well, aDate: I'll display these using the following cfgridcolumn tags: <cfgridcolumn name="artname" type="string_noCase"> <cfgridcolumn name="isSold" type="boolean"> <cfgridcolumn name="price" type="numeric"> <cfgridcolumn name="aDate" type="date"> Whats cool is that ColdFusion or ExtJS (I'm not sure which) is going to automatically try and convert these types (translate)

Moving Jobs

Oct 23, 2009 1:45 PM
Rating: (Total Clicks 39)

Today is my last day at Interfolio and ends an overall very happy chapter in my career.  I have become a better programmer, learnt an awlful lot and had many great experiences.  I leave behind a very talented technical team (Dominic O'Connor, Jon Dowdle and Rachel Lehman) who I'm confident will continue to turn out cool new product enhancements. I am moving on to become a consultant at WebFirst working at the Federal Labor Relations Authority.  Its an exciting opportunity working with ColdFusion 9 and Flex.  The former I can't wait to really sink my teeth into while the later (translate)

ColdFusion One Liners Presentation at CFinNC Slides Posted

Oct 17, 2009 7:43 PM
Rating: (Total Clicks 36)

The slides and code from my ColdFusion One Liners presentation at CFinNC are now up on SlideSix. View the presentation on SlideSix I enjoyed giving the presentation and if you have any questions let me know. (translate)

Adobe Listens: Feedback Shows up in ColdFusion 9

Oct 8, 2009 3:45 PM
Rating: (Total Clicks 25)

Around two years, just after the successful launch of ColdFusion 8, I emailed some of the top dogs on the Adobe ColdFusion team about features for ColdFusion 9.  These where my suggestions and whether they made CF9: An IDE.  ColdFusion Builder is here and one I've been happily using exclusively since its release.  Shorter Syntax/Full cfscript Support.  The shorter syntax was an idea of mine to merge scripting in a tagging syntax. Looking back I'm not sure exactly how it would have worked but I am happy to see much improved support for cfscript.  Writing a cfc in script syntax (translate)

Speaking at CF in NC...Come Along and Enter to Win a Flip CF Dude Camera

Sep 10, 2009 1:41 AM
Rating: (Total Clicks 32)

I am delighted to have been chosen to present at the CF in NC conference in October on the topic of "One Liners in ColdFusion".  Its a topic I enjoy, one that I've blogged about and one that Joe Rinehart mentioned in his excellent keynote on day two of CFUnited. The session line up at CF in NC conference is very exciting and if you can make it I suggest coming along.  There is even a chance to win a CF Dude Flip Video Camera. (translate)

Use cfajaximport to help with CF8 to CF9 migration

Aug 14, 2009 5:45 PM
Rating: (Total Clicks 13)

This came up in Raymond Camden's CFUnited presentation this morning and he suggested I blog it so here it is. Problem: You have extended the cfajax tags by calling the extJS functionality directly.  CF8 uses extJS 1.1 whereas CF9 is going to use extJS 3.0.  There will be cases it appears where this will break your code as some features have changed from the 1.1 to 3.0 release. Solution: Copy the needed JavaScript files (from /cfide/scripts/ajax/*) to another folder on your server (say /cfExtJS11) and make sure you keep the folder structure. On the top of any pages where you (translate)

Ten ColdFusion 9 One-Liners

Jul 23, 2009 5:45 PM
Rating: (Total Clicks 37)

All great performers have repertoire of one-liners. ColdFusion is no different and here are some cool new ColdFusion 9 one-liners: 1. Take a Word document and convert it to PDF <cfdocument format="pdf" srcfile="/mydoc.docx" filename="mydoc.pdf" /> 2. Take a PDF and optimize it (remove extra images, bookmarks, etc that are not needed) <cfpdf action="optimize" source="bigpdf.pdf" algo="Bicubic" destination="smallpdf.pdf"> 3. Get an object/record of an artist based on the key <cfset artist = entityLoad('artists',1,true)> (Change it <cfset artist.setLastName('McCoy')>) 4. Save the object back to the database <cfset entitySave(artist)> 5. Add a map to a page <cfmap centeraddress="275 Grove Street Newton, MA 02466" zoomlevel="8" (translate)

Adding CVS to ColdFusion Builder Standalone

Jul 16, 2009 1:42 PM
Rating: (Total Clicks 12)

Here's how to add the Eclipse CVS client to the ColdFusion Builder standalone version: 1. From the menu click on 'Help' then 'Software Updates' and select 'Find & Install...' 2. Select 'Search for New Features to Install' and click 'Next' 3. Click on 'New Remote Site' 4. Enter a Name and the following URL 'http://download.eclipse.org/eclipse/updates/3.4' and click 'Next' 5. If prompted select a mirror and wait till the next screen shows up: Make sure to select the CVS options as selected above. 6. Click 'Next', agree to any licenses and 'Feature Verification' 7. When complete you will be prompted to (translate)

Submitting a cfform inside a cfdiv to a new page

Jun 14, 2009 9:37 PM
Rating: (Total Clicks 35)

A form created with cfform inside a cfdiv will submit via AJAX and have the response placed in the div created by the cfdiv. Its possible, with a little JavaScript and HTML, to have the form submit to a new page and to use the cfform validation if needed. First lets look at the main page: <cfajaximport tags="cfform"> <h2>My Page</h2> <cfdiv bind="url:theForm.cfm"> Not doing much here other than setting up a very basic page with a cfdiv that will get the source from theForm.cfm.  Lets now look at that page: <cfform method="post" action="theDestination.cfm" id="divForm" name="divForm"> Team: <cfinput type="date" name="team" id="team" (translate)

1 | Next Page