Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User
    Join Date
    Aug 2007
    Posts
    18
    Vote Rating
    0
    sberringer is on a distinguished road

      0  

    Default [CLOSED][3.0.0]Examples using code-display.js broken

    Anybody know how to get to the source for this example. I tried on both IE and FF and it's a no show. IE throws a js error, FF just keeps spining the loading icon.

    http://www.extjs.com/deploy/dev/exam...form-grid.html

    thanks

  2. #2
    Sencha User VinylFox's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,501
    Vote Rating
    8
    VinylFox will become famous soon enough VinylFox will become famous soon enough

      0  

    Default

    There is a bug in that example.

    Here is the source file your looking for: form-grid.js

  3. #3
    Sencha User VinylFox's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,501
    Vote Rating
    8
    VinylFox will become famous soon enough VinylFox will become famous soon enough

      0  

    Default

    The form-grid example uses createCodePanel from shared/code-display.js, which appears to be using outdated ext-basex code thats not compatible with 3.x.

    Should we fix this, or get rid of this feature?

  4. #4
    Sencha - Services Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,964
    Vote Rating
    11
    hendricd will become famous soon enough hendricd will become famous soon enough

      0  

    Default

    nah, just use the latest ext-basex. It is 3.0 compat
    "be dom-ready..."
    Doug Hendricks

    Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.


    Got Sencha licensing questions? Find out more here.


  5. #5
    Sencha User VinylFox's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,501
    Vote Rating
    8
    VinylFox will become famous soon enough VinylFox will become famous soon enough

      0  

    Default

    Unfortunately, I have never used ext-basex, so im unsure what to change to fix this (im totally clueless). Could you provide a fix for me to implement?

  6. #6
    Sencha - Services Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,964
    Vote Rating
    11
    hendricd will become famous soon enough hendricd will become famous soon enough

      0  

    Default

    Quote Originally Posted by VinylFox View Post
    Unfortunately, I have never used ext-basex, so im unsure what to change to fix this (im totally clueless). Could you provide a fix for me to implement?
    Simple substitution/include of this:
    HTML Code:
    <head>
      <script type="text/javascript" src="ux/ext-basex.js"></script>
    "be dom-ready..."
    Doug Hendricks

    Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.


    Got Sencha licensing questions? Find out more here.


  7. #7
    Sencha User VinylFox's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,501
    Vote Rating
    8
    VinylFox will become famous soon enough VinylFox will become famous soon enough

      0  

    Default

    Ok, I guess you haven't actually looked at code-display.js, because it only contains a subset of your ext-basex code. Thats why I was asking. Obviously I know how to include a file.

  8. #8
    Sencha - Services Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,964
    Vote Rating
    11
    hendricd will become famous soon enough hendricd will become famous soon enough

      0  

    Default

    Ah, just looked at it.

    They just pasted it all in there. Won't work for 3.0 because of all the lib.Ajax privates.

    Just remove the patch from code-display.js and

    a) include the entire ext-basex.js in the page somewhere, and set:

    Code:
    Ext.lib.Ajax.forceActiveX = (document.location.protocol == 'file:');
    somewhere as well.

    or

    b) just forget about local file system access.
    "be dom-ready..."
    Doug Hendricks

    Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.


    Got Sencha licensing questions? Find out more here.


Thread Participants: 2