Results 1 to 6 of 6

Thread: [CLOSED]Ext.Application broke (bug in Viewport)

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member gevik's Avatar
    Join Date
    May 2009
    Location
    The Netharlands
    Posts
    274

    Default [CLOSED]Ext.Application broke (bug in Viewport)

    When running the provided example I get a TypeError from Ext.Application
    I think the Viewport is missing the init method (static?)

    TypeError: Ext.Viewport.init is not a function

    Code:
    new Ext.Application({
        name: 'MyApp',
    
        launch: function() {
            this.viewport = new Ext.Panel({
                fullscreen: true,
    
                id    : 'mainPanel',
                layout: 'card',
                items : [
                    {
                        html: 'Welcome to My App!'
                    }
                ]
            });
        }
    });

  2. #2

    Default

    Just curious as to why this is marked as closed? the issue still seems to exist as of Beta 1 released today.

  3. #3
    Sencha Premium Member
    Join Date
    Feb 2009
    Posts
    317

    Default

    Definitely still an issue as of beta 1 - I'm looking at that exact error message right now.

  4. #4

    Default Same issue exists in Beta 2

    I am using beta 2 and it seems the issue is still not resolved! Does anybody know how to use the Ext.Application effectively?

  5. #5
    Sencha Premium Member steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,675

    Default

    from what i heard this will be solved with beta3, as Ext.Application is part of the MVC package.
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

  6. #6
    Sencha User tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,751

    Default

    i ran into this one too with beta2.

    Code:
    autoInitViewport: false
    helps to prevent the bug, but the app won't launch yet.


    best regards
    tobiu
    Best regards
    Tobias Uhlig

Similar Threads

  1. Ext.Application and Ext.Viewport
    By jeffremer in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 14 Dec 2010, 10:40 AM
  2. [CLOSED-618] 1.0.1 broke bottom toolbar when scrolling
    By profunctional in forum Sencha Touch 1.x: Bugs
    Replies: 5
    Last Post: 1 Dec 2010, 11:07 AM
  3. [CLOSED][3.1.1+] TreeNode Reorder via D&D is broke
    By Lloyd K in forum Ext 3.x: Bugs
    Replies: 4
    Last Post: 3 Mar 2010, 12:59 PM
  4. adding pagination bar broke application
    By tunaboo in forum Ext 2.x: Help & Discussion
    Replies: 14
    Last Post: 23 Jan 2008, 5:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •