1. #1
    Sencha User
    Join Date
    Dec 2011
    Location
    Brazil
    Posts
    106
    Vote Rating
    0
    Perdiga is an unknown quantity at this point

      0  

    Default Unanswered: [pr4] ListItem

    Unanswered: [pr4] ListItem


    in pr3 i was using the extend: 'Ext.dataview.ListItem', now in pr4 what should i use?

    error in pr4
    Code:
    Error: [Ext.Loader] Failed loading './dataview/ListItem.js', please verify that the file exists

  2. #2
    Sencha User
    Join Date
    Jul 2011
    Posts
    15
    Vote Rating
    0
    Nikkelmann is on a distinguished road

      0  

    Default Kinda same error

    Kinda same error


    I'm getting kinda the same error:
    Code:
    Error: [Ext.Loader] Failed loading './dataview/ComponentView.js', please verify that the file exists
    I extend 'Ext.dataview.List'.

    I'm using the sencha-touch-all-debug-w-comments.js file.

  3. #3
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Answers
    93
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    You should:

    - Extend Ext.DataView
    - set useComponents to true
    - Extend Ext.dataview.component.DataItem and set that component as the defaultType in your DataView.
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

  4. #4
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,361
    Answers
    102
    Vote Rating
    81
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Quote Originally Posted by Nikkelmann View Post
    I'm getting kinda the same error:
    Code:
    Error: [Ext.Loader] Failed loading './dataview/ComponentView.js', please verify that the file exists
    I extend 'Ext.dataview.List'.

    I'm using the sencha-touch-all-debug-w-comments.js file.
    I would use the sencha-touch-all-debug.js file over the -w-comments version. it's much lighter weight and your debug tool will behave better.