Introducing CFWindow

Word Count: 145

I am proud to announce the release of cfwindow. The CFWindow Custom tag allows ColdFusion developers to easily leverage the extjs framework. This tag is a wrapper for the Ext.Window class and makes it easy to create windows. The tag is intended to provide cfwindow functionality to users not on ColdFusion 8. If you would like to find out more about the release you can visit my demo page below or you can download the project over at riaforge. I plan on posting more information about the project but I am just really tied up today. As always your feedback is welcomed. If the project is well accepted I may create more wrappers for the ext library.

http://www.danvega.org/examples/cfwindow/
http://cfwindow.riaforge.org

Comments

#1 Posted By: Dan Sorensen Posted On: 1/7/08 1:40 PM
That is really cool! Simple to use. I have access to Coldfusion 8, but I've been wondering if there was an easy way to abstract extjs 2.0 as there are many great features in that updated library. Any idea how difficult it would be to abstract the new extjs trees?
#2 Posted By: Dan Vega Posted On: 1/7/08 1:43 PM |
Author Comment
It was pretty easy putting this tag together and I imagine I could do it for the any of the other features if there was a calling for it. I think a whole cfext library would be great, just wondering if others see a need for it. That is why I started with this small release. Thanks for your feedback Dan.
#3 Posted By: Dan Sorensen Posted On: 1/7/08 2:01 PM
Does this tag support multiple windows on a page? I would imagine 1 per cfwindow tag, if I provide a unique function name for each instance.

The hardest part to wrap my head around is this line:
#toScript(thistag.GeneratedContent,"html")#

...but you discussed that previously. I'm confused what "thistag.GeneratedContent" contains, but I'll jump in and figure that out.

Thanks for this interesting project. I've been giving this some thought lately because I've been looking at the extjs 2.0 "portal" and "column-tree" examples.
#4 Posted By: Dan Vega Posted On: 1/7/08 2:06 PM |
Author Comment
I think right now it will only support 1 window but I would have to test it out. I will be adding support for multiple windows shortly. As far has generatedContent goes thistag is a special scope used for once you are inside of the tag, one of the values generatedContent refers to any data in between the start and end tag. The reason you need to use toScript is because a javascript string is an illegal string if it contiains a new line without concatitnation (&). I wrote an article about that yesterday, check it out.
#5 Posted By: Anuj Gakhar Posted On: 1/7/08 2:16 PM
Thats cool Dan. I was going to do make use of the EXT library in one of my projects as well and I would have made the same kind of start. Good stuff!
#6 Posted By: Terry Schmitt Posted On: 1/7/08 3:00 PM
This really has a place with CF8 users as well. I decided to use extjs 1.1 in a recent CF8 project rather then the built-in CF8 tags. I think my JS skills have improved as a result and you get more flexibility then the CF8 tags offer. And now with extjs 2.0 out, there is no question that I'll use that instead of CF8 tags.
#7 Posted By: Scott Fitchet Posted On: 1/7/08 5:25 PM
Thanks for the link. I wasn't aware that ExtJS had released a new version. I especially liked the web desktop demo.


Post Your Comment

Leave this field empty







Show Captcha

If you subscribe, any new posts to this thread will be sent to your email address.

Copyright © 2007 Dan Vega | BlogCFC was created by Raymond Camden. This blog is running version 5.8.001.