Results 1 to 10 of 13

Thread: Framework css class missing

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha Premium User
    Join Date
    Jun 2012
    Posts
    210
    Vote Rating
    3
      0  

    Default Framework css class missing

    The Ext.js css class 'x-form-file-input' is missing in my App-all.css file.
    It's used e.g. by Ext.form.field.FileButton. How can I get it back properly?

    I'm using Ext.js 4.2.1 and Cmd 4.0

  2. #2
    Sencha - Documentation Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,162
    Vote Rating
    253
      0  

    Default

    If you run your application in dev (not just load, but run through the paces) do you get any warnings in the console mentioning that classes were loaded synchronously?

  3. #3
    Sencha Premium User
    Join Date
    Jun 2012
    Posts
    210
    Vote Rating
    3
      0  

    Default

    I did and added these classes to Application.js, though I still can't require Ext.data.Store for some reason.
    It says it's an unrecognized class name when adding it to the requires-property.

    Loading these classes on startup didn't help with the missing css class. I even added Ext.form.field.FileButton to the initial load.

    Thanks

  4. #4
    Sencha - Documentation Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,162
    Vote Rating
    253
      0  

    Default

    Was the app generated by "sencha generate app"?

  5. #5
    Sencha Premium User
    Join Date
    Jun 2012
    Posts
    210
    Vote Rating
    3
      0  

    Default

    Yes

  6. #6
    Sencha - Documentation Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,162
    Vote Rating
    253
      0  

    Default

    Was the app generated with Cmd 4 or from a previous version of Cmd and then upgraded?

Posting Permissions

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