qh1a6jo1t

advice needed, existing prototype/scriptaculous app

  • I have an existing app that uses prototype 1.6 and scriptaculous. I can't get rid of these right away, so I need to co-exist with Ext.

    I am including the following javascripts in this order

    ext/adapter/ext/ext-base.js
    ext/ext-all.js
    ext/examples/portal/Portal.js
    ext/examples/portal/PortalColumn.js
    ext/examples/portal/Portlet.js
    prototype.js
    scriptaculous.js

    Questions...
    - is the order right
    - is the adapter right? what is this adapter stuff anyway?
    - when I build my own ext package using the slick as snot build tool, do I replace both ext-base.js and ext-all.js?


    thanks much!


  • if you are using prototype (i'm not too sure if EXT is prototype 1.6 compliant), you want to include that first.

    Generally, you want to use what is in the adapter/prototype folder, this will guarantee compatibility.

    ... base libs
    ext/adapter/prototype/prototype.js
    ext/adapter/prototype/scriptaculous.js
    ext/adapter/prototype/ext-prototype-adapter.js
    ext/ext-all.js

    ... external/user/etc
    ext/examples/portal/Portal.js
    ext/examples/portal/PortalColumn.js
    ext/examples/portal/Portlet.js


    Also, if you build your ext w/ the web app, you need to replace ext-all.js with your custom version.


  • another great answer, will use the prototype that ships with ext now







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about advice needed, existing prototype/scriptaculous app , Please add it free.
    xn--qh1a6jo1t.com @ January 7, 2009 edit