Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

How does CFWINDOW work?

Question posted by: Haitashi (Member) on March 18th, 2008 08:48 PM
Hi People:

I'm studying how CFWINDOW works. I'd like to see if anyone knows of a place where they explain what JS files is usses, which clases, and how they are being called. Basically, I need a dissection of the CFWINDOW tag. I've looked online but all I've been able to find is tutorials on how to implement CFWINDOW and not how it actually works, which is what I'm interested in.

Any help will be greatly appreciated. THANKS!
Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
acoder's Avatar
acoder
Site Moderator
10,173 Posts
March 19th, 2008
11:50 AM
#2

Re: How does CFWINDOW work?
It uses the Ext library. A simple way to find out what JavaScript files it uses is to make a simple test page and then view the source in your favourite browser.

The object used to create cfwindow is Ext.BasicDialog. You can interact with it using JavaScript to extend its capabilities.

Reply
Haitashi's Avatar
Haitashi
Member
72 Posts
March 20th, 2008
04:32 PM
#3

Re: How does CFWINDOW work?
Great! I'll check it out - thanks!

Reply
acoder's Avatar
acoder
Site Moderator
10,173 Posts
March 20th, 2008
05:24 PM
#4

Re: How does CFWINDOW work?
You're welcome. Let us know if you have any problems, or if you manage to extend it in a very useful way that you'd like to share.

Reply
Haitashi's Avatar
Haitashi
Member
72 Posts
April 7th, 2008
07:37 PM
#5

Re: How does CFWINDOW work?
I'm trying to extend PHP functionalities. I think that Adobe really hit the nail on the head when they decided to include libraries in CF8 that would allow users to create simple, yet effective, calls to elements like CFWINDOW. I can't tell you how much better is CFWINDOW than trying to implement random Lightboxes from around the web.

What I'm trying to do is to get something like that work for PHP. If I do, I will post it the appropriate forum. I'm hoping that it will get enough support that it can be implemented with the language. I really like Coldfusion but I'm sure PHP developers will appreciate a little progress on their language.

Reply
acoder's Avatar
acoder
Site Moderator
10,173 Posts
April 8th, 2008
10:23 AM
#6

Re: How does CFWINDOW work?
I'm sure they will (or at least some will!).

Would you be calling it PHPWindow?

I don't think PHP has gone down the route of creating client-side objects yet (at least not officially), but if they do, they'll probably choose a very lightweight library. Maybe you can set the ball rolling. Good luck!

Reply
Reply
Not the answer you were looking for? Post your question . . .
174,849 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Top Coldfusion Forum Contributors