| By Rob Gonda | Article Rating: |
|
| January 19, 2006 12:00 PM EST | Reads: |
24,034 |
ajaxCFC update for DRWUtil.AddRows
A recent message in the ajaxCFC group asked about the DRWUtil.addRows() function; the truth is that I had never used it. I include the utils library because there are other elements that I find useful, but I had never given the addRows a try.Enough said, since I include the file, I guess I need to support the built-in functionality, but the addRows out-of-the-box was accepting arrays and objects. I serialize the ColdFusion queries into a more complex object which was not recognized by the addRows function, so I modified it to add wddx support. When you pass a wddx object to addRows it will now automatically populate your table, even without the need to cell functions (like the array or object methods).
You can find an example here, and download the latest release (0.63) with the code changes, example, and updated documentation from the projects page.
I'd like to thank again Joe Walker for his great effort in putting DRW together, and I will email him the changes to add wddx support for his next release.
Published January 19, 2006 Reads 24,034
Copyright © 2006 Ulitzer, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Rob Gonda
Rob Gonda is an industry visionary and thought leader, speaks on emerging technologies conferences nationwide, and combines unique approaches to technology and marketing strategies. He is the former Editor-in-Chief of the AJAX Developer’s Journal, an Advanced Certified Coldfusion Developer, member of the Adobe Community Experts, frequent contributor to the CFDJ and ADJ, co-author of Real-World AJAX: Secrets of the Masters, author of AjaxCFC, holds a BS in computer science and engineering and an MBA with a specialization in entrepreneurship. Rob recently joined Sapient from ichameleon/group/ where he was a founding partner and chief technical officer. He is part of the global technology leadership team, and brings with him over ten years of experience in web development and 360 marketing campaigns for clients such as Adobe, Coca-Cola, Guinness, Toyota, Taco Bell, NBC, and others. He specializes in emerging technologies, marketing strategy, social media, and he is currently fascinated with rich internet applications, service oriented architecture, mobile, agile methodology, automation, behavioral targeting, multi-channel synergy, and identifying new trends. Rob’s mission is to develop forward-thinking expertise that will ensure clients are always on par with rapidly changing technologies and maintain its ethos of evolving. You can reach him at rob[at]robgonda[dot]com and read his blog is at http://www.robgonda.com
![]() |
SYS-CON Belgium News Desk 01/19/06 01:12:56 PM EST | |||
Enough said, since I include the file, I guess I need to support the built-in functionality, but the addRows out-of-the-box was accepting arrays and objects. I serialize the ColdFusion queries into a more complex object which was not recognized by the addRows function, so I modified it to add wddx support. When you pass a wddx object to addRows it will now automatically populate your table, even without the need to cell functions (like the array or object methods). |
||||
- What Is AJAX?
- AJAX: Making the HTML User Experience Almost As Pleasant as Flash
- AJAX: XMLHttpRequest Vs. iFrames
- Rob Gonda's Two-Part AJAX Special: Now In One Part
- A Brief History of AJAX
- Rob Gonda's AJAX Blog: "ajaxCFC update for DRWUtil.AddRows"
- ajaxCFC - Addressing Html Code in Application.cfc
- Web 2.0: Web Applications vs. Desktop Applications
- Real-World AJAX Book Preview: AJAX Alternatives
- Adobe vs. Microsoft Death Match For RIA Leadership
- Real-World AJAX Book Preview: Some Classic Examples
- Nitobi AJAX Components for ColdFusion 8 Beta



















Ulitzer content is offered under Creative Commons "Attribution Non-Commercial No Derivatives" License.
For any reuse or distribution, you must make clear to others the license terms of this work.
The best way to do this is with a link to this web page.
Any of the above conditions can be waived if you get written permission from Ulitzer, Inc., the copyright holder.
Nothing in this license impairs or restricts the author's moral rights.