Skip to main content
Participating Frequently
January 17, 2010
Question

Coldfusion 9 and Ext JS 3.1 license

  • January 17, 2010
  • 2 replies
  • 3237 views

Can anyone tell me that i can upgrade CF9 ext js 3.0 to  ExtJS3.1 without buying license ?

I would really appreciate your help.

-Siddiq

    This topic has been closed for replies.

    2 replies

    Participating Frequently
    May 2, 2010

    Does anyone have an answer to this question?

    Are we permitted to download the latest EXTJS library (currently version 3.2) and use it under Adobe's OEM license (as we are with EXT 3.0 if using CF9)?

    SiddiqAuthor
    Participating Frequently
    May 7, 2010

    under Adobe's OEM license we can only use extjs 3.0. thats what i found out

    Participating Frequently
    June 7, 2010

    Who exactly told you that you are not able to use 3.2?

    Mark

    BKBK
    Community Expert
    Community Expert
    January 17, 2010

    Coldfusion 9, like Ext JS 3.1, has just been launched. I should be patient and first gain experience with CF9 & Ext JS 3.0.

    However, if you're still itching to go, don't let anyone stop you. Ext JS 3.1 comes with two types of license: a commercial(support) license and an open source GNU General Public License. You should therefore download the 'Ext JS 3.1.0 Public Release'. Be warned that you won't get any assistance if things go doink.

    As to the question of upgrading Coldfusion 9's Ext version from 3.0 to 3.1, I would say, emphatically, don't! Leave Coldfusion 9's Ext library alone.

    The people who make Coldfusion usually integrate external libraries into it in a tight fit. You run the risk of tearing something, if you attempt to re-tailor Coldfusion yourself.

    There are other possibilities, though. Wherever you need Ext JS 3.1 in your application, you can just import it as you would any other Javascript library, using <script src="path_under_web_root_to_extFile.js">.

    An example to illustrate. I downloaded the public-license version and extracted the ZIP file into the directory, C:\ColdFusion9\wwwroot\scripts\extJS31\, which I had created earlier. To test, I borrowed the 'Advanced Example' from danvega.org

    <!--- Example borrowed from http://www.danvega.org/blog/index.cfm/2008/1/6/Ext-Window-Example --->


    <cfsavecontent variable="htmlcontent">
    <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas ante lectus, mollis eget, rutrum sit amet, venenatis quis, quam. Sed posuere massa et leo. Ut sodales arcu at nulla. Cras tempus sagittis ligula. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aliquam ante urna, vehicula eu, scelerisque ac, aliquam ac, magna. Etiam quis pede at est eleifend dapibus. Integer tristique, tellus sit amet malesuada iaculis, justo urna cursus nisl, a convallis lacus risus eget orci. Etiam elit arcu, pulvinar id, mollis in, mollis in, nibh. Quisque tincidunt. Proin dapibus tellus non nulla. Integer et metus. Praesent viverra, sapien id blandit tempor, est orci viverra diam, in molestie enim eros sed diam. Quisque dolor enim, fermentum sed, egestas eu, semper eget, sapien. Donec in diam. Morbi cursus gravida est. Donec eleifend metus eu purus. Nam mattis nisl ac lorem.</p>
    <br /><br />
    <p>Nam venenatis, pede vitae commodo tristique, eros diam rhoncus ante, ut porta dolor pede fringilla magna. Proin pretium euismod massa. Integer at dolor. In mollis risus sed arcu. Vestibulum tortor est, lobortis non, imperdiet a, mollis eget, libero. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Vivamus vel sapien. Ut facilisis convallis purus. Nulla facilisi. Quisque non lectus sit amet quam facilisis pharetra. Etiam dolor enim, auctor venenatis, dignissim a, scelerisque feugiat, erat. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
    <br /><br />
    <p>Etiam varius eros eu arcu egestas fringilla. Fusce dignissim lorem at felis. Aenean aliquet, tellus in adipiscing laoreet, elit nisl eleifend dui, et interdum turpis leo nec felis. Mauris at arcu vel ante ornare elementum. Ut vehicula arcu sed ligula. Vivamus sollicitudin dui. Nunc nec quam vel tortor molestie rutrum. Suspendisse quis eros ac elit luctus convallis. Cras malesuada. Cras ac orci.</p>  
    </cfsavecontent>

    <html>
    <head>
       <title>My Window Example</title>
       <!-- extjs includes -->
       <script type="text/javascript" language="javascript" src="/scripts/extJS31/adapter/ext/ext-base.js"></script>
       <script type="text/javascript" language="javascript" src="/scripts/extJS31/ext-all.js"></script>
       <link href="/scripts/extJS31/resources/css/ext-all.css" type="text/css" rel="stylesheet"/>
      
       <script type="text/javascript" language="javascript">
       <cfoutput>#toScript(htmlcontent,"html")#</cfoutput>
       function showWindow() {  
          var win = new Ext.Window({
             width:400,
             height:200,
             title:"Ext Window Example",
             autoScroll:true,
             modal:true,
             html:html,
             animateTarget:"btnHello"
          });
          win.show();
       }  
       </script>
    </head>

    <body>

       <div style="padding:20px;">
          <input type="button" id="btnHello" value="Open My Window" onclick="showWindow();">
       </div>
      
    </body>
    </html>


    SiddiqAuthor
    Participating Frequently
    January 17, 2010

    Thanks for your reponse. i am planning

    to use it as a seperate core library, not planing to replace the exiting extJS3.0.

    My question was that the open source licence is applicable if i am using it for open source projects, so can i use it with CF9 for commercial project ?

    Thanks

    SiddiqAuthor
    Participating Frequently
    January 17, 2010

    Planning to build a portal application like Web Desktop example showed on the site and another reason is that in 3.1 seems fixed the memory leaks on IE browsers.