How does CFWINDOW work?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Haitashi
    New Member
    • Jun 2007
    • 96

    How does CFWINDOW work?

    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!
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    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.

    Comment

    • Haitashi
      New Member
      • Jun 2007
      • 96

      #3
      Great! I'll check it out - thanks!

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        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.

        Comment

        • Haitashi
          New Member
          • Jun 2007
          • 96

          #5
          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.

          Comment

          • acoder
            Recognized Expert MVP
            • Nov 2006
            • 16032

            #6
            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!

            Comment

            Working...